I have a search Icon in menu section of my site and looking for a way to when a user click on this search icon, redirected to the search page. in the search page, there is a search form and also search result is shown in this page. Is it possible to make a link to search page without changing search url?
unfortunately in this link I didn't find the right answer. Thanks
I have a search Icon in menu section of my site and looking for a way to when a user click on this search icon, redirected to the search page. in the search page, there is a search form and also search result is shown in this page. Is it possible to make a link to search page without changing search url?
unfortunately in this link I didn't find the right answer. Thanks
Share Improve this question asked Sep 18, 2020 at 4:12 zahra_oveyedzadezahra_oveyedzade 1012 bronze badges1 Answer
Reset to default 0Just like cybmeta in the answer you are linking to said: see Creating a search page in the codex. Read it carefully. Create a Template like described, add a new page in the backend and choose as template your new search-template, that is now in the template-dropdown. Now you can set a link to this new page and reach it without performing a search.