I know there’s other bases that already have a grid, but I want do it this way.
So I looked around and I’m trying to uses this as a base
http://www.developphp.com/page.php?id=396
Problem I have is what to use as the values for the rows and columns. I am going to look it up in the WP database files, but I also wanted to check the definition of the has_post function, expecting to see familiar php code like SELECT statements and if $somevariable < 1, then false, but instead all I see is
function have_posts() {
global $wp_query;
return $wp_query->have_posts();
}
so uh, help please? how does the have_posts function actually work?
EDIT
This post has been reformatted by enclosing the code block in 3 backticks
```
on their own lines.