dedecms5.7织梦模板文章内容页如何调用关键词增加链接

dedecms5.7文章内容调用键词增加链接的方法
{dede:field name='keywords' runphp='yes' } if(!empty(@me)) { $kws = explode(',',@me); @me = ""; foreach($kws as $k) { @me .= "<a href='/plus/search.php?keyword=".urlencode($k)."' target=_blank ><h2>$k</h2></a> "; } @me= str_replace(' ', ' ',trim(@me)); } {/dede:field}  

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/d3605115174a11a28caabf0146117fd0.html