1. 首页>>cms系统>>pbootCMS

pboot搜索页面面包屑展示展示

在pboot面包屑一般都是用:

css;toolbar:false">{pboot:position}

标签来进行表示,但是现在我是在搜索页面,

30140572873.png" title="pboot搜索页面面包屑展示展示" alt="pboot搜索页面面包屑展示展示" width="389" height="89" style="width: 389px; height: 89px;"/>

我想要把这个搜索两个字去掉,或者是在前后添加我搜索的关键词,比如:首页>>seo搜索这样的页面。


想要实现这样的效果:

<div class="search-crumbs">{pboot:position}{pboot:keyword}</div>

效果:

微信截图_20220326014208.png

这里的搜索两个字会带上一个链接,为了不让搜索两个字不带链接,我们可以这样调整一下:

<div class="search-crumbs"><a href="/">首页</a>>>搜索{pboot:keyword}结果</div>

面包屑

这样可以实现我们想要的效果,如果这个搜索字想要实现飘红,那么也可以为它添加css效果来实现

转载联系作者并注明出处:https://focusonseo.cn/pbootcms/72.html