最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

make link to search page

programmeradmin0浏览0评论

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.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论