Home >Backend Development >PHP Tutorial >Wordpress deletes RSS function 'Article RSS', 'Comments RSS', 'WordPress.org'
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( 'template-parts/footer/site', 'info' );?>
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( 'rss2_url' ) ); ?>"><?php _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li> <li><a href="<?php echo esc_url( get_bloginfo( 'comments_rss2_url' ) ); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></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:
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!