admin管理员组文章数量:1313106
Im wondering the possibilities of making the title of a page change depending how the user got there? For example, if they are on the homepage and make a search, would it be possible to display what they searched for as the title on just on the results page? also how i would add a breadcrumb under the title for users to see where they came from ect.
Thanks in advance.
Im wondering the possibilities of making the title of a page change depending how the user got there? For example, if they are on the homepage and make a search, would it be possible to display what they searched for as the title on just on the results page? also how i would add a breadcrumb under the title for users to see where they came from ect.
Thanks in advance.
Share Improve this question asked Dec 12, 2020 at 20:49 ChrisChris 111 bronze badge1 Answer
Reset to default 0I'm supposing we are talking about the tab title, if so its possible but not conventional, if is the page title, the code is almost the same and its feasible.
In this last case Wordpress doesn't have a breadcrumb per say, we have to make a custom one, nevertheless Woocommerce has one. If Woocommerce is installed you just need to call the function woocommerce_breadcrumb(); in your php file where that pages load.
if you don't have woocommerce we have to make a custom one. I do not have any at this moment.
本文标签: Changing title amp add Breadcrumbs
版权声明:本文标题:Changing title & add Breadcrumbs 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741923115a2405124.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论