Help displaying different number of posts_per_page on page 1
-
I need help making the loop display 5 posts on the first page and then 6 on the subsequent pages. The code example I’ve added to pastebin enables me to style the latest post differently to the rest (this is important). I need to combine that (styling latest post differently) with the conditional post_per_page (5 on page 1 and 6 on page 2,3, 4 and so on…)
I’ve been trying for hours but to no avial – so I’m asking the community for help.
https://https://pastebin.com/zWZYWF0R
Thanks
Dan
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Help displaying different number of posts_per_page on page 1’ is closed to new replies.