Custom Search Bar Redirection Setup for Product and Post

This topic has 1 reply, 1 voice, and was last updated 14 minutes ago ago by Drishti

  • Avatar: Drishti
    Drishti
    Participant
    October 7, 2024 at 23:19

    I’ve created a custom search page using the theme editor, and I have two search bars on my site with different purposes. I would like assistance with the following redirection setup:

    1) Post Archive Search Bar:

    When a user searches from the search bar on the post archive page, I want the search to redirect to the custom page I’ve created specifically for post searches.

    2) Header Search Bar:

    When a user searches from the header search bar, it should redirect to the shop page with the relevant search filters applied, instead of the custom post search page.

    Could you guide me on how to implement these different redirections for the two search bars?

    Thank you for your support, and let me know if you need any further information.

    Content is visible for topic creator and
    support staff only.
    Files is visible for topic creator and
    support staff only.
  • Viewing 1 results - 1 through 1 (of 1 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.