Plugin Directory

Changeset 603426


Ignore:
Timestamp:
09/25/2012 02:09:25 AM (13 years ago)
Author:
itscoolreally
Message:

added links to settings panel plus a title to that page

Location:
auto-describe-taxonomies
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • auto-describe-taxonomies/tags/1.1/plugin.php

    r557554 r603426  
    33Plugin Name: Auto Describe Taxonomies
    44Plugin URI: http://wordpress.org/extend/plugins/auto-describe-taxonomies/
    5 Description:This plugin will auto-describe your post tags using freebase.<br>All you have to do after enabling it is to watch it work!<br>If you dont see any tag description in your frontend tag pages, make sure your wordpress theme is displaying them!<br>More information can be found here:<a href=\"http://www.bowierocks.com/auto-describe-taxonomies/\">http://www.bowierocks.com/auto-describe-taxonomies/</a>
    6 Version: 1.0.4
     5Description:This plugin will auto-describe your post tags using freebase.<br>All you have to do after enabling it is to watch it work!<br>If you dont see any tag description in your frontend tag pages, make sure your wordpress theme is displaying them!<br>More information can be found here:<a href=\"http://www.bowie-tx.com/auto-describe-taxonomies/\">http://www.bowie-tx.com/auto-describe-taxonomies/</a>
     6Version: 1.1
    77Author: itscoolreally
    8 Author URI: http://www.bowierocks.com/
     8Author URI: http://www.bowie-tx.com/
    99*/
    1010
     
    5858<div class="wrap">
    5959<div style='width:200px;float:left'>
    60   <div id="icon-tools" class="icon32"><br /></div><h2>Settings</h2>
     60  <div id="icon-tools" class="icon32"><br /></div>
    6161</div>
    6262<form method="post" action="options.php">
    6363<?php settings_fields('adt_auto_describe_tags_group'); ?>
    6464<div class="postbox">
     65  <h2>Auto Describe Taxonomies - Settings</h2>
    6566<table class='form-table'>
    6667  <tr>
     
    8081    <th width="301" scope="row" align="right">Described tags:</th>
    8182    <td>
    82       <?php echo implode(', ',array_keys(get_option('adt_auto_describe_tags_described')));?>
     83        <?php
     84            $comma = 0;
     85            foreach (array_keys(get_option('adt_auto_describe_tags_described')) as $name) {
     86                // Get the tag id
     87                $tag_id = term_exists("$name");
     88                // Get the URL of this tag
     89                $tag_link = get_tag_link( (int)$tag_id, 'post_tag' );
     90                if ($comma == 0) $format = '<a href="%s" title="%s">%s</a>';
     91                else $format = ', <a href="%s" title="%s">%s</a>';
     92                echo sprintf(
     93                    $format,
     94                    esc_url($tag_link),
     95                    $tag_id,$name
     96                );
     97                $comma=1;                                                                                                       
     98            }
     99        ?>
    83100    </td>
    84101  </tr>
     
    93110    <th width="301" scope="row" align="right">Total categories described:</th>
    94111    <td>
    95       <?php echo sizeof(get_option('adt_auto_describe_cats_described')); ?>
     112                                        <?php
     113            $comma = 0;
     114            foreach (array_keys(get_option('adt_auto_describe_cats_described')) as $name) {
     115                // Get the ID of a given category
     116                $category_id = get_cat_ID( "$name" );
     117 
     118                // Get the URL of this category
     119                $category_link = get_category_link( $category_id );
     120               
     121                if ($comma == 0) $format = '<a href="%s" title="%s">%s</a>';
     122                else $format = ', <a href="%s" title="%s">%s</a>';
     123                echo sprintf(
     124                    $format,
     125                    esc_url($category_link),
     126                    $category_id,$name
     127                );
     128                $comma=1;                                                                                                       
     129                                                                                                                       
     130            }
     131        ?>
    96132    </td>
    97133  </tr>
  • auto-describe-taxonomies/tags/1.1/readme.txt

    r557559 r603426  
    1 === Auto Describe Taxonomies ===
     1=== Auto Describe Tags ===
    22Contributors: itscoolreally
    33Tags: tag, auto, describe, taxonomy, category, description, automatic, administration, freebase, metaweb, entities, words
    44Requires at least: 3.0.1
    5 Tested up to: 3.2
    6 Stable tag: 1.0.4
     5Tested up to: 3.4
     6Stable tag: 1.1
    77
    88Using freebase, this plugin will auto describe tags and categories.
     
    2626
    2727== Changelog ==
     28
     29= 1.1 =
     30Added links to all of the words under categories and tags to make it easier to jump to those pages and see what was pulled in from freebase.
     31
    2832= 1.0.4 =
    2933Fixed error issues with Dan Fratean's 1.0.3 version of the script. Forcibly taking up the torch on what appears to be an abandoned project.
    3034
     35== Update Notice ==
     36= 1.1 =
     37Update now to get an extra feature in your settings panel that allows you to quickly jump to the described pages for your taxonomies. That's the only change for now.
     38
     39== Frequently Asked Questions ==
     40Q: Why did you do this?
     41A: Because Dan Fratean was working on an upgrade that broke and he dropped off the face of the Earth. After much attempt to get an answer I decided to pick up the torch and continue from where he left off.
  • auto-describe-taxonomies/trunk/plugin.php

    r557554 r603426  
    33Plugin Name: Auto Describe Taxonomies
    44Plugin URI: http://wordpress.org/extend/plugins/auto-describe-taxonomies/
    5 Description:This plugin will auto-describe your post tags using freebase.<br>All you have to do after enabling it is to watch it work!<br>If you dont see any tag description in your frontend tag pages, make sure your wordpress theme is displaying them!<br>More information can be found here:<a href=\"http://www.bowierocks.com/auto-describe-taxonomies/\">http://www.bowierocks.com/auto-describe-taxonomies/</a>
    6 Version: 1.0.4
     5Description:This plugin will auto-describe your post tags using freebase.<br>All you have to do after enabling it is to watch it work!<br>If you dont see any tag description in your frontend tag pages, make sure your wordpress theme is displaying them!<br>More information can be found here:<a href=\"http://www.bowie-tx.com/auto-describe-taxonomies/\">http://www.bowie-tx.com/auto-describe-taxonomies/</a>
     6Version: 1.1
    77Author: itscoolreally
    8 Author URI: http://www.bowierocks.com/
     8Author URI: http://www.bowie-tx.com/
    99*/
    1010
     
    5858<div class="wrap">
    5959<div style='width:200px;float:left'>
    60   <div id="icon-tools" class="icon32"><br /></div><h2>Settings</h2>
     60  <div id="icon-tools" class="icon32"><br /></div>
    6161</div>
    6262<form method="post" action="options.php">
    6363<?php settings_fields('adt_auto_describe_tags_group'); ?>
    6464<div class="postbox">
     65  <h2>Auto Describe Taxonomies - Settings</h2>
    6566<table class='form-table'>
    6667  <tr>
     
    8081    <th width="301" scope="row" align="right">Described tags:</th>
    8182    <td>
    82       <?php echo implode(', ',array_keys(get_option('adt_auto_describe_tags_described')));?>
     83        <?php
     84            $comma = 0;
     85            foreach (array_keys(get_option('adt_auto_describe_tags_described')) as $name) {
     86                // Get the tag id
     87                $tag_id = term_exists("$name");
     88                // Get the URL of this tag
     89                $tag_link = get_tag_link( (int)$tag_id, 'post_tag' );
     90                if ($comma == 0) $format = '<a href="%s" title="%s">%s</a>';
     91                else $format = ', <a href="%s" title="%s">%s</a>';
     92                echo sprintf(
     93                    $format,
     94                    esc_url($tag_link),
     95                    $tag_id,$name
     96                );
     97                $comma=1;                                                                                                       
     98            }
     99        ?>
    83100    </td>
    84101  </tr>
     
    93110    <th width="301" scope="row" align="right">Total categories described:</th>
    94111    <td>
    95       <?php echo sizeof(get_option('adt_auto_describe_cats_described')); ?>
     112                                        <?php
     113            $comma = 0;
     114            foreach (array_keys(get_option('adt_auto_describe_cats_described')) as $name) {
     115                // Get the ID of a given category
     116                $category_id = get_cat_ID( "$name" );
     117 
     118                // Get the URL of this category
     119                $category_link = get_category_link( $category_id );
     120               
     121                if ($comma == 0) $format = '<a href="%s" title="%s">%s</a>';
     122                else $format = ', <a href="%s" title="%s">%s</a>';
     123                echo sprintf(
     124                    $format,
     125                    esc_url($category_link),
     126                    $category_id,$name
     127                );
     128                $comma=1;                                                                                                       
     129                                                                                                                       
     130            }
     131        ?>
    96132    </td>
    97133  </tr>
  • auto-describe-taxonomies/trunk/readme.txt

    r557559 r603426  
    1 === Auto Describe Taxonomies ===
     1=== Auto Describe Tags ===
    22Contributors: itscoolreally
    33Tags: tag, auto, describe, taxonomy, category, description, automatic, administration, freebase, metaweb, entities, words
    44Requires at least: 3.0.1
    5 Tested up to: 3.2
    6 Stable tag: 1.0.4
     5Tested up to: 3.4
     6Stable tag: 1.1
    77
    88Using freebase, this plugin will auto describe tags and categories.
     
    2626
    2727== Changelog ==
     28
     29= 1.1 =
     30Added links to all of the words under categories and tags to make it easier to jump to those pages and see what was pulled in from freebase.
     31
    2832= 1.0.4 =
    2933Fixed error issues with Dan Fratean's 1.0.3 version of the script. Forcibly taking up the torch on what appears to be an abandoned project.
    3034
     35== Update Notice ==
     36= 1.1 =
     37Update now to get an extra feature in your settings panel that allows you to quickly jump to the described pages for your taxonomies. That's the only change for now.
     38
     39== Frequently Asked Questions ==
     40Q: Why did you do this?
     41A: Because Dan Fratean was working on an upgrade that broke and he dropped off the face of the Earth. After much attempt to get an answer I decided to pick up the torch and continue from where he left off.
Note: See TracChangeset for help on using the changeset viewer.