Index pagination shows every page as page 1
-
I am having an issue with pagination on my index page – I’ve done quite a bit of modification so I’ve probably messed something up and can’t figure out what. Now, whenever I click ‘next’ I am taken to the next page URL (/page/2/) but it shows the content from my index page. My categories are working fine, it’s just the homepage that’s an issue. Does anyone have any experience with this?
I haven’t touched this section, but I assume it has something to do with this bit of code?
<div class="navigation"> <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } else { ?> <div class="right"><?php next_posts_link('Next Page »') ?></div> <div class="left"><?php previous_posts_link('« Previous Page') ?></div> <?php } ?> </div>
Any help would be appreciated. If relevant, the site is at https://techettes.com.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Index pagination shows every page as page 1’ is closed to new replies.