Forums › Forums › Search & Filter Pro › Pagination?
Tagged: pagination
- This topic has 16 replies, 3 voices, and was last updated 5 years, 10 months ago by Ross.
-
Ross Moderator(Private) January 30, 2019 at 6:32 pm #200659
Hi Roxane
I’m keen to get this working ๐
I’ll be back on this ticket tomorrow as I ran out of time today.
Lets see if we can make some good progress!
Thanks
Ross Moderator(Private) January 31, 2019 at 9:15 pm #200828Hi Roxane
I’ve just got everything setup the way you have it I think (I’ve not used PODS extensively before)… so now time to debug whats going on and see if I can find a solution.
Will update later hopefully if not it will be tomorrow.
Thanks
Ross Moderator(Private) February 1, 2019 at 2:20 pm #200909Thanks Roxane, however its much easier to develop locally once setup so am going down that road for now ๐
Ross Moderator(Private) February 1, 2019 at 7:38 pm #200990Hi Roxane
Ok so I think I’ve figured out the issue ๐
(I hope I get this right as I’m also learning PODS as I go along…)
First, you have your streamer page built with a PODS template:
https://www.strmr.co.za/southern-african-streamer-directory/Then you have a S&F results page which is different entirely – https://www.strmr.co.za/streamers-filtered/
This is built using a standard WP loop (but you do use pods in the loop itself)…
So the issue you are having I think is quite simple, your results page doesn’t have any pagination code on it.
This always needs to in a results template…
So what I would do is, edit
search-pods.php
, outside yourhave_posts
loop add pagination:the_posts_pagination();
There are numerous types. S&F doesn’t actually add pagination, but lets you choose, “what you are using” already.. if that makes sense – and then we hook in to that.
So, adding this code in to your template should allow it to work.
Check the WP docs on various pagination options – https://codex.wordpress.org/Pagination
—
Now, that being said (and I hope resolved), I don’t particularly like this integration.
I would like it so that when you filter S&F, it filters the PODS template itself, without the redirect or change in URL.
That would be nice! Sooo, I’m going to start looking into a better integration over the next few weeks to see if its not too hard to achieve ๐
Anyway, I hope all that makes sense, and will get you up and running.
Thanks
-
AuthorPosts