<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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/"
> <channel><title>Comments on: Clickable tags for WordPress</title> <atom:link href="http://www.kristarella.com/2008/09/clickable-tags-for-wordpress/feed/" rel="self" type="application/rss+xml" /><link>http://www.kristarella.com/2008/09/clickable-tags-for-wordpress/</link> <description>Website of photography loving, mac-using, Christian molecular biology graduate working in web design.</description> <lastBuildDate>Fri, 10 Feb 2012 00:27:30 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: bipul</title><link>http://www.kristarella.com/2008/09/clickable-tags-for-wordpress/#comment-50999</link> <dc:creator>bipul</dc:creator> <pubDate>Sat, 26 Sep 2009 17:23:05 +0000</pubDate> <guid
isPermaLink="false">http://www.kristarella.com/?p=1393#comment-50999</guid> <description>Thanks a lot! Really appreciate your effort in trying to figure this out.</description> <content:encoded><![CDATA[<p>Thanks a lot! Really appreciate your effort in trying to figure this out.</p> ]]></content:encoded> </item> <item><title>By: kristarella</title><link>http://www.kristarella.com/2008/09/clickable-tags-for-wordpress/#comment-50956</link> <dc:creator>kristarella</dc:creator> <pubDate>Sat, 26 Sep 2009 08:05:10 +0000</pubDate> <guid
isPermaLink="false">http://www.kristarella.com/?p=1393#comment-50956</guid> <description>I have the answer for WordPress 2.8.4! This adds clickable tags for all the tags in your blog. Note, it is completely dependent on javascript to add the links to the page, which should be fine under most circumstances (I can&#039;t imagine many people are using the WP dashboard without javascript). Also, it is a standalone thing, you can essentially ignore the instructions in the post.You can put the following code in your theme&#039;s functions.php file. If you&#039;re using Thesis it would be in custom_functions.php. If your theme doesn&#039;t have a functions.php file you can just make one (starting with &lt;code&gt;&lt;?php&lt;/code&gt;) and put it in the main directory of your theme. Or you can also &lt;a href=&quot;http://codex.wordpress.org/Writing_a_Plugin&quot; rel=&quot;nofollow&quot;&gt;create a simple plugin file&lt;/a&gt; and activate the code as a plugin.&lt;pre&gt;function all_post_tags() {
$tags = get_tags(array(&#039;orderby&#039; =&gt; &#039;name&#039;, &#039;order&#039; =&gt; &#039;ASC&#039;, &#039;hide_empty&#039; =&gt; 0, &#039;get&#039; =&gt; &#039;all&#039;));
$tag_links = &#039;&lt;p id=&quot;alltags-post_tag&quot; class=&quot;the-tagcloud&quot;&gt; &#039;;
foreach ($tags as $tag)
$tag_links .= &#039;&lt;a href=&quot;#&quot; rel=&quot;tag&quot; class=&quot;tag-link-&#039; . $tag-&gt;term_id . &#039;&quot;&gt;&#039; . $tag-&gt;name . &#039;&lt;/a&gt; &#039;;
$tag_links .= &#039;&lt;/p&gt;&#039;;?&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
jQuery(function() {
jQuery(&#039;p.tagcloud-link&#039;).after(&#039;&lt;p class=&quot;alltags-link&quot;&gt;&lt;a href=&quot;#titlediv&quot; class=&quot;alltags-link&quot;&gt;Choose from all the Post Tags&lt;/a&gt;&lt;?php echo addcslashes($tag_links,&quot;&#039;&quot;); ?&gt;&lt;/p&gt;&#039;);
jQuery(&#039;p#alltags-post_tag&#039;).hide();
jQuery(&#039;a.alltags-link&#039;).click(function() {
jQuery(&quot;p#alltags-post_tag&quot;).toggle();
return false;
});
jQuery(&quot;p#alltags-post_tag a&quot;).click(function() {
tag_flush_to_text(&#039;post_tag&#039;, this);
return false;
});
});
&lt;/script&gt;
&lt;?php
}
add_action(&#039;admin_head&#039;,&#039;all_post_tags&#039;);&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>I have the answer for WordPress 2.8.4! This adds clickable tags for all the tags in your blog. Note, it is completely dependent on javascript to add the links to the page, which should be fine under most circumstances (I can&#8217;t imagine many people are using the WP dashboard without javascript). Also, it is a standalone thing, you can essentially ignore the instructions in the post.</p><p>You can put the following code in your theme&#8217;s functions.php file. If you&#8217;re using Thesis it would be in custom_functions.php. If your theme doesn&#8217;t have a functions.php file you can just make one (starting with <code>&lt;?php</code>) and put it in the main directory of your theme. Or you can also <a
href="http://codex.wordpress.org/Writing_a_Plugin" rel="nofollow">create a simple plugin file</a> and activate the code as a plugin.</p><pre>function all_post_tags() {
$tags = get_tags(array('orderby' =&gt; 'name', 'order' =&gt; 'ASC', 'hide_empty' =&gt; 0, 'get' =&gt; 'all'));
	$tag_links = '&lt;p id=&quot;alltags-post_tag&quot; class=&quot;the-tagcloud&quot;&gt; ';
	foreach ($tags as $tag)
		$tag_links .= '&lt;a href=&quot;#&quot; rel=&quot;tag&quot; class=&quot;tag-link-' . $tag-&gt;term_id . '&quot;&gt;' . $tag-&gt;name . '&lt;/a&gt; ';
	$tag_links .= '&lt;/p&gt;';

?&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
	jQuery(function() {
		jQuery('p.tagcloud-link').after('&lt;p class=&quot;alltags-link&quot;&gt;&lt;a href=&quot;#titlediv&quot; class=&quot;alltags-link&quot;&gt;Choose from all the Post Tags&lt;/a&gt;&lt;?php echo addcslashes($tag_links,&quot;'&quot;); ?&gt;&lt;/p&gt;');
		jQuery('p#alltags-post_tag').hide();
		jQuery('a.alltags-link').click(function() {
			jQuery(&quot;p#alltags-post_tag&quot;).toggle();
			return false;
		});
		jQuery(&quot;p#alltags-post_tag a&quot;).click(function() {
			tag_flush_to_text('post_tag', this);
			return false;
		});
	});
&lt;/script&gt;
&lt;?php
}
add_action('admin_head','all_post_tags');</pre>]]></content:encoded> </item> <item><title>By: kristarella</title><link>http://www.kristarella.com/2008/09/clickable-tags-for-wordpress/#comment-50829</link> <dc:creator>kristarella</dc:creator> <pubDate>Thu, 24 Sep 2009 23:29:27 +0000</pubDate> <guid
isPermaLink="false">http://www.kristarella.com/?p=1393#comment-50829</guid> <description>Yes, quite fair enough too. When they were previewing 2.7 at WordCamp they hadn&#039;t decided whether to do most used or recently used, or all of them... I was disappointed with the choice.I will investigate how to make this work again. Since the functionality is now partially built in, the method of posting the tags has changed a fair bit, but we should be able to work it.</description> <content:encoded><![CDATA[<p>Yes, quite fair enough too. When they were previewing 2.7 at WordCamp they hadn&#8217;t decided whether to do most used or recently used, or all of them&#8230; I was disappointed with the choice.</p><p>I will investigate how to make this work again. Since the functionality is now partially built in, the method of posting the tags has changed a fair bit, but we should be able to work it.</p> ]]></content:encoded> </item> <item><title>By: bipul</title><link>http://www.kristarella.com/2008/09/clickable-tags-for-wordpress/#comment-50792</link> <dc:creator>bipul</dc:creator> <pubDate>Thu, 24 Sep 2009 14:59:55 +0000</pubDate> <guid
isPermaLink="false">http://www.kristarella.com/?p=1393#comment-50792</guid> <description>Yes, Wordpress has its own &quot;most used tags&quot; in the write page. I don&#039;t want &quot;most used&quot;, I want all of my tags to show up there cause I have a specific list of tags and I am trying to build a navigation menu based on these tags. So, I don&#039;t want to add new, but similar, tags (eg. Smart grid, Smart-grid are treated as two different tags) by mistake.</description> <content:encoded><![CDATA[<p>Yes, WordPress has its own &#8220;most used tags&#8221; in the write page. I don&#8217;t want &#8220;most used&#8221;, I want all of my tags to show up there cause I have a specific list of tags and I am trying to build a navigation menu based on these tags. So, I don&#8217;t want to add new, but similar, tags (eg. Smart grid, Smart-grid are treated as two different tags) by mistake.</p> ]]></content:encoded> </item> <item><title>By: kristarella</title><link>http://www.kristarella.com/2008/09/clickable-tags-for-wordpress/#comment-50783</link> <dc:creator>kristarella</dc:creator> <pubDate>Thu, 24 Sep 2009 13:07:46 +0000</pubDate> <guid
isPermaLink="false">http://www.kristarella.com/?p=1393#comment-50783</guid> <description>&lt;a class=&quot;comment_link&quot; href=&quot;http://www.kristarella.com/2008/09/clickable-tags-for-wordpress/#comment-50741&quot; rel=&quot;nofollow&quot;&gt;bipul&lt;/a&gt; --- I haven&#039;t used this code for some time (WordPress 2.6 I think) because in WordPress 2.7 they introduced a list of commonly used tags in the tag meta box of the write page anyway. I don&#039;t know how the meta box code might have changed since then.I do know that &lt;code&gt;get_tags()&lt;/code&gt; still works and gets an array of the tags and their details. I still use that function on my archive page.What are you trying to do with this, given that WordPress has its own clicky list of tags on the write page?</description> <content:encoded><![CDATA[<p><a
class="comment_link" href="http://www.kristarella.com/2008/09/clickable-tags-for-wordpress/#comment-50741" rel="nofollow">bipul</a> &#8212; I haven&#8217;t used this code for some time (WordPress 2.6 I think) because in WordPress 2.7 they introduced a list of commonly used tags in the tag meta box of the write page anyway. I don&#8217;t know how the meta box code might have changed since then.</p><p>I do know that <code>get_tags()</code> still works and gets an array of the tags and their details. I still use that function on my archive page.</p><p>What are you trying to do with this, given that WordPress has its own clicky list of tags on the write page?</p> ]]></content:encoded> </item> <item><title>By: bipul</title><link>http://www.kristarella.com/2008/09/clickable-tags-for-wordpress/#comment-50743</link> <dc:creator>bipul</dc:creator> <pubDate>Thu, 24 Sep 2009 06:35:50 +0000</pubDate> <guid
isPermaLink="false">http://www.kristarella.com/?p=1393#comment-50743</guid> <description>seems like my tags got stripped! Edit: *found no tags like this: [p id=&quot;jaxtag&quot;]. Instead there is [div class=&quot;jaxtag&quot;].* Further.... *just above the  [div class=&quot;tagchecklist&quot;]*.. Am I missing something?</description> <content:encoded><![CDATA[<p>seems like my tags got stripped! Edit: *found no tags like this: [p id="jaxtag"]. Instead there is [div class="jaxtag"].* Further&#8230;. *just above the  [div class="tagchecklist"]*.. Am I missing something?</p> ]]></content:encoded> </item> <item><title>By: bipul</title><link>http://www.kristarella.com/2008/09/clickable-tags-for-wordpress/#comment-50741</link> <dc:creator>bipul</dc:creator> <pubDate>Thu, 24 Sep 2009 06:30:50 +0000</pubDate> <guid
isPermaLink="false">http://www.kristarella.com/?p=1393#comment-50741</guid> <description>Hi,
Exactly what I was looking for! Thanks. Although &quot;get_tags()&quot; did not seem to work for me, and I had to query the tags from the database directly.  However, the tags do not get posted when I click them. I checked the edit-form-advanced.php and found no tag like this &lt;code&gt;&lt;/code&gt;.  Instead there is &lt;code&gt;&lt;/code&gt;. Further, the piece of javascript code that you have suggests that the name of the text input field is &quot;newtag&quot; (re: getElementById(&#039;newtag&#039;)). In my version of wordpress (2.8.4), the text field is not named &#039;newtag&#039; but &#039;new-tag-post_tag&#039;. When I replace the id, the name of the tag is passed to the text box, but is not posted.   I placed the code just above the &lt;code&gt;&lt;/code&gt;. Am I missing something?</description> <content:encoded><![CDATA[<p>Hi,<br
/> Exactly what I was looking for! Thanks. Although &#8220;get_tags()&#8221; did not seem to work for me, and I had to query the tags from the database directly.  However, the tags do not get posted when I click them. I checked the edit-form-advanced.php and found no tag like this <code></code>.  Instead there is <code></code>. Further, the piece of javascript code that you have suggests that the name of the text input field is &#8220;newtag&#8221; (re: getElementById(&#8216;newtag&#8217;)). In my version of wordpress (2.8.4), the text field is not named &#8216;newtag&#8217; but &#8216;new-tag-post_tag&#8217;. When I replace the id, the name of the tag is passed to the text box, but is not posted.   I placed the code just above the <code></code>. Am I missing something?</p> ]]></content:encoded> </item> <item><title>By: kristarella.com in 2008 — kristarella.com</title><link>http://www.kristarella.com/2008/09/clickable-tags-for-wordpress/#comment-27589</link> <dc:creator>kristarella.com in 2008 — kristarella.com</dc:creator> <pubDate>Wed, 31 Dec 2008 03:08:59 +0000</pubDate> <guid
isPermaLink="false">http://www.kristarella.com/?p=1393#comment-27589</guid> <description>[...] I&#8217;m thinking I was just starting to procrastinate at this point: I implemented clickable tags in the WP write panel. Of course, it&#8217;s obsolete now that WP has finally implemented that feature themselves. [...]</description> <content:encoded><![CDATA[<p>[...] I&#8217;m thinking I was just starting to procrastinate at this point: I implemented clickable tags in the WP write panel. Of course, it&#8217;s obsolete now that WP has finally implemented that feature themselves. [...]</p> ]]></content:encoded> </item> <item><title>By: This week in kristarella — kristarella.com</title><link>http://www.kristarella.com/2008/09/clickable-tags-for-wordpress/#comment-26886</link> <dc:creator>This week in kristarella — kristarella.com</dc:creator> <pubDate>Tue, 09 Dec 2008 00:14:44 +0000</pubDate> <guid
isPermaLink="false">http://www.kristarella.com/?p=1393#comment-26886</guid> <description>[...] the menu is so handy and yet so out of the way; you can choose from your existing tags, which I was adding to the core code for a while; the colours are so subdued. [...]</description> <content:encoded><![CDATA[<p>[...] the menu is so handy and yet so out of the way; you can choose from your existing tags, which I was adding to the core code for a while; the colours are so subdued. [...]</p> ]]></content:encoded> </item> <item><title>By: Armen</title><link>http://www.kristarella.com/2008/09/clickable-tags-for-wordpress/#comment-23041</link> <dc:creator>Armen</dc:creator> <pubDate>Wed, 24 Sep 2008 23:54:35 +0000</pubDate> <guid
isPermaLink="false">http://www.kristarella.com/?p=1393#comment-23041</guid> <description>Nice work!To be honest, I&#039;ve never fallen for &#039;tags&#039;. They&#039;ve always bugged me, and organising them is a task in itself. As a result, I solely use categories.</description> <content:encoded><![CDATA[<p>Nice work!</p><p>To be honest, I&#8217;ve never fallen for &#8216;tags&#8217;. They&#8217;ve always bugged me, and organising them is a task in itself. As a result, I solely use categories.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 346/351 objects using disk: basic

Served from: www.kristarella.com @ 2012-02-11 15:57:33 -->
