Meta Tags Plugin
Download:
Download version 2.6.
If you find this plugin useful please donate to the author.
This plugin adds functionality to provide meta tag data for your HTML headers and Technorati Tags to your footers. Set what tags to include and other options on the configuration page.
Revision History:
| version 1.0 | Original Release |
| version 1.1 | Bug Fixes |
| version 1.2 | Added Technorati Tags |
| version 1.3 | Added post overrides for Keywords and Robots |
| version 2.0 | Changed to using class structure. Also added signature idea from Rich Boakes |
| version 2.1 | Fixes to make compatible with Wordpress 2.0 |
| version 2.2 | Created function to read current post to determine the keywords |
| version 2.3 | Added ability to add other HTML Metatags to post using custom field data |
| version 2.4 | Made plugin identifier functions universal for all plugins |
| version 2.5 | Added functions to stub to identify current available release. Adjusted options page to display. Fixed missing __CLASS__ constant for versions of PHP older than 4.3.0. Fixed issue with PHP5 installs. |
| version 2.6 | Fixed version notification. |
Installation:
- Copy the directory rjs-metatags and all it’s contents to the WordPress plugins directory on your server, (%WORDPRESS PATH%/wp-contents/plugins/).
- You will then need to activate the plugin from the WordPress administration plugins page.
- Adjust the options as necessary.

Usage:
- As long as your template properly includes function calls to wp_head() in the header.php file and wp_footer() in the footer.php file the correct tags will be added.
- One note to be aware of; if your template includes meta tags such as “generator”, “description”, and “Content-Type” including these in your options will cause duplication. One way to avoid this and make your template compatible is to put a if block around these tags.
Example:
<?php if (!is_callable('MetaTags', 'html_tags')) { ?>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<meta name="description" content="<?php bloginfo('description'); ?>" />
<?php } ?>
- Both the Keywords and Robots settings can be overridden for each post individually. To do this you just add a Meta Key/Value combination for the post with the Key being either “Keywords” or “Robots” and the value you want put into the meta tags for that page.
- You can add a metatag by placing one or more custom fields Meta Key/Value combination for the post with the Key being “HTML Meta”. The text in the value should be a full meta tag text.
Possible useful Hack: Use this to add any text to the Head section of a posts page. - When displaying a single post, if no post meta key/value pair is setup for keywords the plugin will analyze the post content and determine a set of keywords. For pages containing multiple posts the default will be used.
- By default the Technorati Tags are hidden in the footer (once enabled in the options page.) If however you wish to include them else were on your page, such as in the sidebar, you can add the following to your template file:
<?php
if (is_callable('MetaTags', 'technorati_tags')) {
MetaTags::technorati_tags(true);
}
?>
The technorati_tags method has a single parameter $visible.$visible An optional parameter defaulted to false. This controls whether the tag includes the visibility:hidden style attribute.
Credits:
| Rick Boakes | I got several ideas from his AutoMeta plugin as well as the exclusion list files. |
Rodney

2 Comments
Leave a comment