• Resolved honeylemon66

    (@honeylemon66)


    i am trying to create a search bar that only leads results to a specific page. May i know if that is possible in search in place plugin?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @honeylemon66

    Thank you very much for using our plugin.

    To search in a specific page’s content only, you should insert the search box shortcode in the page with the in_current_page attribute set in 1, as follows:

    [search-in-place-form in_current_page="1"]

    Learn more about the search box shortcode and the supported attributes by visiting the following link:

    https://searchinplace.dwbooster.com/documentation#shortcode

    Best regards.

    Thread Starter honeylemon66

    (@honeylemon66)

    sorry for not being specific. What i meant is that I have a search bar in home page( a page i created and set as static home page). When people search inside the search bar, whatever term that they key in, it will lead them to the same page. Is it possible to do that?

    Plugin Author codepeople

    (@codepeople)

    Hello @honeylemon66

    I’m sorry, but I’m not sure about your request. Do you want to insert the search box on page “A” but search only terms on page “B”?

    Best regards.

    Thread Starter honeylemon66

    (@honeylemon66)

    I want to insert the search bar in page A. However, the display results is in page N.

    eg Page A is the home page with the search bar. Whatever search terms, it will go page b that has results nicely categorised. In a way it is a url hyperlink to the search bar

    Plugin Author codepeople

    (@codepeople)

    Hello @honeylemon66

    WordPress does it by itself. When you press enter or click on the search box, WordPress redirects the user to the search results page, passing the “s” parameter in the search terms.

    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Create a search bar that leads search results to a specific page’ is closed to new replies.