How to adjust slider window on custom Content Query pagination? #5582
-
Hi, I have a custom Content Query that I am using the ->paginate() method on..
I'm then generating the pagination data (which I copied from
And in my Antlers template...
This gives me the paginate so that I can use it in the same way as in your Collection Example...
All working fine, I can either do My question is that the default slider window is 10, is there any way I can adjust it down? I found this discussion #5001 but I think that I've tried setting Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Instead of doing $paginator->onEachSide(3); |
Beta Was this translation helpful? Give feedback.
Instead of doing
$paginator->onEachSide = 3
, you should use the method: