w3 meta keywords plugin for WordPress
Writing some restyle code, i’ve note that meta keywords was not present in the head section of WordPress. A very short investigation had let me understand that the very important thing, was to add these meta keywords tags mainly on three WordPress templates cases: pages, posts, and categories. A default one is more than sufficient and the best solution for all others templates (and a good seo result). It was necessary to add very little code to get datas and the most is done by functions and classes that are already included in WordPress.
From this come out the code used for all w3it.org WordPress pages, finally released as new WordPress plugin.
It is named w3metakeywords plugin for WordPress.
It do not load your server more than what is strictly necessary. Is short and effective.

w3metakeywords for wordpress by axew3 – Alessio Nanni is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License.
Based on a work at www.w3it.org.
Permissions beyond the scope of this license may be available at http://www.w3it.org
You can temporary download the w3 metakeywords plugin for WordPress at this page:
w3 meta keywords plugin for WordPress download
To use it you should follow these easy steps and suggestions:
- Open up the plugin file, w3metakeywords.php
- Edit the file on top, search for the
$metaKeywordsDefaultListvar and edit his content with yours default values (used as default in pages where the metakeywords tag do not need to be generated from the title or content of the page. Save the editedw3metakeywords.phpand load it on your /wp-content/plugins/ folder. - Activate it on plugins administration
- Now it is time to edit the header.php file of your theme to be more SEO friendly. Open it, and change content just adding the follow:
Immediately after the line<head profile="http://gmpg.org/xfn/11">add this code:<title><?php wp_title(”, true, ‘right’); ?> <?php bloginfo(‘name’); ?></title>
so after the line
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />add this code:<meta name=”description” content=”w3it.org – for wwweb lovers” /> <?php echo w3_get_keywords() .”\n”;?>
Change the “w3it.org – for wwweb lovers” example string with your blog’s famous words. Save and upload overwriting existent as the w3metakeywords.php.
That’s all for the moment, and until the new version; any criticism, help, improvement or question about is very important. You can Register to w3it.org forum and post your’s proposals, questions or code improvements to the w3 meta keywords easy hack; of course you can also do it here.

