wordpress:重启“链接表”

这个应该不是什么新问题了,现在重提,只因为在百度知道看到仍有不少朋友提问“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.
原文地址:http://codex.wordpress.org/Links_Manager


其大意是指,自3.5版本起,新安装的wordpress,链接表功能默认是被隐藏的;但如果是从之前的版本升级过来并且以前有添加链接表内容,wordpress将延续链接表的常用功能;如果您想恢复链接表的管理页面,可以通过下载并安装Links Manager插件来完成;
通过解释不难发现,若想解决此类问题,只需要到wordpress插件中心下载并安装Links Manager插件即可解决;也有很多朋友提出在当前皮肤中的functions.php文件中增加下面一句:

add_filter('pre_option_link_manager_enabled','__return_true');

经过测试,也是可以重启链接表功能,但个人建议还是通过插件来完成;官方作出这样的调整,肯定有其考量。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值