I am trying to:
Add pagination to search/results pages. I´m pretty sure it used to work, but I must have done something. Tried several things, to no avail. Now it is not even showing up on the front end.
Link to a page where the issue can be seen: hidden link hidden link
The site is in staging phase; I can provide login credentials for you guys to see.
I expected to see:
Previous/next buttons linking to a next page.
I think you added the pagination to the wrong editor, in the View/Archive that you use there.
Can you ensure that the Pagination is inserted either in the Loop Editor (but outside the loop) or in the Filter Editor?
It should not be in the Layout editor at the bottom of the View!
If that is the case already, then could you try this:
- create a new simple view with the same Post queried
- add the same query filters
- add a simple loop
- add pagination
If this works, then the issue is with that View/Archive only, and could be determined by disabling piece by piece sections of the View, such as remove additional HTML/CSS/JS, queries and other content, until it works again.
That will then tell what exactly breaks the features.
You can easily duplicate Views in the Views' list!
That can save you the time of "recreating" something over and over.
As well, if that helps nothing, it'd be needed to test the with no other plugin or theme but Toolset/Native WordPress Themes, before we could proceed in a deeper debug process.
I suggest backing up your site before you do such steps, even if no data will be lost usually.