Pagination problem – stumped
-
Hi,
On a page that I am developing (https://www.oxfordrescue.org/wp/adopt-a-ferret/available-ferrets/) I can’t figure out how to get the Next and Previous pagination links to work.
I’ve created my own template for this page. The top of the page is pulling in page content using the loop. Then, below that, I am using the following code to pull in posts from one specific category:
$postslist = get_posts('numberposts=10&order=DESC&category=5&orderby=date'); foreach ($postslist as $post) : setup_postdata($post);
It works great, I love the result, but unfortunately, standard pagination using next_posts_link and previous_posts_link does not work (nothing shows up at all). And I do definitely need pagination for this page.
I’d be grateful for any suggestions – let me know if I can provide any more details that will be helpful.
Kym
- The topic ‘Pagination problem – stumped’ is closed to new replies.