Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.
Yes, this is an issue we’re aware of. To be perfectly honest, right now we don’t know how to fix it: one of the odd things about it is that it doesn’t seem to be an issue for the front page, only for archive pages.
The issue comes up because of the query in the loop.php file (lines 172-176 in Tarski 1.4). That code executes query_posts("paged=$paged"); in order to force is_paged() function to return true. This works great for the front page. However, if not all posts are being shown (when browsing a specific year, month, or category in the archives), this query can make wordpress think there are more posts than there really are. This makes the “Older entries” link show up.
The only reason for the additional query in loop.php is to make is_paged() return true. A simpler way to do this (at least in Wordpress 2.2), is to replace lines 172-176 with:
global $wp_query;
$wp_query->is_paged = true;
This triggers the paged action, while preserving all the filtering attributes of the current view. Would it be possible to get this change into the next version of Tarski?
Created an issue in the SVN repository
http://code.google.com/p/tarski/issues/detail?id=26&can=2
Wow, thanks liggitt, that’s wonderful. This bug has been irritating me ever since we added the page links, but unfortunately my PHP skills aren’t up to much and Chris never had a time to find a fix. Your help’s really appreciated; I’ll tweak the code and put the fix in trunk in the next day or so, hopefully tomorrow. We’re thinking about releasing a 1.4.1 version with the fixes and improvements we’ve made in trunk since 1.4 so maybe the fixing of this bug would be a good time to do that. Thanks again!
Ok, it’s fixed in trunk (r29). Thanks again.
I think we lost it when I moved things like that to a plugin. I’ll see if I can dig it up.
1 to 10 of 10