admin管理员组

文章数量:1414628

In my footer, I have a set of links labeled Meta, it has...

Register
Log in
Entries RSS
Comments RSS
Wordpress

How can I remove just the wordpress and and comments rss link from the meta links?

In my footer, I have a set of links labeled Meta, it has...

Register
Log in
Entries RSS
Comments RSS
Wordpress

How can I remove just the wordpress and and comments rss link from the meta links?

Share Improve this question asked Jan 8, 2012 at 11:56 JasonDavisJasonDavis 1,6906 gold badges36 silver badges57 bronze badges
Add a comment  | 

6 Answers 6

Reset to default 6

Depending on your theme, they may be hard coded into a sidebar or footer file. If this is the case, you will need to get your hands dirty and edit your theme files.

But you can usually remove them by adding a widget, as these items often only show up when no widgets have been added. So go to Appearance -> Widgets and add the widgets that you want in the appropriate sidebar.

There's a super easy way to remove the wordpress link from the Meta widget. Just use:

add_filter( 'widget_meta_poweredby', '__return_empty_string' );

and it's gone!

I believe those are not generated by the system so you'd have to remove it by editing the theme. If your sure it's in the footer, edit the theme's footer.php by deleting those lines where those links are. In most themes, they are usually in sidebar.php, so if you don't find the links in footer.php, check for sidebar.php.

Use custom CSS...

.widget_meta > ul > li:nth-last-child(1) {
     display: none; 
}

.widget_meta > ul > li:nth-last-child(2) {
     display: none; 
}

Look here

The answer by Oscar Silván is actually to remove the RSS links. To remove the WordPress link use:

.widget_meta > ul > li:nth-last-child(0) {
     display: none; 
} 

The numbers work backwards from the end. I have been trying to solve this problem for a couple of days now, and the answers given in the WordPress forum don't work.

Using the plugins suggested to stop the RSS feeds from working, but the links are still displayed. Since WordPress is now being used for static websites and not just blogs it is time they offered this in customization. Anyway it works fine for me now, and I only have the sign-on link for the administrators. I still have "powered by WordPress" at the bottom, but that is fine.

If you have ever enabled the Meta widget you see a link to WordPress. I know many of us do not want this link to be there. There is a very simple way to remove it.

Find a file named default-widgets.php located in /wp-includes folder. Open default-widgets.php and remove the line 299:

<li><a href="http://wordpress/" title="<?php echo esc_attr(__('Powered by WordPress, state-of-the-art semantic personal publishing platform.')); ?>">WordPress</a></li>

to get rid of the link. However, with the upgrade you get this link back again and if you want to remove it, you need to follow the same procedure.

本文标签: Remove Wordpressorg Meta link