時(shí)間:2024-03-02 20:10:01 | 來(lái)源:網(wǎng)站運(yùn)營(yíng)
時(shí)間:2024-03-02 20:10:01 來(lái)源:網(wǎng)站運(yùn)營(yíng)
dede標(biāo)題欄目如何設(shè)置按字母首字母命名:dede添加欄目的時(shí)候,默認(rèn)欄目名稱是拼音全稱,對(duì)于一些名稱很長(zhǎng)的此語(yǔ)全拼就會(huì)顯得非常長(zhǎng),不僅難看,而且對(duì)于優(yōu)化來(lái)說(shuō)是冗長(zhǎng)。
下面來(lái)說(shuō)下dede標(biāo)題欄目按字母首字母命名的方法。
打開(kāi)dede/catalog.add.php文件,找到85行:
$toptypedir = GetPinyin(stripslashes($toptypename));
修改為:
$toptypedir = GetPinyin(stripslashes($toptypename),1);
找打108行:
$typedir = $toptypedir.'/'.GetPinyin(stripslashes($v));
修改為:
$typedir = $toptypedir.'/'.GetPinyin(stripslashes($v),1);
找打134行:
$toptypedir = GetPinyin(stripslashes($toptypename));
修改為:
$toptypedir = GetPinyin(stripslashes($toptypename),1);
找打187行:
$typedir = GetPinyin(stripslashes($typename));
修改為:
$typedir = GetPinyin(stripslashes($typename),1);
轉(zhuǎn)載:非常歡迎各位朋友分享到個(gè)人站長(zhǎng)或者朋友圈,但轉(zhuǎn)載請(qǐng)說(shuō)明文章出處“黎青松SEO博客”。
原文地址:http://www.alitaohuo.com/CMSjiaocheng/zhimengjiaocheng/1921.html
關(guān)鍵詞:字母,命名,設(shè)置,標(biāo)題
客戶&案例
營(yíng)銷資訊
關(guān)于我們
客戶&案例
營(yíng)銷資訊
關(guān)于我們
微信公眾號(hào)
版權(quán)所有? 億企邦 1997-2025 保留一切法律許可權(quán)利。