Forums
(@mjepson)
14 years, 5 months ago
@maxcoder – I don’t think that bug relates to this problem, as mine is ONLY in conjuction with using static page as home page. It works fine without that.
If I add cat=& to the query, the page shows, but pagination doesn’t work…
cat=&
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=&paged=$paged"); ?>
If I echo $paged on /?paged=2 it simply outputs 1
15 years ago
This is my mistake and not a WP bug… I just had an brainfart…
The $GLOBALS[‘shownposts’] is not set on page 2 … no wonder the posts show ??