Forums Forums Search & Filter Pro Using filter on search results page after getting results with native WP search

Viewing 5 posts - 1 through 5 (of 5 total)
  • Trevor
    #258591

    You can use a wordpress rewrite to point a theme global search to our form. There is an example here (the site shown uses a slug name for the search results page, which looks nicer):

    https://support.searchandfilter.com/forums/topic/using-default-wp-search-bar-to-show-sf-results-page/#post-243811

    Here there is an example of one that doesn’t use a slug:

    https://support.searchandfilter.com/forums/topic/how-to-maintain-search-string-while-filtering/#post-205209

    Note, the Search & Filter form on the results page must have a Text search field to receive the search string. You would not need/want to have the post type in the parameters, as this is specified in our form settings instead, so you should remove that from the code you already use.

    Anonymous
    #258636

    Hi Trevor,

    Thank you for your reply.

    With the rewrite point i still get the blog page with “Nothing Found” message, but this time without getting the search results page first. What i meant is to use the filter after the search results page is generated and inside the results page.

    I need the post type parameter as there are two searches what this site have. One is for blog posts and another is for the post type as the results have different styling.

    Could you point me on another possible solution?

    Trevor
    #258732

    Are you able to send me a live link/URL to your search page so I can take a look?

    Anonymous
    #258749

    Currently it is only on localhost, please do not close this topic, we will upload the site on live server within a week. Thank you for your help.

    Trevor
    #258753

    OK, I will wait for you to post again.

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