I have successfully managed to direct posts from particular categories to specific pages. However, I intend to write long excerpts in these posts, and I would like to be able to split them up, preferably through pagination. I have read that it’s not possible to do on Pages, but many of those posts are dated 6+ years ago.
Ideally, I would like to be able to have multiple posts from multiple categories on one page (which I already have), with each post being able to be split up into multiple pages. One, is this possible? Two, how can I rewrite my code to do it?
Here is my current code for the custom page template:
I am not a very savvy coder, so I am sure there is a better way to write what I have. I’m assuming I am not writing the code properly, or have something in my current code that is stopping me from effectively using pagination. (I would prefer not to use a plugin, if possible.)
Does anyone have any fixes that might work for me?
- The topic ‘Pagination for Posts on Custom Page Template’ is closed to new replies.