1、织梦dedecms在正文页面显示关键词标签的方法如下:
{dede:field name=’keywords’ runphp=’yes’ } if(!empty(@me)){ $kws = explode(’ ‘,@me); @me = “”; foreach($kws as $k){ @me .= “<a href=http://www.dede58.com/’/plus/search.php?keyword=”.urlencode($k).”‘ target=_blank >$k</a> “; } @me= str_replace(’ ', ‘ ‘,trim(@me)); }