When you activate the WordPress meta widget fo login and registration, there are a couple of links there that you may want to remove. However, you can’t do that unless you do some edits in the core files.
Unfortunately WordPress does not provide a simple way to remove the RSS and WordPress.org link from that widget, therefore you have to manually remove those links from the core file. To do this open the wp-includes/default-widgets.php file with a text editor.
In this file you need to find the Meta widget part. In version 3.4.1 it starts from line 292. The part you need to edit is this:
<ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php echo esc_attr(__('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 esc_attr(__('The latest comments to all posts in RSS')); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li> <li><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>" title="<?php echo esc_attr(__('Powered by WordPress, state-of-the-art semantic personal publishing platform.')); ?>"><?php /* translators: meta widget link text */ _e( 'WordPress.org' ); ?></a></li> <?php wp_meta(); ?> </ul>
Remove the parts you don’t need. Obviously you don’t want to remove the first li tag since it’s the login – logout function.
Save your file and you’re good to go.
Leave A Comment
You must be logged in to post a comment.