Forums › Forums › Search & Filter Pro › Showing 'Sorry, no results were found.' for any filtering
- This topic has 5 replies, 2 voices, and was last updated 8 years, 10 months ago by
Ross.
-
Anonymous(Private) May 26, 2016 at 4:44 pm #46821
Using S&F Pro, along with CPT UI to list/filter businesses within a ‘business’ cpt.
Was working till recently, and now it just shows ‘Sorry, no results were found.’.
Wondering if its due to the recent WP update?Dev Site is:
http://slia.wpengine.com/business/Ross Moderator(Private) May 26, 2016 at 4:45 pm #46822Did you have a lot of results? Roughly how many posts are you searching?
Anonymous(Private) May 26, 2016 at 4:56 pm #46824Ok update:
I got the listings to show. Had to switch the “Display results method” from archive to Custom. No idea why that had to change as it was working before…
We only have 41 of them, so it should be an easy filter.
But now the filtering doesn’t seem to work….
Just refreshes the list….
Ross Moderator(Private) May 26, 2016 at 5:43 pm #46835Very strange indeed as custom should not work without custom implementation to a certain query – anyway, glad you are back up and running.
Thanks
Ross Moderator(Private) June 7, 2016 at 10:28 am #47676Hi Daniel
Sorry for the delay.
The reason the results are not updating is because you switched from archive to custom.
When using custom, you have to tell S&F which query on which page to “hook” onto and filter.
The reason archive method may have stopped working is because of some update to WP or your theme itself (I’m thinking the template file used to show this page).
To get around this then we will need to hook S&f into the query on that page – would you be able to identify the php template in your theme that is being used to display this page?
If so, I can provide next steps to get the search working again.
Thanks
-
AuthorPosts