Searching custom post types

Forums › Forums › Search & Filter Pro › Searching custom post types

Viewing 4 posts – 1 through 4 (of 4 total)
  • Anonymous
    #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
    #37925

    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

    Anonymous
    #38424

    I have the relevanssi plugin installed and activated for my search but its not doing that but I’ll contact relevanssi and see what they say. Thanks for the guidance!

    Ross Moderator
    #38430

    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

Viewing 4 posts – 1 through 4 (of 4 total)

Search & Filter Support
Privacy Overview

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.