Forums › Forums › Search & Filter Pro › display posts from multiple items selected
Tagged: Dooplay Theme
- This topic has 92 replies, 3 voices, and was last updated 5 years, 6 months ago by
Ross.
-
Trevor(Private) August 28, 2020 at 11:23 am #257632
Ok. I think it all works now. For the main filters, this is the code. See how it checks the language?
<?php if (get_locale() == 'en_US') { echo do_shortcode( '[searchandfilter id="36959"]' ); do_action("search_filter_query_posts", 36959); } elseif (get_locale() == 'cs_CZ') { echo do_shortcode( '[searchandfilter id="35330"]' ); do_action("search_filter_query_posts", 35330); } ?>Here it is in the taxonomy.php file:
https://www.screencast.com/t/O452hjls8R
The reason the text search box did not work is that you had these settings ON in the form:
https://www.screencast.com/t/l6krcyuRmgc
I have switched them OFF for you. These settings are to be used only if you install and setup the Relevanssi plugin:
https://searchandfilter.com/documentation/3rd-party/relevanssi/
Trevor(Private) August 28, 2020 at 11:48 am #257640For that page to detect Tom Hanks, ‘cast’ must be a field in the form, even if you decide to hide it using CSS.
As to Relevanssi, you Install it, activate it, then setup what you want to search; post types, taxonomies, custom fields, save the settings, then build the relevanssi index, then you can enable it in our form.
-
AuthorPosts