Home  >  Article  >  Backend Development  >  Wordpress deletes RSS function "Article RSS", "Comments RSS", "WordPress.org"

Wordpress deletes RSS function "Article RSS", "Comments RSS", "WordPress.org"

不言
不言Original
2018-07-07 14:31:323286browse

This article mainly introduces the "Article RSS", "Comment RSS" and "WordPress.org" about the RSS deletion function of WordPress. It has certain reference value. Now I share it with you. Friends in need can refer to it.

1. Remove the "Proudly powered by WordPress" copyright information at the bottom:
1. Open the theme folder: wp-content/themes/twentyeleven/footer.php;
2. Find this code Just delete:

<?php endif;// 去除底部“自豪地采用 WordPress”版权信息
//get_template_part( &#39;template-parts/footer/site&#39;, &#39;info&#39; );?>

Note: If it is blank after deletion (blocking), you can add your own copyright information and filing content.

2. Delete the "Article RSS", "Comment RSS" and "WordPress.org" of the RSS function

Open the theme folder: wp-include/widgets/class-wp -widget-meta.php

Find this code and block or delete it:

<!-- 屏蔽 RSS 功能            <li><a href="<?php echo esc_url( get_bloginfo( &#39;rss2_url&#39; ) ); ?>"><?php _e(&#39;Entries <abbr title="Really Simple Syndication">RSS</abbr>&#39;); ?></a></li>
            <li><a href="<?php echo esc_url( get_bloginfo( &#39;comments_rss2_url&#39; ) ); ?>"><?php _e(&#39;Comments <abbr title="Really Simple Syndication">RSS</abbr>&#39;); ?></a></li>
             -->

The above is the entire content of this article. I hope it will be helpful to everyone’s study. More For more related content, please pay attention to the PHP Chinese website!

Related recommendations:

WordPress sends registered users a password setting email prompt: Your password reset link is invalid, please request a new link below

The above is the detailed content of Wordpress deletes RSS function "Article RSS", "Comments RSS", "WordPress.org". For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn