Home Forums Space themes support forum Customizing the Search Function for Custom Post Types and Pages

Customizing the Search Function for Custom Post Types and Pages

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #507659

    dm
    Participant

    Hello,

    I use the Relevanssi plugin for search with your Mars theme on my site, the ajax function is enabled in searches.

    By default your theme can only search post, product and xts-portfolio post types. However, Relevanssi also has the ability to search in page content and custom post types.

    Can I somehow change your theme’s search function to be enabled in post, page, product, xts-portfolio, glossary post types?

    #508190

    dm
    Participant

    Can you help me?

    #508565

    Luke Nielsen
    Keymaster

    Hello,

    Sorry for the delay.

    For now, unfortunately, there is no option in Theme Settings available for that.

    But I will send your suggestion to the team so they consider it.

    Kind Regards

    #508571

    dm
    Participant

    I know there is no option for this in the theme settings, but isn’t there a way to do it through the functions.php file?

    #508576

    Luke Nielsen
    Keymaster

    Hello,

    Unfortunately, there is no right way to customize it via a child theme, sorry.

    Let me know if you have any questions, I’d be happy to answer them.

    Kind Regards

Viewing 5 posts - 1 through 5 (of 5 total)