Remove Unnecessary Code From WordPress Header

WordPress uses the function wp_head() to add a bunch of code to the header of each page. Some of it is not absolutely necessary. This is especially true when using WordPress as a small business CMS, instead of a blog.

The code below removes the unnecessary code. Just add these to the end of your functions.php file.

This code applies to WordPress 3.0 and higher:

<?php
remove_action('wp_head', 'rsd_link');
remove_action('wp_head', 'wlwmanifest_link');
remove_action('wp_head', 'wp_generator');
remove_action('wp_head', 'start_post_rel_link');
remove_action('wp_head', 'index_rel_link');
remove_action('wp_head', 'adjacent_posts_rel_link_wp_head');
?>

This code applies to WordPress versions before 3.0:

<?php
remove_action('wp_head', 'rsd_link');
remove_action('wp_head', 'wlwmanifest_link');
remove_action('wp_head', 'wp_generator');
remove_action('wp_head', 'start_post_rel_link');
remove_action('wp_head', 'index_rel_link');
remove_action('wp_head', 'adjacent_posts_rel_link');
?>

WordPress – Best of Breed

It’s a simple as the title of this post…”Best of Breed”. When it comes to online blogging applications, WordPress is Best of Breed.

It’s free! But that does not make it great, just easily accessible.

It has a huge following! Have a WordPress question? It’s answered in a couple hours on their forum. Need some advanced help? You can find easily a WordPress pro online in minutes. Need some special feature? There’s a very good chance that someone else as already had that need too. You’ll likely find that there is a plugin already written for your feature.
(more…)