Custom Pagination
-
Hey Guys,
I currently have a site utilising custom pagination for custom posts. I have a set number of posts per page and although I am able to traverse one page ahead or behind I am unsure as to how I can traverse 2 pages ahead or behind. I’m using the function get_next_posts_page_link() to traverse to the next page. Is there anyway I can use this function to go 2 posts of pages ahead? something like get_nex_posts_page_link(3) to get to page three. I have tried using the paginate links function which automatically generates links but due to how the themes css file is designed I am unable to use this function.
Any help will be greatly appreciated. I can provide more detail on my code on request.
Thanks 🙂
The topic ‘Custom Pagination’ is closed to new replies.