admin管理员组

文章数量:1322850

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

Just 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.

本文标签: make link to search page