How to edit the Meta links in WordPress
I’ve had to publish this because I’ve needed to do this 2 or 3 times on different client blogs, and each time I forget how and have to spend extra time looking up the instructions again. Now I’ve published this on my site I hope that it’s useful for others as well.
The Meta or Admin links on a theme are normally as follows:
META
- Site Admin
- Log out
- Entries RSS
- Comments RSS
- WordPress.org
Say, for example, you wanted to delete the following from the Meta links:
META
- Entries RSS
- Comments RSS
The solution is to edit the widgets.php file which is in the wp-includes folder. Open up the widgets.php file with Notepad (or whatever other software you would normally use to edit php files). Find the following lines in the widget.php file:
<li><a href=”<?php bloginfo(‘rss2_url’); ?>” title=”<?php echo attribute_escape(__(‘Syndicate this site using RSS 2.0′)); ?>”><?php _e(‘Entries <abbr title=”Really Simple Syndication”>RSS</abbr>’); ?></a></li>
<li><a href=”<?php bloginfo(‘comments_rss2_url’); ?>” title=”<?php echo attribute_escape(__(‘The latest comments to all posts in RSS’)); ?>”><?php _e(‘Comments <abbr title=”Really Simple Syndication”>RSS</abbr>’); ?></a></li>
And delete them. Afterwards make sure that you save this edited widgets.php file, and upload it into the wp-includes folder overwriting the original file.







