<?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: How To Customize WordPress&#8217;s Tag Cloud Widget</title>
	<atom:link href="http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/</link>
	<description>Support and additional material related to how-to guides by Maria Langer.</description>
	<lastBuildDate>Fri, 10 Feb 2012 18:13:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: slotenmaker hasselt</title>
		<link>http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-11069</link>
		<dc:creator>slotenmaker hasselt</dc:creator>
		<pubDate>Wed, 05 Oct 2011 09:06:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-11069</guid>
		<description>Finally! I was looking for this &#039;trick&#039; for some time but with your post everyting was clear and my tagcloud is better looking now. Many thanks!</description>
		<content:encoded><![CDATA[<p>Finally! I was looking for this &#8216;trick&#8217; for some time but with your post everyting was clear and my tagcloud is better looking now. Many thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Modify the Wordpress Tag Cloud Widget Easily &#124; Bryan Veloso</title>
		<link>http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-10651</link>
		<dc:creator>Modify the Wordpress Tag Cloud Widget Easily &#124; Bryan Veloso</dc:creator>
		<pubDate>Sat, 10 Sep 2011 09:32:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-10651</guid>
		<description>[...] such, and landed on different blogs sharing different methods to modify the widget. I also landed on this page which tells everyone to modify the WordPress core. But I don&#8217;t think it&#8217;s the best [...]</description>
		<content:encoded><![CDATA[<p>[...] such, and landed on different blogs sharing different methods to modify the widget. I also landed on this page which tells everyone to modify the WordPress core. But I don&#8217;t think it&#8217;s the best [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gringo</title>
		<link>http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-10544</link>
		<dc:creator>Gringo</dc:creator>
		<pubDate>Sat, 03 Sep 2011 11:03:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-10544</guid>
		<description>TYVM for this info. I was cracking my head to find out how to solve this problem in my custom template, and I finally found the answer here.

I also had a problem setting a new css to this tag cloud while I wanted to specify a background and different color schemes from my other template links. Knowing about this file helped me out in this issue too. I was able to add a &quot;span class&quot; between the &quot;a href&quot; insert in the code (line 681 for me) and now everything just works wonderful. I hope this can help someone else with the same issue.

Thanks a lot!</description>
		<content:encoded><![CDATA[<p>TYVM for this info. I was cracking my head to find out how to solve this problem in my custom template, and I finally found the answer here.</p>
<p>I also had a problem setting a new css to this tag cloud while I wanted to specify a background and different color schemes from my other template links. Knowing about this file helped me out in this issue too. I was able to add a &#8220;span class&#8221; between the &#8220;a href&#8221; insert in the code (line 681 for me) and now everything just works wonderful. I hope this can help someone else with the same issue.</p>
<p>Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Esther</title>
		<link>http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-7660</link>
		<dc:creator>Esther</dc:creator>
		<pubDate>Thu, 07 Apr 2011 07:10:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-7660</guid>
		<description>Thanks Maria for bringing this up and special thanks for BoiteaWeb for this perfect solution. Works like a charm.</description>
		<content:encoded><![CDATA[<p>Thanks Maria for bringing this up and special thanks for BoiteaWeb for this perfect solution. Works like a charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sagive</title>
		<link>http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-6838</link>
		<dc:creator>Sagive</dc:creator>
		<pubDate>Thu, 20 Jan 2011 18:56:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-6838</guid>
		<description>Can anyone add a code to first one 
that include comma, meaning --&gt;  ,
between tags ?</description>
		<content:encoded><![CDATA[<p>Can anyone add a code to first one<br />
that include comma, meaning &#8211;&gt;  ,<br />
between tags ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BLeavitt</title>
		<link>http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-3050</link>
		<dc:creator>BLeavitt</dc:creator>
		<pubDate>Thu, 02 Dec 2010 19:52:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-3050</guid>
		<description>Maria, 

Thanks for posting and letting this discussion continue on. 

Boitea, 

This is exactly what I was looking for. Your remedy allows for the core to be updated without killing the hack, and without having to install another plugin. 

Much Thanks,
Brent</description>
		<content:encoded><![CDATA[<p>Maria, </p>
<p>Thanks for posting and letting this discussion continue on. </p>
<p>Boitea, </p>
<p>This is exactly what I was looking for. Your remedy allows for the core to be updated without killing the hack, and without having to install another plugin. </p>
<p>Much Thanks,<br />
Brent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BoiteaWeb</title>
		<link>http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-2934</link>
		<dc:creator>BoiteaWeb</dc:creator>
		<pubDate>Wed, 24 Nov 2010 20:56:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-2934</guid>
		<description>NEVER HACK CORE !

use my trick in your functions themes :

function my_tag_cloud($defaults) {
	$args = array(
		&#039;smallest&#039; =&gt; 8, &#039;largest&#039; =&gt; 16, &#039;unit&#039; =&gt; &#039;pt&#039;, &#039;number&#039; =&gt; 25,
		&#039;format&#039; =&gt; &#039;flat&#039;, &#039;separator&#039; =&gt; &quot;\n&quot;, &#039;orderby&#039; =&gt; &#039;name&#039;, &#039;order&#039; =&gt; &#039;ASC&#039;,
		&#039;exclude&#039; =&gt; &#039;&#039;, &#039;include&#039; =&gt; &#039;&#039;, &#039;link&#039; =&gt; &#039;view&#039;, &#039;taxonomy&#039; =&gt; &#039;post_tag&#039;, &#039;echo&#039; =&gt; true
	);
	$args = wp_parse_args( $args, $defaults );
	$tags = get_terms( $args[&#039;taxonomy&#039;], array_merge( $args, array( &#039;orderby&#039; =&gt; &#039;count&#039;, &#039;order&#039; =&gt; &#039;DESC&#039; ) ) ); // Always query top tags

	if ( empty( $tags ) )
		return;

	foreach ( $tags as $key =&gt; $tag ) {
		if ( &#039;edit&#039; == $args[&#039;link&#039;] )
			$link = get_edit_tag_link( $tag-&gt;term_id, $args[&#039;taxonomy&#039;] );
		else
			$link = get_term_link( intval($tag-&gt;term_id), $args[&#039;taxonomy&#039;] );
		if ( is_wp_error( $link ) )
			return false;

		$tags[ $key ]-&gt;link = $link;
		$tags[ $key ]-&gt;id = $tag-&gt;term_id;
	}

	$return = wp_generate_tag_cloud( $tags, $args ); // Here&#039;s where those top tags get sorted according to $args

	$return = apply_filters( &#039;my_tag_cloud&#039;, $return, $args );

	if ( &#039;array&#039; == $args[&#039;format&#039;] &#124;&#124; empty($args[&#039;echo&#039;]) )
		return $return;

	echo $return;
}

add_filter(&#039;wp_tag_cloud&#039;, &#039;my_tag_cloud&#039;);


Now you can change the default value, etc.

See u</description>
		<content:encoded><![CDATA[<p>NEVER HACK CORE !</p>
<p>use my trick in your functions themes :</p>
<p>function my_tag_cloud($defaults) {<br />
	$args = array(<br />
		&#8216;smallest&#8217; =&gt; 8, &#8216;largest&#8217; =&gt; 16, &#8216;unit&#8217; =&gt; &#8216;pt&#8217;, &#8216;number&#8217; =&gt; 25,<br />
		&#8216;format&#8217; =&gt; &#8216;flat&#8217;, &#8216;separator&#8217; =&gt; &#8220;\n&#8221;, &#8216;orderby&#8217; =&gt; &#8216;name&#8217;, &#8216;order&#8217; =&gt; &#8216;ASC&#8217;,<br />
		&#8216;exclude&#8217; =&gt; &#8221;, &#8216;include&#8217; =&gt; &#8221;, &#8216;link&#8217; =&gt; &#8216;view&#8217;, &#8216;taxonomy&#8217; =&gt; &#8216;post_tag&#8217;, &#8216;echo&#8217; =&gt; true<br />
	);<br />
	$args = wp_parse_args( $args, $defaults );<br />
	$tags = get_terms( $args['taxonomy'], array_merge( $args, array( &#8216;orderby&#8217; =&gt; &#8216;count&#8217;, &#8216;order&#8217; =&gt; &#8216;DESC&#8217; ) ) ); // Always query top tags</p>
<p>	if ( empty( $tags ) )<br />
		return;</p>
<p>	foreach ( $tags as $key =&gt; $tag ) {<br />
		if ( &#8216;edit&#8217; == $args['link'] )<br />
			$link = get_edit_tag_link( $tag-&gt;term_id, $args['taxonomy'] );<br />
		else<br />
			$link = get_term_link( intval($tag-&gt;term_id), $args['taxonomy'] );<br />
		if ( is_wp_error( $link ) )<br />
			return false;</p>
<p>		$tags[ $key ]-&gt;link = $link;<br />
		$tags[ $key ]-&gt;id = $tag-&gt;term_id;<br />
	}</p>
<p>	$return = wp_generate_tag_cloud( $tags, $args ); // Here&#8217;s where those top tags get sorted according to $args</p>
<p>	$return = apply_filters( &#8216;my_tag_cloud&#8217;, $return, $args );</p>
<p>	if ( &#8216;array&#8217; == $args['format'] || empty($args['echo']) )<br />
		return $return;</p>
<p>	echo $return;<br />
}</p>
<p>add_filter(&#8216;wp_tag_cloud&#8217;, &#8216;my_tag_cloud&#8217;);</p>
<p>Now you can change the default value, etc.</p>
<p>See u</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerome</title>
		<link>http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-2701</link>
		<dc:creator>Jerome</dc:creator>
		<pubDate>Wed, 03 Nov 2010 13:10:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-2701</guid>
		<description>Nice tip! in case you don&#039;t use animated tag cloud;) I prefer this type of clouds (like CircumTags cloud widget) cause the look much cooler!</description>
		<content:encoded><![CDATA[<p>Nice tip! in case you don&#8217;t use animated tag cloud;) I prefer this type of clouds (like CircumTags cloud widget) cause the look much cooler!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-1975</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Sat, 14 Aug 2010 12:59:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-1975</guid>
		<description>Thanks!
Another few lines (601) down is where you can change the link hint to say &quot;posts&quot; instead of &quot;topics&quot;. I&#039;ve never understood why the default is &quot;topics&quot; when it&#039;s linking to posts.

function default_topic_count_text( $count ) {
	return sprintf( _n(&#039;%s post&#039;, &#039;%s posts&#039;, $count), number_format_i18n( $count ) );
}

cheers!</description>
		<content:encoded><![CDATA[<p>Thanks!<br />
Another few lines (601) down is where you can change the link hint to say &#8220;posts&#8221; instead of &#8220;topics&#8221;. I&#8217;ve never understood why the default is &#8220;topics&#8221; when it&#8217;s linking to posts.</p>
<p>function default_topic_count_text( $count ) {<br />
	return sprintf( _n(&#8216;%s post&#8217;, &#8216;%s posts&#8217;, $count), number_format_i18n( $count ) );<br />
}</p>
<p>cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Soult</title>
		<link>http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-1796</link>
		<dc:creator>Graham Soult</dc:creator>
		<pubDate>Fri, 30 Jul 2010 09:05:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-1796</guid>
		<description>Thanks Maria, I&#039;ll do that!</description>
		<content:encoded><![CDATA[<p>Thanks Maria, I&#8217;ll do that!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maria Langer</title>
		<link>http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-1767</link>
		<dc:creator>Maria Langer</dc:creator>
		<pubDate>Wed, 28 Jul 2010 19:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-1767</guid>
		<description>@Graham
You&#039;re welcome! The drawback is that you might lose your changes when you upgrade WordPress. I&#039;ve started using the Better Tag Cloud plugin and widget instead. You might want to check it out.</description>
		<content:encoded><![CDATA[<p>@Graham<br />
You&#8217;re welcome! The drawback is that you might lose your changes when you upgrade WordPress. I&#8217;ve started using the Better Tag Cloud plugin and widget instead. You might want to check it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Soult</title>
		<link>http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-1766</link>
		<dc:creator>Graham Soult</dc:creator>
		<pubDate>Wed, 28 Jul 2010 19:00:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-1766</guid>
		<description>Thanks Maria! I was Googling how to do exactly this, and your advice was spot on. I now have an expanded tag cloud, but using smaller fonts throughout. Perfect!</description>
		<content:encoded><![CDATA[<p>Thanks Maria! I was Googling how to do exactly this, and your advice was spot on. I now have an expanded tag cloud, but using smaller fonts throughout. Perfect!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BJ</title>
		<link>http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-1192</link>
		<dc:creator>BJ</dc:creator>
		<pubDate>Sat, 20 Mar 2010 21:31:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-1192</guid>
		<description>Thanks so much, I knew this snippet of code had to be in there somewhere.. I saw so many other worse ways of doing it before finding this.</description>
		<content:encoded><![CDATA[<p>Thanks so much, I knew this snippet of code had to be in there somewhere.. I saw so many other worse ways of doing it before finding this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kim</title>
		<link>http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-1191</link>
		<dc:creator>Kim</dc:creator>
		<pubDate>Wed, 16 Sep 2009 09:19:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-1191</guid>
		<description>You guys rock.  Your discussion has saved me many hours of work.  So simple when we all share what we love!!</description>
		<content:encoded><![CDATA[<p>You guys rock.  Your discussion has saved me many hours of work.  So simple when we all share what we love!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maria Langer</title>
		<link>http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-1190</link>
		<dc:creator>Maria Langer</dc:creator>
		<pubDate>Wed, 10 Jun 2009 13:14:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.mariasguides.com/2008/12/14/how-to-customize-wordpresss-tag-cloud-widget/#comment-1190</guid>
		<description>Dave: You&#039;re right, of course. The problem with hacking -- even a simple hack like this -- is that when you update the software, the hack is overwritten with the new files.

I&#039;ve since found a plugin that does what I need: Simple Tags. Not only does it offer a customizable Tag Cloud widget, but it adds a bunch of tag management features.

Thanks for the reality check!</description>
		<content:encoded><![CDATA[<p>Dave: You&#8217;re right, of course. The problem with hacking &#8212; even a simple hack like this &#8212; is that when you update the software, the hack is overwritten with the new files.</p>
<p>I&#8217;ve since found a plugin that does what I need: Simple Tags. Not only does it offer a customizable Tag Cloud widget, but it adds a bunch of tag management features.</p>
<p>Thanks for the reality check!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

