Looking for support? You can access the support system via your account.
- This topic has 10 replies, 2 voices, and was last updated 3 years, 1 month ago by .
The topic ‘Search only recipe ingredients on a post’ is closed to new replies.
Looking for support? You can access the support system via your account.
Forums › Forums › Search & Filter Pro › Search only recipe ingredients on a post
Tagged: recipe ingredients, recipe results
Before we changed over to a new site a couple of weeks ago, we were using Search & Filter pro for the last 4 years under our previous developer’s license key. I’ve since bought my own and hired a new developer.
We have both content and recipes in every blog post on our site. Search & Filter Pro used to be able to pick up posts that have specific ingredients (eg. Cheese) when someone searched our recipes. Right now it’s returning everything in a post with the word cheese in it. Both the content and recipe.
We only want Search & Filter to return results with cheese as an ingredient. How do we do this?
Here is my current developer and she made a video to demonstrate what we’re trying to achieve.
https://share.getcloudapp.com/NQuJRd7O
Here’s an example of what our blog posts and recipes looks like:
https://cleanfooddirtygirl.com/why-people-batch-cook-black-eyed-pea-stew/
Are you using the Relevanssi plugin? If not, it may help you control the search better. On the form’s Advanced settings tab you will see 2 settings for Relevanssi (one of which is Relevance).
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 Relevanssi up and build its index (make sure it is indexing the desired post types, content, custom fields AND any taxonomy that you want to search).
It may be necessary to tell it not to search content, excerpts and title. However, be warned that doing this will limit general site searches. Relevanssi does also have filters (hooks) to allow further control, from the child theme functions.php file.
At this time, Search & Filter does not give you a mechanism to add a search field that searches a specific term/data source, although I think it is something we plan to add at some point (but maybe not soon).
Trevor, Thank you for this response. This was helpful
The topic ‘Search only recipe ingredients on a post’ is closed to new replies.
© 2024 Search & Filter Support. All Rights Reserved.
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
We also use cookies to store items in your cart as well as allowing your to login on the site.
You can adjust all of your cookie settings by navigating the tabs on the left hand side.
By continuing to use this site, you also agree to our Privacy Policy.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
*Other cookies used for logging in and cart functions will only be used when you use those features and cannot be disabled.
If you disable these cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
More information about our Cookie Policy