Forums Forums Search & Filter Pro Using a Shortcode Search Box

Viewing 10 posts - 1 through 10 (of 10 total)
  • Anonymous
    #152469

    When choosing “Display results method: Using a Shortcode”, custom post type can not be searched in the search box on my site.
    How can I search for custom post type using Using a Shortcode?

    Trevor
    #152493
    This reply has been marked as private.
    Anonymous
    #152504
    This reply has been marked as private.
    Trevor
    #152506
    This reply has been marked as private.
    Anonymous
    #152565
    This reply has been marked as private.
    Trevor
    #152571

    I am working on it now. All these must be OFF:

    https://screenshots.firefox.com/8kD7wGCaFDFROAi2/toryapps.net

    They were on, I have now switched them off. The relevanssi settings (the first 2, are ONLY if you have the free Relevanssi plugin installed and the index built).

    On this page, it is best to have Maintain Search Form State OFF:

    https://screenshots.firefox.com/JLBSadGFYwTKMEto/toryapps.net

    I have done this for you.

    Does this work now?

    Anonymous
    #152591
    Trevor
    #152604

    I removed the form from the content as you have it in the sidebar already.

    Something, maybe a plugin, must be interfering with the query, maybe though pre_get_posts()

    are you able to deactivate all plugins except the ones needed (S&F, CPT UI ..)? And test that?

    Anonymous
    #152617

    I tried invalidating except the necessary plug-in, but the result did not change.
    Since it seems that you can search without problems if posted, I would like to give up searching for custom posts. Thank you.

    Trevor
    #152620

    It should work. I do it fine, so I do not see what the problem can be. With the shortcode method, especially with the standard results.php (not edited), there is very little to go wrong.

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