change Items per page dynamically

Post Reply
arfa
Master Bludit
Posts: 163
Joined: Tue Jul 04, 2017 4:31 am
Location: New Zealand
Has thanked: 13 times
Been thanked: 27 times

Is there anyway to reset 'Items per page' as the page is written? Using pagination I have one setup for the first load of posts writing 5 items. The second load I would like to write 6 items on the page.

Any leads would be appreciated. thx - Kusalo
User avatar
Edi
Site Admin
Posts: 3097
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 74 times
Been thanked: 108 times
Contact:

I think that this has to be hard coded.
aufbruch1900.ch, Plattform zu Kunst und Kultur um 1900
arfa
Master Bludit
Posts: 163
Joined: Tue Jul 04, 2017 4:31 am
Location: New Zealand
Has thanked: 13 times
Been thanked: 27 times

Thanks Edi. Yes, I was imagining to code on the home.php page but am not sure what the code would be. I have checked documentation but didn't see any thing.

Is there a {?} key or hook into 'items per page'?

cheers - Kusalo
arfa
Master Bludit
Posts: 163
Joined: Tue Jul 04, 2017 4:31 am
Location: New Zealand
Has thanked: 13 times
Been thanked: 27 times

has to be hard coded.
Where?

Or did you mean set in admin?

- ak
Post Reply