• Resolved Steve

    (@claude-haukf)


    I created a search which looks only at posts with a specific Category. However, if there are no results the search box that appears under the “sorry, but nothing matched” page defaults to searching all posts again.

    So if someone wants to try searching in the Category with a different term they will now get results from all posts.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    I hope you are well today and thank you for your question.

    This is happening because you are using two different search forms on the pages having search form IDs 26706 & 37898.

    Best regards,

    Thread Starter Steve

    (@claude-haukf)

    Hi. Thank you for your quick response.

    The two different search forms is intentional. One form searches one category of posts, another form searches another category of posts.

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    You are displaying the search form having ID 37898 on your shared search-basic page but on the search results not found the page the search form is different having ID 26706 therefore you are getting different search results as you have asked in your initial question.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘After custom search, it reverts back to broad search’ is closed to new replies.