這個應該不是什麼新問題了,現在重提,只因為在百度知道看到仍有不少朋友提問 「WordPress 後台友情鏈接哪裏去了」 的問題;
在 WordPress 模板官方文檔裏,關於 links manager(鏈接表) 的變動,有專門一節進行了介紹;文檔裏第一句就有如下説明:
As of Version 3.5, the Links Manger and blogroll are
hidden for new installs and any existing WordPress installs that do not
have any links. If you are upgrading from a previous version of
WordPress with any active links, the Links Manager will continue to
function as normal. If you would like to restore the Links panel to your
install you may download and install the Links Manager plugin.
其大意是指,自 3.5 版本起,新安裝的 WordPress,鏈接表功能默認是被隱藏的;但如果是從之前的版本升級過來並且以前有添加鏈接表內
容,WordPress 將延續鏈接表的常用功能;如果您想恢復鏈接表的管理頁面,可以通過下載並安裝 Links Manager 插件來完成;
通過解釋不難發現,若想解決此類問題,只需要到 WordPress 插件中心下載並安裝 Links Manager 插件即可解決;也有很多朋友提出在當前皮膚中的 functions.php 文件中增加下面一句:
add_filter( 'pre_option_link_manager_enabled', '__return_true' );
經過測試,也是可以重啓鏈接表功能,但個人建議還是通過插件來完成;官方作出這樣的調整,肯定有其考量。