Kempwire.com

By Jonathan Kemp

WordPress Head Cleaner Plugin

Removes unwanted tags from your WordPress header.

The function wp_head; found in the header.php template file adds unnecessary tags to your WordPress template. These tags are the RSD, or Really Simple Discovery, link, the Windows Live Writer Link and the WordPress version number. This plugin will stop all 3 tags from being automatically added to your WordPress header.

Installation

1. Upload 'wp_head_cleaner.php' to the '/wp-content/plugins/' directory.
2. Activate the plugin through the ‘Plugins’ menu in WordPress.
3. That’s it!

Download

Download the WordPress Head Cleaner plugin here.

2 Responses to “WordPress Head Cleaner Plugin”

  1. baron says:

    hi. Thanks for plugin

    perfect.

  2. Troy says:

    A few suggestions for 2.8+:

    remove_action( ‘wp_head’, ‘index_rel_link’ ); // index link
    remove_action( ‘wp_head’, ‘parent_post_rel_link’, 10, 0 ); // prev link
    remove_action( ‘wp_head’, ‘start_post_rel_link’, 10, 0 ); // start link
    remove_action( ‘wp_head’, ‘adjacent_posts_rel_link’, 10, 0 ); // Display relational links for the posts adjacent to the current post.
    remove_action( ‘wp_head’, ‘feed_links_extra’, 3 ); // Display the links to the extra feeds such as category feeds
    remove_action( ‘wp_head’, ‘feed_links’, 2 ); // Display the links to the general feeds: Post and Comment Feed

Comments are closed.

Copyright © 2005-2010. XHTML | CSS