Missing "Older posts"/"Newer posts" navigation links at bottom of page
have you asked the theme author/seller – this seems to be a commercial theme, and contacting the seller should be the first thing to do if you have problems.
without the free access to all theme fles, there is not much this forum can help.
try to find the code for the page navi in the template for the front page (index.php ?)
Yes, I started there first and they determined the problem to be unrelated to the theme because when deactivated the same problem occurs. I’ve sought help from my web host but they are not versed in WP. I’m at a loss for where to go now.
because when deactivated the same problem occurs
does this mean, you have switched themes to Twenty Eleven, and only the ‘newer posts’ link appears – no ‘older posts’ link?
if the problem is not theme related, it might be caused by a plugin;
try and deactivate all plugins to see if that solves the problem;
then re-activate one plugin at a time to find out which one is causing the problem.
you could also try to find the code of the links;
possibly in index.php (difficult to tell without access to your theme files) somewhere after the ‘endwhile’ of the loop; something like:
<p id="adjacent-posts-links" class="sc content-bg"> <span class="prev-post-link-wrap"><?php ??? ?></span> <span class="next-post-link-wrap"><?php ??? ?></span> </p>
Yes, switched themes no luck, deactivated plugins with no luck. This is the response from research done by ProPhoto (developer of the theme I use):
There’s something happening wrong with a basic part of the WordPress initiation process, where it counts the number of posts that are in the database. Your site keeps returning 0.
Can you contact your web-host tech support and have them help you? Tell them the problem is occurring no matter what WordPress theme. Tell them that the relevant script portion is in a file:
at approximately lines 2654 and following. In that chunk of code WordPress counts the number of posts and sets up two variables:
the first one, in your case is returning 0, even though you have many posts. The actual database query is:
SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_type = ‘post’ AND (wp_posts.post_status = ‘publish’ OR wp_posts.post_status = ‘private’) ORDER BY wp_posts.post_date DESC LIMIT 0, 5
Anyway, have them look into this, there’s something happening at the database/server level that they will need to sort out for you.
My problem now is that my host has supposedly reinstalled WP and checked the database and said everything is fine. Period. ProPhoto said that it has nothing to do with their software. I’m stuck between two providers that say it is not them and in the end have a website that won’t navigate past the first page.
Based on your site, it looks like you resolved the issue. How did you do it?
I am having a similar issue–the “older posts” link is missing on a category page after upgrading to WP 3.3.1.
Unfortunately it is patched not fixed just yet. I ended up having to hire a software engineer to work on it and come to find out he just did a code change within the files of ProPhoto. ProPhoto said that is really just a band-aid for the problem and as soon as the next update comes out it will become a problem all over again. ProPhoto seems to think it is a problem on the server but my host denies there is a problem there. I’m caught between the two. It looks like I might have to change hosts to truly resolve the issue. :/ What a pain!
Network Solutions is the host.
It ended up being a platform issue for us–we use Pagelines.
Interesting…can you elaborate? What is pagelines?
Since my issue was with a Category page, I had to add the “Post/Page Pagination” section back to the template for Category pages. I think this section was deactivated when I upgraded from the Platform Pro theme to the Pagelines Framework. The framework is similar to a theme, but provides some additional functionality which is why they give it a different name, I think.
- The topic ‘Missing "Older posts"/"Newer posts" navigation links at bottom of page’ is closed to new replies.