- This topic has 3 replies, 2 voices, and was last updated 10 years, 1 month ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Searching custom post types
Hi,
I have different post types on my website and i wanted to know if it was possible to search in name of post types. For example, i have post types videos, podcasts, articles, courses etc on my website, I would like all the videos to show up if someone searches for ‘videos’. I know it is possible to use the post type checkbox or dropdown menu but I would like it if it works through the search text field as well. Is that possible ?
Thanks!
Hey Lenora
I think this might be possible with Relevanssi plugin. The Relevanssi plugin allows you to search tag and category names, so I think this may be possible too.
We have some integration steps lined out here:
https://www.designsandcode.com/documentation/search-filter-pro/3rd-party/relevanssi/
Thanks
No worries, to test things with Relevanssi, just remember that by default Relevanssi works with the main WP search, which in most themes is anything with the ?s=searchterm in the URL.
So when speaking to them, test using default WP search:
yourdomain.com/?s=searchterm
Once this is working, we can integrate with S&F.
Thanks