I’m creating a theme but for some reason I cannot get even the basic next previous links to work in my pages.
I have created a page template called page1 so my page url is http://www.websitename/page1 but when I add
<div class="page-navigation"><p><?php posts_nav_link(); ?></p></div>it does show up the right amount of pages there should be but when I click on next it doesnt show the next set of blog entries.
I do have a php query post on that page if that means anything but just need this solving and I know this will be very very simple to acheive but I just can’t figure it out.
Thankyou for any help.
- The topic ‘how do I add pagination into my theme?’ is closed to new replies.