Possible pagination question
-
Hi everyone,
I’m using a child of twenty eleven. I have a custom post type called ‘trainer_profile’. It includes, as you may guess, information about personal trainers
I have a menu item called ‘Personal Trainers’ When selected, it goes to a page-trainer-profile which contains a query that returns the title and permalink to each individual ‘trainer_profile’.
My question is about what to do when the number of profiles exceeds the ‘posts per page’ figure. Currently I have no idea. Using ‘next_posts_link’ etc I can create next and previous arrows, but they go to archive.php.
What I want to do is redisplay page-trainer-profile’s styling, with the next 10 profile permalinks displayed.
I could use php or javascript to create a variable and use that to select what content to display, but I would image wordpress already has some functions that will do the same thing.
Can anyone advise me on this?
Thanks.
- The topic ‘Possible pagination question’ is closed to new replies.