Forums › Forums › Search & Filter Pro › “No results found” on EN page, but search form working fine on FR
Tagged: no results found
- This topic has 7 replies, 2 voices, and was last updated 3 years, 11 months ago by Trevor.
-
Anonymous(Private) September 22, 2020 at 9:23 pm #260407
Hello,
We are using S & F Pro to display toolbox results here:
https://coco-net.org/toolbox/The corresponding French page has another Search for with equivalent settings, and shortcode results enabled, and it works fine. The English page displays no results on load or after a search query is entered.
Any ideas?Thanks,
Anonymous(Private) November 11, 2020 at 4:33 am #265925Hi Trevor,
Thanks for your suggestion.
I have followed the steps as described to translate the form. The EN form is [searchandfilter id=”49846″]
the FR one is
[searchandfilter id=”50313″]Now, neither the Fr toolbox page nor the EN one are displaying any results. Both say “no results found”.
What am I doing wrong here?
Trevor(Private) November 11, 2020 at 3:55 pm #266050You may need to remove the ‘includes’ you have set on the Tags, Categories & Taxonomies settings tab.
Categories apply to Posts, and by making the form include only results with these categories, no Portfolio Items will appear.
And then, you also have Portfolio Categories set with includes, which will mean no Posts will show as they apply only to Portfolio Items.
In general, it is not a good idea to search for more than one post type for this reason, unless you use custom fields that are commonly set for both post types, instead of taxonomies, which should only be used for one post type per taxonomy.
Anonymous(Private) November 13, 2020 at 1:44 am #266255Hi Trevor,
Thanks for that helpful reply.
Removing the “includes” categories worked, thanks !It is true that we should not be searching across different post types. We intend to transfer our tools to one or the other soon and make it clean across the board.
You can mark this as solved.
Best, -
AuthorPosts