Blank Theme – Broken Pagination
-
I am using starkers html5 blank theme to build my own local website and my loop pagination is broken
On my main loop page I changed the pagination navigation using the plugin “wp-pagenavi” and my pagination has not worked, giving me the error: “Not Found
Apologies, but the page you requested could not be found. Perhaps searching will help.”I’ve tried going back to the original pagination code and scrapping the plugin. I’ve tried resetting permalinks. I also attempted to follow the WordPress advanced trouble shooting, but I don’t know enough about PHP to really know what I’m doing with it. Here is the pagination code for index.php:
<?php /* Display navigation to next/previous pages when applicable */ ?> <?php if ( $wp_query->max_num_pages > 1 ) : ?> <nav> <?php next_posts_link( __( '← Older posts', 'starkers' ) ); ?> <?php previous_posts_link( __('Newer posts →', 'starkers' ) ); ?> </nav> <?php endif; ?>
and here’s a link to my loop.php code
The navigation starts on line 129, but I did not want to neglect putting anything else that might be pertinent up. Any thoughts?
- The topic ‘Blank Theme – Broken Pagination’ is closed to new replies.