I’m pullin’ my hair out here. I can’t find anywhere in my installations of WP that has the link to WordPress.org, but there it is, in the Meta widget, plain as day. I’d like to keep the Meta widget, but I really don’t want the link to WP. Does anyone know how to get rid of it?
Edit the text widget to contain the links you want and remove the meta widget from the sidebar.
PS:
You can edit it directly by editing the widgets.php file located in the wp-includes folder starting on line 532, it looks like all you will need to do is comment out/remove the one <li></li>
No, I wasn’t referring to that. Sorry for the confusion.
Two places. First, check your theme’s header file (header.php), since you have two copies of this tag in your source.
I don’t have that in my theme header file and I only see one in the source. You sure you haven’t been drinkin’?
Second, it’s one of the default filters in wp-includes/default-filters.php.
To override that, edit the functions.php of your theme and add this:
remove_action('wp_head', 'wp_generator');
Interesting. Is there any benefit to removing the generator meta tag?
Thanks. I think I can manage this.
PS:
You can edit it directly by editing the widgets.php file located in the wp-includes folder starting on line 532, it looks like all you will need to do is comment out/remove the one <li></li>
…
Though this is something you will have to keep up with everytime you upgrade.
I am loathe to edit any of the non-theme application files - for the same reason you stated. Too many updates, not enough time.
I have the same problem - thought it something to do with cache becuase I can get rid of the links by editing sidebar.php in a local copy of the website but not on the site itself - can’t find any delete cache though - did you ever solve this- all the suggested solutions seem wrong - are you using a theme called fishy-10? it is fishy too with some hidden links in it!
I just can’t stand being forced to link to WordPress in my sidebar. As hesitant to edit non-theme pages, I decided to edit the wp-includes/widgets.php file. Did a search for [noparse]http://wordpress.org[/noparse] and found it on line 544 (depending on WP version, your lineage may vary). I made a note to myself to edit that file before doing an upgrade. Extra pain in the ***, but I guess ya gotta do what ya gotta do.
I do. Just not in the main navigation. I have even written articles with references to WP and linked to them from within the article with what I hope are good anchor text. I do my best to pay my dues - but even WP says I am not required to. They are not relevant to the majority of my content and certainly not my navigation links, so out they go.