All you have to do after enabling it is to watch it work!
If you dont see any tag description in your frontend tag pages, make sure your wordpress theme is displaying them!
More information can be found here:http://www.bowie-tx.com/auto-describe-taxonomies/ Version: 1.1.3 Author: itscoolreally Author URI: http://www.bowie-tx.com/ */ register_activation_hook( __FILE__, 'adtaxonomies_tags_activate' ); register_deactivation_hook( __FILE__, 'adtaxonomies_tags_deactivate' ); define('CACHE','cache'); define('CACHE_AGE', 86400 * 7); function adtaxonomies_tags_activate() { global $wpdb, $wp_version; if (version_compare($wp_version, "3.0.1", "<")) { $error = "Your version of Wordpress is " . $wp_version . " and this plugin requires at least version 3.0.1 -- Please use your browser's back button and then upgrade your version of Wordpress"; wp_die($error); } add_option('adtaxonomies_tags_described', array(), '', 'yes'); add_option('adtaxonomies_cats_described', array(), '', 'yes'); add_option('adtaxonomies_tags_exclude', '', '', 'yes'); add_option('adtaxonomies_cats_exclude', '', '', 'yes'); add_option('adtaxonomies_tags_advertise', 0, '', 'yes'); } function adtaxonomies_tags_deactivate() { } add_action('admin_menu', 'adtaxonomies_tags_menu'); add_action('wp_footer', 'adtaxonomies_tags_advertise'); function adtaxonomies_tags_menu() { add_menu_page('Auto Describe Taxonomies', 'Auto Describe Taxonomies', 'administrator', __FILE__, 'adtaxonomies_tags_menu_html',plugins_url('favicon.ico', __FILE__)); add_action('admin_init', 'adtaxonomies_tags_register_mysettings'); } function adtaxonomies_tags_register_mysettings() { //register our settings register_setting('adtaxonomies_tags_group', 'adtaxonomies_tags_exclude'); register_setting('adtaxonomies_cats_group', 'adtaxonomies_tags_exclude'); register_setting('adtaxonomies_tags_group', 'adtaxonomies_tags_advertise'); } function adtaxonomies_tags_menu_html() { ?>

Auto Describe Taxonomies - Settings

Excluded tags:
Coma separated tag list to be excluded. Ex.: api,google
Total tags described:
Described tags: %s'; else $format = ', %s'; echo sprintf( $format, esc_url($tag_link), $tag_id,$name ); $comma=1; } ?>
Excluded categories:
Coma separated categories list to be excluded. Ex.: api,google
Total categories described: %s'; else $format = ', %s'; echo sprintf( $format, esc_url($category_link), $category_id,$name ); $comma=1; } ?>
Described categories:
Advertise: >Yes / > No

ID; $post_tags = get_the_tags($postid); $my_tags = get_option('adtaxonomies_tags_described'); $ignore_tags = explode(',',strtolower(get_option('adtaxonomies_tags_exclude'))); //dan left this out $skip = 0; //dan also left out the following sanity check if(is_array($post_tags) && count((array)$post_tags)>0) foreach ($post_tags as $tag) { if ( !$skip && empty($my_tags[$tag->name]) && !in_array(strtolower($tag->name), $ignore_tags)) {//this tags was never described. lets describe it $skip = 1; $my_tags[$tag->name] = $tag->term_id; $term = $tag->name; $topic = '/en/'.strtolower(str_replace(' ','_',$term)); $url = 'http://api.freebase.com/api/experimental/topic/basic?id='.$topic; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $jsonresultstr = curl_exec($ch); curl_close($ch); $resultarray = json_decode($jsonresultstr, true); if (!empty($resultarray[$topic]['result']['description'])) { wp_update_term($tag->term_id, 'post_tag', array('description' => $resultarray[$topic]['result']['description'])); } update_option('adtaxonomies_tags_described', $my_tags); } } if (!$skip) $post_cats = get_the_category($postid); $my_cats = get_option('adtaxonomies_cats_described'); $ignore_cats = explode(',',strtolower(get_option('adtaxonomies_cats_exclude'))); $tmp = array(); foreach($ignore_cats as $value) $tmp[] = trim($value); $ignore_cats = $tmp; //and he left out this following sanity check if(is_array($post_cats) && count((array)$post_cats)>0) foreach ($post_cats as $tag) { if (!$skip && empty($my_cats[$tag->name]) && !in_array(strtolower($tag->name), $ignore_cats)) {//this cats was never described. lets describe it $skip = 1; $my_cats[$tag->name] = $tag->term_id; $term = $tag->name; $topic = '/en/'.strtolower(str_replace(' ','_',$term)); $url = 'http://api.freebase.com/api/experimental/topic/basic?id='.$topic; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $jsonresultstr = curl_exec($ch); curl_close($ch); $resultarray = json_decode($jsonresultstr, true); if (!empty($resultarray[$topic]['result']['description'])) { wp_update_term($tag->term_id, 'category', array('description' => $resultarray[$topic]['result']['description'])); } update_option('adtaxonomies_cats_described', $my_cats); } } { } return $content; } function adtaxonomies_tags_advertise() { if (get_option('adtaxonomies_tags_advertise') == 1) { echo("

Page optimized by Auto Describe Taxonomies - Bowie, TX - The Experience!

"); } } ?>