【使用方法】
找到要對(duì)TDK轉(zhuǎn)碼的前端模板文件,將標(biāo)題、描述、關(guān)鍵詞的標(biāo)簽改成以下:
seo標(biāo)題
<title>{$meta_title}</title>
改成:
<title>{tdk_encode($meta_title)}</title>
seo關(guān)鍵詞
<meta name="keywords" content="{$meta_keywords}" />
改成:
<meta name="keywords" content="{tdk_encode($meta_keywords)}" />
seo描述
<meta name="description" content="{$meta_description}" />
改成:
<meta name="description" content="{tdk_encode($meta_description)}" />
站點(diǎn)名稱
{SITE_NAME}
改成:
{tdk_encode(SITE_NAME)}
【轉(zhuǎn)碼效果】

【頁面效果】

