Forums › Forums › Search & Filter Pro › Filter stops working after first use
Tagged: pods
- This topic has 7 replies, 2 voices, and was last updated 6 years, 9 months ago by
Anonymous.
-
Trevor(Private) January 8, 2019 at 12:30 pm #198299
Regarding #1.
Assuming that the search field is within a Search & Filter form, our plugin does not directly allow you to do text searches of individual Post Meta (custom fields) and Taxonomy data/terms. The Search & Filter Pro Text Search field uses the standard WordPress search, so looks only in the Post Title and Content. To help you control this better, on the form’s Advanced settings tab you will see 2 settings for Relevanssi.
The documentation for this is here:
https://www.designsandcode.com/documentation/search-filter-pro/3rd-party/relevanssi/
You would need to install and activate the free Relevanssi plugin as well.
Then set it up (in your case set up the Custom Field part) and build its index (make sure it is indexing the desired post types AND the taxonomies/custom fields that you want to search).
Regarding #2 and 3. Are you able to send me a live link/URL to your search page so I can take a look?
Please note, there are some advanced features of PODS that we do not support.
Anonymous(Private) January 8, 2019 at 1:09 pm #198320Hi Trevor
Thanks for the speedy response. I’ll take a look Relevanssi as you suggest.
Here is the page that I’m using the filter on:
http://strmr.co.za/southern-african-streamer-directory/Here is the custom archive page as well:
http://strmr.co.za/streamer/Please let me know if you need anything else.
Thank you
Roxane LapaTrevor(Private) January 8, 2019 at 2:22 pm #198349Hi
With regard to the OP, #2.
As you are using your own template, archive-streamer.php, you have an IF starting on line 8 and ending on line 25.
Instead of just the endif, you need to add code for an else, to display a no results found message (or whatever), or hire a coder to do that for you.
With regard to #3. Again, you would need to add code to that same template file to show the custom fields, or hire a coder to do that for you.
-
AuthorPosts