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

不言
Release: 2023-04-02 19:50:02
Original
3259 people have browsed it

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; );?>
Copy after login

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>
             -->
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!