<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HiddenTao &#187; Wordpress</title>
	<atom:link href="http://www.hiddentao.com/archives/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hiddentao.com</link>
	<description>software, websites, mobile, technology</description>
	<lastBuildDate>Mon, 30 Aug 2010 21:08:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Getting page tags to show on your WordPress pages</title>
		<link>http://www.hiddentao.com/archives/2010/03/24/getting-page-tags-to-show-on-your-pages/</link>
		<comments>http://www.hiddentao.com/archives/2010/03/24/getting-page-tags-to-show-on-your-pages/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 12:23:29 +0000</pubDate>
		<dc:creator>ram</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Page Tagger]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.hiddentao.com/?p=771</guid>
		<description><![CDATA[A number of users of Page Tagger have emailed in asking how to get their page tags showing on their pages. So I thought I&#8217;d put up a short blog post on how to do this. Once you&#8217;ve happily tagged your pages using Page Tagger you need to edit your theme&#8217;s page.php template. This is [...]]]></description>
			<content:encoded><![CDATA[<p>A number of users of <a href="http://www.hiddentao.com/code/wordpress-page-tagger-plugin/" class="liinternal">Page Tagger</a> have emailed in asking how to get their page tags showing on their pages. So I thought I&#8217;d put up a short blog post on how to do this.</p>

<p>Once you&#8217;ve happily tagged your pages using Page Tagger you need to edit your theme&#8217;s <code>page.php</code> template. This is the <a href="http://codex.wordpress.org/Pages#What_Template_is_used_to_Display_a_Particular_Page.3F" class="liwp">template which gets used by WordPress</a> whenever you view a static page (as opposed to a blog post) on your site.
<span id="more-771"></span>
Inside this file you should have a section resembling <a href="http://codex.wordpress.org/The_Loop" class="liwp">&#8220;The Loop&#8221;</a>:</p>

<p><pre><code>&lt;? php if (have_posts()) : while (have_posts()) : the_post(); ? >
...
&lt;? php endwhile; endif; ? >
</code></pre></p>

<p>Inside this section you need to place a call to the <code>the_tags()</code> template method. This will output your page tags at that spot with some default formatting. Read the <a href="http://codex.wordpress.org/Template_Tags/the_tags" class="liwp">documentation for the_tags()</a> for information on changing how it works. You can also use alternative functions such as <code>get_the_tags()</code>or <code>get_the_tag_list()</code> to achieve a similar effect.</p>

<p>If for some reason your page tags still aren&#8217;t showing on your page then please get in touch as it maybe a bug in the Page Tagger plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiddentao.com/archives/2010/03/24/getting-page-tags-to-show-on-your-pages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Page Tagger 0.3.5 and Common-Utils</title>
		<link>http://www.hiddentao.com/archives/2010/01/16/page-tagger-0-3-5-and-common-utils/</link>
		<comments>http://www.hiddentao.com/archives/2010/01/16/page-tagger-0-3-5-and-common-utils/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 14:46:27 +0000</pubDate>
		<dc:creator>ram</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Common-Utils]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Page Tagger]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.hiddentao.com/?p=702</guid>
		<description><![CDATA[A new version of Page Tagger is now available. Grab it now from here or the WordPress plugin repository. Also, I&#8217;ve put up a few Java classes I wrote a while back as a small library called Common-Utils. Included within are the following: ArrayUtils &#8211; Utility methods to fill an array with a given value [...]]]></description>
			<content:encoded><![CDATA[<p>A new version of <a href="http://www.hiddentao.com/code/wordpress-page-tagger-plugin/" class="liinternal">Page Tagger</a> is now available. Grab it now from <a href="http://www.hiddentao.com/code/wordpress-page-tagger-plugin/" class="liinternal">here</a> or the <a href="http://wordpress.org/extend/plugins/page-tagger/" class="liwp">WordPress plugin repository</a>.</p>

<p>Also, I&#8217;ve put up a few Java classes I wrote a while back as a small library called <a href="http://www.hiddentao.com/code/common-utils/" title="Common-Utils" class="liinternal">Common-Utils</a>. Included within are the following:</p>

<ul>
<li><code>ArrayUtils</code> &#8211; Utility methods to fill an array with a given value or check if it contains a given value.</li>
<li><code>DynamicArray</code> &#8211; A resizable &#8220;static&#8221; array for when you don&#8217;t quite need the full flexibility of <code>ArrayList</code>.</li>
<li><code>NonMutableIterator</code> &#8211; Wraps around a normal <code>Iterator</code> and disables use of the <code>remove</code> method.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hiddentao.com/archives/2010/01/16/page-tagger-0-3-5-and-common-utils/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Page Tagger 0.3.4</title>
		<link>http://www.hiddentao.com/archives/2009/12/20/page-tagger-0-3-4/</link>
		<comments>http://www.hiddentao.com/archives/2009/12/20/page-tagger-0-3-4/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 12:44:48 +0000</pubDate>
		<dc:creator>ram</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Page Tagger]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.hiddentao.com/?p=665</guid>
		<description><![CDATA[This is a new version of Page Tagger that has been tested to work with WordPress 2.9. Grab it now from here or the WordPress plugin repository.]]></description>
			<content:encoded><![CDATA[<p>This is a new version of <a href="http://www.hiddentao.com/code/wordpress-page-tagger-plugin/" class="liinternal">Page Tagger</a> that has been tested to work with WordPress 2.9.</p>

<p>Grab it now from <a href="http://www.hiddentao.com/code/wordpress-page-tagger-plugin/" class="liinternal">here</a> or the <a href="http://wordpress.org/extend/plugins/page-tagger/" class="liwp">WordPress plugin repository</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiddentao.com/archives/2009/12/20/page-tagger-0-3-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Page Tagger 0.3.2</title>
		<link>http://www.hiddentao.com/archives/2009/11/18/page-tagger-0-3-2/</link>
		<comments>http://www.hiddentao.com/archives/2009/11/18/page-tagger-0-3-2/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 21:18:07 +0000</pubDate>
		<dc:creator>ram</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Page Tagger]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.hiddentao.com/?p=633</guid>
		<description><![CDATA[This is a new version of Page Tagger that has been tested to work with WordPress 2.8.6. Some users were reporting that the tag editing interface was unusable when used in conjunction with certain other plugins (e.g. the multi-level navigation plugin). Other users were having trouble getting the plugin to work in the latest version [...]]]></description>
			<content:encoded><![CDATA[<p>This is a new version of <a href="http://www.hiddentao.com/code/wordpress-page-tagger-plugin/" class="liinternal">Page Tagger</a> that has been tested to work with WordPress 2.8.6.</p>

<p>Some users were reporting that the tag editing interface was unusable when used in conjunction with certain other plugins (e.g. the multi-level navigation plugin). Other users were having trouble getting the plugin to work in the latest version of WordPress (2.8.6). This release (hopefully) fixes these issues.</p>

<p>Grab it now from <a href="http://www.hiddentao.com/code/wordpress-page-tagger-plugin/" class="liinternal">here</a> or the <a href="http://wordpress.org/extend/plugins/page-tagger/" class="liwp">WordPress plugin repository</a>.</p>

<p><strong>Update (Nov20):</strong> The plugin has been updated to 0.3.3 now. This fixes a callback bug which was preventing the plugin from initialising on certain installations.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiddentao.com/archives/2009/11/18/page-tagger-0-3-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating an archives page like mine</title>
		<link>http://www.hiddentao.com/archives/2009/09/22/creating-an-archives-page-like-mine/</link>
		<comments>http://www.hiddentao.com/archives/2009/09/22/creating-an-archives-page-like-mine/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 12:58:49 +0000</pubDate>
		<dc:creator>ram</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.hiddentao.com/?p=556</guid>
		<description><![CDATA[A plugin user recently wrote in asking me how to create an archives page like mine. So I thought I&#8217;d give everyone the lowdown on how to do this in this post. First of all, there is no search box on my site just now because 1) I didn&#8217;t think I had enough content to [...]]]></description>
			<content:encoded><![CDATA[<p>A plugin user recently wrote in asking me how to create an <a href="http://www.hiddentao.com/archives/" class="liinternal">archives page like mine</a>. So I thought I&#8217;d give everyone the lowdown on how to do this in this post.
<span id="more-556"></span></p>

<p>First of all, there is no search box on my site just now because 1) I didn&#8217;t think I had enough content to warrant this, and 2) I tag all the content I create quite extensively. So my archives view doesn&#8217;t handle search results. Nor does it handle querying for specific dates, categories or authors. But I do handle querying for tags. Secondly, all the relevant template files from my theme for making this work can be found at the <a href="#files" class="liinternal">bottom</a>.</p>

<h2>Initial archives view</h2>

<p>From the <a href="http://codex.wordpress.org/Theme_Development#Theme_Template_Files" class="liwp">WordPress theme developer documentation</a> we know that we should provide an <strong>archive.php</strong> template file in our theme folder to handle the viewing of blog archives. I&#8217;ve implemented this for my theme. It gets shown when you click the <em>Archives</em> navigational button at the top of the page. In order for WordPress to know that it needs to show this page when you visit <em>/archives</em> I have the following placed in my template&#8217;s <strong>page.php</strong>:</p>

<pre><code>if ('archives' == SITE_SECTION)
{
    require_once('archive.php');
    exit;
}
</code></pre>

<p><em>(The <code>SITE_SECTION</code> constant tells me which top-level site-section the user is currently in. This is linked to how I generate the navigational links at the top &#8211; the code for this is in my theme&#8217;s functions.php</em>).</p>

<p>I then create a publicly-viewable static page called &#8216;Archives&#8217; and leave it empty, ensuring that its URL path is set to <em>/archives</em>. Now whenever someone visits this URL they get shown the contents of the <strong>archive.php</strong> template.</p>

<p>Inside <strong>archive.php</strong> I use the <code>wp_tag_cloud()</code> method to display a cloud of the most popular tags. I then have the following section of code to display all the posts, grouped by month:</p>

<pre><code>    // get all posts in descending date order
    query_posts('posts_per_page=10000&amp;orderby=date&amp;order=DESC&amp;post_type=post');

    $list_of_posts = array();

    // split entries into blog posts and static pages
    while (have_posts())
    {
        the_post();
        global $post;
        $list_of_posts[] = $post;
    }

    // show them
    require_once('archive_show_posts_by_month.inc.php');
</code></pre>

<p>The <strong>archive_show_posts_by_month.inc.php</strong> script does exactly what it says on the tin. It takes the <code>$list_of_posts</code> array and outputs the posts, grouped by month. Now you might wonder why I&#8217;m calling <code>query_posts</code> and performing a database fetch. It&#8217;s because by default WordPress has only fetched the contents of the static page located at <em>/archives</em> since that&#8217;s what it thinks is being displayed to the user. So in this code I fetch all the blog posts from the database (if you have more than 10,000 blog posts then by all means use a larger number in the query).</p>

<p>So that&#8217;s the display of the <a href="http://www.hiddentao.com/archives/" class="liinternal">initial archives page</a> done. Now for the tag-specific archives (<a href="http://www.hiddentao.com/archives/tag/code/" class="liinternal">example</a>)&#8230;</p>

<h2>Archives for a given tag</h2>

<p>At the top of <strong>archive.php</strong> I have the following code:</p>

<pre><code>global $wp_query;
$qry_tag_name = $wp_query-&gt;query_vars['tag'];
if ('' != $qry_tag_name)
{
    require_once('archive_results.php');
    exit;
}
</code></pre>

<p>When you try to view the archives for a specific tag WordPress will automatically invoke the <strong>archive.php</strong> template. This code then checks to see if you&#8217;re viewing a specific tag rather than viewing the initial archives page. If so, it invokes the <strong>archive_results.php</strong> template. Inside this template we have the following code:</p>

<pre><code>// get proper tag name
$tag_name = single_tag_title("", false);

&lt;?php if (have_posts()) : ?&gt;

&lt;?php
    $list_of_posts = array();
    $list_of_pages = array();

    // split entries into blog posts and static pages
    while (have_posts()) :

        the_post();
        global $post;
        if ('post' === $post-&gt;post_type)
        {
            $list_of_posts[] = $post;
        }
        else if ('page' === $post-&gt;post_type)
        {
            $list_of_pages[] = $post;
        }

    endwhile;   

    ?&gt;
        &lt;div class="results_pages"&gt;
            &lt;p class="description"&gt;
                All pages tagged &lt;strong&gt;'&lt;?php echo $tag_name; ?&gt;'&lt;/strong&gt;:
            &lt;/p&gt;

            &lt;div class="indented"&gt;
    &lt;?php
        require_once('archive_show_pages.inc.php');
    ?&gt;
            &lt;/div&gt;

        &lt;/div&gt;

        &lt;div class="results_posts"&gt;
            &lt;p class="description"&gt;
                All blog posts tagged &lt;strong&gt;'&lt;?php echo $tag_name; ?&gt;'&lt;/strong&gt;, from newest to oldest:
            &lt;/p&gt;

            &lt;div class="indented"&gt;

    &lt;?php
        require_once('archive_show_posts_by_month.inc.php');
    ?&gt;
            &lt;/div&gt;

        &lt;/div&gt;

&lt;?php else : ?&gt;

        &lt;p class="description"&gt;
            No posts tagged &lt;strong&gt;'&lt;?php echo $tag_name; ?&gt;'&lt;/strong&gt; were found.
        &lt;/p&gt;

&lt;?php endif; ?&gt;
</code></pre>

<p>This code splits the list of entries (already loaded by WordPress since you&#8217;re viewing tag-specific archives) into static pages and blog posts. It then calls <strong>archive_show_pages.inc.php</strong> and <strong>archive_show_posts_by_month.inc.php</strong> to display each set of entries one after another.</p>

<h2 id="files">Files</h2>

<p>Template files from my theme: <a href="http://www.hiddentao.com/downloads/hiddentao_archives.zip" class="lizip">ZIP file</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiddentao.com/archives/2009/09/22/creating-an-archives-page-like-mine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Page-Tags is now known as &#8220;Page Tagger&#8221;</title>
		<link>http://www.hiddentao.com/archives/2009/09/08/page-tags-is-now-known-as-page-tagger/</link>
		<comments>http://www.hiddentao.com/archives/2009/09/08/page-tags-is-now-known-as-page-tagger/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 15:20:58 +0000</pubDate>
		<dc:creator>ram</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Page Tagger]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.hiddentao.com/?p=477</guid>
		<description><![CDATA[I&#8217;ve decided to submit my page tagging plugin to the official WordPress plugin repository to both increase its awareness amongst the WordPress user population and to make it easier for me to deliver bug fixes and other updates to users. Since there is already a plugin called &#8220;Page Tags&#8221; on there I&#8217;ve decided to rename [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided to submit my <a href="http://www.hiddentao.com/code/wordpress-page-tagger-plugin/" class="liinternal">page tagging plugin</a> to the official <a href="http://wordpress.org/extend/plugins/page-tagger/" class="liwp">WordPress plugin repository</a> to both increase its awareness amongst the WordPress user population and to make it easier for me to deliver bug fixes and other updates to users. Since there is already a plugin called &#8220;Page Tags&#8221; on there I&#8217;ve decided to rename mine to <strong>Page Tagger</strong>. Note that all the functionality within the plugin remains unchanged.</p>

<p>If you&#8217;re interested in sharing your own plugins with the WordPress community the instructions and FAQs are available at <a href="http://wordpress.org/extend/plugins/about/" class="liwp">http://wordpress.org/extend/plugins/about/</a>.</p>

<p><strong>Update (Sep16)</strong>: The plugin is now available in the WordPress plugin directory at <a href="http://wordpress.org/extend/plugins/page-tagger/" class="liwp">http://wordpress.org/extend/plugins/page-tagger/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiddentao.com/archives/2009/09/08/page-tags-is-now-known-as-page-tagger/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Page Tagger</title>
		<link>http://www.hiddentao.com/code/wordpress-page-tagger-plugin/</link>
		<comments>http://www.hiddentao.com/code/wordpress-page-tagger-plugin/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 14:51:20 +0000</pubDate>
		<dc:creator>ram</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Page Tagger]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.hiddentao.com/?page_id=464</guid>
		<description><![CDATA[Page Tagger (formerly Page-Tags) is a WordPress plugin which lets you tag your pages just like you do your blog posts. It adds a tagging widget in the page-editing view in the admin interface. This plugin requires PHP 5 and WordPress 2.8.4. It has been tested on upto WordPress 3.0 RC1. An older version of [...]]]></description>
			<content:encoded><![CDATA[<p>Page Tagger (formerly <em>Page-Tags</em>) is a <a href="http://www.wordpress.org/" title="Goto WordPress homepage" class="liwp">WordPress</a> plugin which lets you tag your pages just like you do your blog posts. It adds a tagging widget in the page-editing view in the admin interface.</p>

<p>This plugin requires PHP 5 and WordPress 2.8.4. It has been tested on upto WordPress 3.0 RC1. An older version of the plugin is available below for WordPress 2.7 users.</p>

<p>WordPress plugin page: <a href="http://wordpress.org/extend/plugins/page-tagger/" class="liwp">link</a>.</p>

<p>License: <a href="http://www.gnu.org/licenses/gpl.txt" title="GNU General Public License" class="link-external">GPL 3</a>.</p>

<p>Current version: 0.3.6</p>

<p>Skip to:
<span class="spaced_out"><a href="#installation" class="liinternal">Installation</a></span>
<span class="spaced_out"><a href="#usage" class="liinternal">Usage</a></span>
<span class="spaced_out"><a href="#changelog" class="liinternal">Changelog</a></span></p>

<form class='donate' method='post' action='https://www.paypal.com/cgi-bin/webscr'>		<input type='hidden' value='' name='amount'/>		<input type='hidden' value='_xclick' name='cmd'/>		<input type='hidden' value='paypal_donations@hiddentao.com' name='business'/>		<input type='hidden' value='Support Page Tagger with a donation' name='item_name'/>		<input type='hidden' value='1' name='no_shipping'/>		<input type='hidden' value='http://www.hiddentao.com/about/thank-you-for-your-donation/' name='return'/>		<input type='hidden' value='http://www.hiddentao.com' name='cancel_return'/>		<input type='hidden' value='GBP' name='currency_code'/>		<input type='hidden' value='' name='page_style'/>		<input type='hidden' value='0' name='tax'/>		<input type='image' alt='PayPal - The safer, easier way to pay online' name='submit' style='border: 0pt none ;' src='http://www.hiddentao.com/images/icons/donate_paypal.png' title='Support Page Tagger with a donation'/></form>

<h2 id="installation">Installation</h2>

<h3>WordPress 2.7</h3>

<ol>
<li>Download <a href="http://www.hiddentao.com/downloads/wordpress-page-tags-plugin-0.2.zip" class="lizip">Page-Tags 0.2</a>.</li>
<li>Unzip it into your WordPress <code>plugins</code> folder such that the plugin files are at <code>wp-content/plugins/page-tags/...</code>.</li>
<li>Enable the plugin within your blog&#8217;s administration options.</li>
<li>All done!</li>
</ol>

<h3>WordPress 2.8.4 and above</h3>

<ol>
<li>Download the latest version from the <a href="http://wordpress.org/extend/plugins/page-tagger/" class="liwp">WordPress plugin directory page</a>.</li>
<li>Unzip it into your WordPress <code>plugins</code> folder such that the plugin files are at <code>wp-content/plugins/page-tagger/...</code>.</li>
<li>Enable the plugin within your blog&#8217;s administration options.</li>
<li>All done!</li>
</ol>

<h2 id="usage">Usage</h2>

<p>To add tags to a page simply edit the page. You will see a tagging box on on the right-hand side which works exactly like the one you see when you edit a blog post. It should look something like this (assuming you&#8217;re using the default admin theme for WordPress 2.8):</p>

<p><img src="http://farm4.static.flickr.com/3349/3207162263_4cb925c194_o.png" alt="Page-Tags tagging box" longdesc="Page-Tags tagging box" /></p>

<p>Furthermore, when viewing the archives for a given tag you will now see the associated pages as well as the blog posts: <a href="http://www.hiddentao.com/archives/tag/code/" title="Archives for tag: Code" class="liinternal">Example</a>.</p>

<p>Page tags will also appear within the tag cloud widget.</p>

<h2 id="changelog">Changelog</h2>

<ul>
<li>0.3.6 (Jun 8, 2010)

<ul>
<li>The plugin now works with WordPress 3 RC1.</li>
</ul></li>
<li>0.3.5 (Jan 16, 2010)

<ul>
<li>When clicking &#8216;Preview&#8217; button &#8216;Add new tag&#8217; no longer gets added as a tag</li>
<li>Updated documentation</li>
</ul></li>
<li>0.3.4 (Dec 20, 2009)

<ul>
<li>Fixed to work with WordPress 2.9</li>
</ul></li>
<li>0.3.3 (Nov 20, 2009)

<ul>
<li>Fixed callback bug which was preventing the plugin from initialising on certain installations.</li>
</ul></li>
<li>0.3.2 (Nov 18, 2009)

<ul>
<li>Fixed plugin conflict issue which was sometimes causing the tag editing interface to stop working.</li>
</ul></li>
<li>0.3.1 (Sep 8, 2009)

<ul>
<li>Plugin renamed to <em>Page Tagger</em></li>
</ul></li>
<li>0.3 (Sep 8, 2009)

<ul>
<li>Plugin now works in WordPress 2.8+.</li>
<li><em>If your page tags were no longer showing in tag clouds then you need to upgrade to this version (0.3) and then <a href="http://www.hiddentao.com/archives/2009/09/08/page-tags-0-3/" class="liinternal">follow instructions to restore the correct post counts for each tag</a>.</em> </li>
</ul></li>
<li>0.2 (Apr 3, 2009)

<ul>
<li>Fixed a bug which was preventing tags added whilst editing pages from appearing in the tag cloud widget.</li>
</ul></li>
<li>0.1 (Jan 18, 2009) &#8211; the initial release.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hiddentao.com/code/wordpress-page-tagger-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Page-Tags 0.3</title>
		<link>http://www.hiddentao.com/archives/2009/09/08/page-tags-0-3/</link>
		<comments>http://www.hiddentao.com/archives/2009/09/08/page-tags-0-3/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 11:34:10 +0000</pubDate>
		<dc:creator>ram</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Page Tagger]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.hiddentao.com/?p=459</guid>
		<description><![CDATA[This is a new version of Page-Tags that works with WordPress 2.8.4. Under the previous version of Page-Tags (0.2) upgrading to WordPress 2.8 may have caused your page tags to no longer appear in tag clouds. To rectify this install the latest version of the plugin and then re-save (edit and save without making any [...]]]></description>
			<content:encoded><![CDATA[<p>This is a new version of <a href="http://www.hiddentao.com/code/wordpress-page-tags-plugin/" class="liinternal">Page-Tags</a> that works with WordPress 2.8.4.</p>

<p>Under the previous version of Page-Tags (0.2) upgrading to WordPress 2.8 may have caused your page tags to no longer appear in tag clouds. To rectify this install the latest version of the plugin and then re-save (edit and save without making any changes) all your pages. This will correct the post counts for each tag, which in turn will cause your page tags to show up again in tag clouds.</p>

<p><em>Note: Page-Tags 0.3 is not backwards compatible with WordPress 2.7, so if you&#8217;re running the older version of WordPress please stick to using Page-Tags 0.2.</em></p>

<p><strong>Update (Sep8):</strong> The plugin has been <a href="http://www.hiddentao.com/archives/2009/09/08/page-tags-is-now-known-as-page-tagger/" class="liinternal">renamed to Page Tagger</a>. And it requires WordPress 2.8.4 to function correctly (thanks <a href="http://www.acumendevelopment.net/" class="link-external">Leo</a>).</p>

<p><strong>Update (Sep15):</strong> Instead of editing and re-saving all your pages to update the post count you can simply run the following query in your MySQL database (replace <code>wp_</code> with the appropriate prefix for your database tables):</p>

<p><code>UPDATE wp_term_taxonomy t set count=(SELECT COUNT(*) FROM wp_term_relationships r, wp_posts p WHERE p.ID = r.object_id AND (p.post_type = 'post' OR p.post_type='page') AND r.term_taxonomy_id = t.term_taxonomy_id)</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiddentao.com/archives/2009/09/08/page-tags-0-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Page-Tags 0.2</title>
		<link>http://www.hiddentao.com/archives/2009/04/03/page-tags-02/</link>
		<comments>http://www.hiddentao.com/archives/2009/04/03/page-tags-02/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 16:39:01 +0000</pubDate>
		<dc:creator>ram</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Page Tagger]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.hiddentao.com/?p=335</guid>
		<description><![CDATA[A recently noticed issue with the Page-Tags plugin was that if you added a new tag when editing a page the tag didn&#8217;t show up in the tag cloud sidebar widget. Only tags which were also associated with one or more blog posts were showing up in the tag cloud. I was seeing the same [...]]]></description>
			<content:encoded><![CDATA[<p>A <a href="http://www.hiddentao.com/archives/2009/01/18/tag-your-wordpress-27-pages/#comment-435" class="liinternal"> recently noticed</a> issue with the <a href="http://www.hiddentao.com/code/wordpress-page-tags-plugin/" class="liinternal">Page-Tags</a> plugin was that if you added a new tag when editing a page the tag didn&#8217;t show up in the tag cloud sidebar widget. Only tags which were also associated with one or more blog posts were showing up in the tag cloud. I was seeing the same problem on my <a href="http://www.hiddentao.com/archives/" class="liinternal">archives</a> page.</p>

<p>This issue has now been fixed in the <a href="http://www.hiddentao.com/code/wordpress-page-tags-plugin/" class="liinternal">latest version</a>. <strong>To get the tags you&#8217;ve already added showing, install the updated plugin, and then edit and save the corresponding pages without making any changes</strong>.
<span id="more-335"></span>
For the developers among you, the cause of this bug is situated the callback function used to calculate how many posts are linked to a given tag:</p>

<pre><code>function _update_post_term_count( $terms ) {
    global $wpdb;

    foreach ( (array) $terms as $term ) {
        $count = $wpdb-&gt;get_var( $wpdb-&gt;prepare( "SELECT COUNT(*) FROM $wpdb-&gt;term_relationships, $wpdb-&gt;posts WHERE $wpdb-&gt;posts.ID = $wpdb-&gt;term_relationships.object_id AND post_status = 'publish' AND post_type = 'post' AND term_taxonomy_id = %d", $term ) );
        $wpdb-&gt;update( $wpdb-&gt;term_taxonomy, compact( 'count' ), array( 'term_taxonomy_id' =&gt; $term ) );
    }
}
</code></pre>

<p>As you can see it only counts blog posts. Page-Tags 0.2 simply replaces this callback function with one which also counts pages.</p>

<p><em>Note: The sidebar tag cloud widget will only show the top 45 tags (see the documentation for the wp_tag_cloud function).</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiddentao.com/archives/2009/04/03/page-tags-02/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web server information plugin</title>
		<link>http://www.hiddentao.com/archives/2009/03/31/server-information-plugin/</link>
		<comments>http://www.hiddentao.com/archives/2009/03/31/server-information-plugin/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 11:08:12 +0000</pubDate>
		<dc:creator>ram</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Server-Info]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.hiddentao.com/?p=318</guid>
		<description><![CDATA[I do all the development work for this site on my local machine, using a mirror copy of the live database and WordPress installation. Once I&#8217;m happy with any changes made I apply them to the live web server (usually via Subversion). I use the HOSTS file to redirect all browser calls for hiddentao.com to [...]]]></description>
			<content:encoded><![CDATA[<p>I do all the development work for this site on my local machine, using a mirror copy of the live database and WordPress installation. Once I&#8217;m happy with any changes made I apply them to the live web server (usually via Subversion). I use the <a href="http://en.wikipedia.org/wiki/Hosts_file" rel="nofollow" class="liwikipedia">HOSTS file</a> to redirect all browser calls for <strong>hiddentao.com</strong> to the local IP address (127.0.0.1) so that I can properly test URL linking and redirection. This way I can experiment as much as I like on my local copy without worrying about causing any damage to the live website.
<span id="more-318"></span>
The problem is, when viewing the local copy of the site it looks exactly the same as the live website, especially since I&#8217;m using the same database data. And I&#8217;ve always got lots of browser windows open, as I test and compare changes between the live website and the local copy. Very recently I caught myself making some big changes in the live website administration pages, thinking I was accessing the local copy. I decided that I needed an easily visible way of knowing which server the website I&#8217;m accessing is running on.</p>

<p>And behold &#8211; the <a href="http://www.hiddentao.com/code/wordpress-server-info-plugin/" title="Server-Info plugin" class="liinternal">Server-Info</a> plugin. Once enabled it will display a floating box at the top-left-hand corner of the webpage, containing the hostname and IP address of the webserver. The box will remain in that position, even when you scroll the page:</p>

<p><img src="http://farm4.static.flickr.com/3615/3401500736_8312c67db6_o.png" alt="Server-Info box" longdesc="Server-Info box" /></p>

<p><em>Note: You can change the look and feel and layout of the box by editing the CSS file that comes with the plugin</em>.</p>

<p>By default the information box only gets shown when viewing an administration page. But in the administration options for the plugin you can set it to show on blog pages too, with the ability to restrict this to e.g. when the user is logged in.</p>

<p>Questions and comments are welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hiddentao.com/archives/2009/03/31/server-information-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
