dedecms文章内容页调用关键词并增加链接

dedecms文章内容页调用关键词并增加链接

{dede:field name='keywords' runphp='yes' }
    if(!empty(@me))
    {
        $kws = explode(',',@me);
        @me = "";
        foreach($kws as $k)
        {
           @me .= "

$k

"; } @me= str_replace(' ', ' ',trim(@me)); } {/dede:field}

转载于:https://blog.51cto.com/14262984/2374269

你可能感兴趣的:(dedecms文章内容页调用关键词并增加链接)