wordpress删除“功能”中的 RSS链接

10/2/2015 WordPress
(adsbygoogle = window.adsbygoogle || []).push({});

本次操作以wordpress-3.6.1为例,其它版本,操作上,大同小异 打开“网站\wp-includes\default-widgets.php” 搜索如下代码:

  • <?php wp\_loginout(); ?>
  • 删除以下代码
  • <?php \_e('Entries RSS'); ?>
  • <?php \_e('Comments RSS'); ?>
  • <?php /\*\* \* Filter the "Powered by WordPress" text in the Meta widget. \* \* @since 3.6.0 \* \* @param string $title\_text Default title text for the WordPress.org link. \*/ echo apply\_filters( 'widget\_meta\_poweredby', sprintf( '
  • %s
  • ', esc\_url( \_\_( 'https://wordpress.org/' ) ), esc\_attr\_\_( 'Powered by WordPress, state-of-the-art semantic personal publishing platform.' ), \_x( 'WordPress.org', 'meta widget link text' ) ) ); wp\_meta(); ?>   第1个
  • 为文章RSS 第2个
  • 为评论RSS 第3段<?php\*\*\*\*\*\*?>为WordPress.org链接 全部删除后的效果 WordPress-rss (opens new window) 转载自生命线电脑技术 (opens new window),由我适当修改。 地址:http://smxr.com/post/114.htm (opens new window)