Forums › Forums › Search & Filter Pro › Searching custom post types
- This topic has 3 replies, 2 voices, and was last updated 10 years, 8 months ago by
Ross.
-
Anonymous(Private) February 23, 2016 at 9:14 pm #37783
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!
Ross Moderator(Private) February 25, 2016 at 10:55 am #37925Hey 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
Ross Moderator(Private) March 2, 2016 at 9:41 am #38430No 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=searchtermin the URL.So when speaking to them, test using default WP search:
yourdomain.com/?s=searchtermOnce this is working, we can integrate with S&F.
Thanks
-
AuthorPosts