{"id":3727,"date":"2015-10-06T14:56:33","date_gmt":"2015-10-06T13:56:33","guid":{"rendered":"http:\/\/t-machine.org\/?p=3727"},"modified":"2015-10-06T14:56:33","modified_gmt":"2015-10-06T13:56:33","slug":"how-to-get-an-awesome-tag-cloud-for-wordpress","status":"publish","type":"post","link":"http:\/\/new.t-machine.org\/index.php\/2015\/10\/06\/how-to-get-an-awesome-tag-cloud-for-wordpress\/","title":{"rendered":"How to get an awesome tag-cloud for WordPress"},"content":{"rendered":"<p>There&#8217;s only a few tag-cloud plugins that still work &#8211; most of them have stopped being supported.<\/p>\n<p>The best one I found <a href=\"https:\/\/wordpress.org\/plugins\/ultimate-tag-cloud-widget\/screenshots\/\">has super-awesome-multi-colour mode<\/a>. But by default it&#8217;s disabled, and the config-options don&#8217;t include a way to turn it on. You have to dig in the developer documentation to find out how.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/s.w.org\/plugins\/ultimate-tag-cloud-widget\/screenshot-2.png?r=1260377\"\/><br \/>\n<!--more--><\/p>\n<p>ALSO &#8230; by default, it uses your theme&#8217;s CSS styles for the cloud. That is a really bad idea &#8211; it disables most of the tag-cloud features (including the &#8220;cloud&#8221; part!). Again, unfixable unless you dig in the dev docs to find the secret command.<\/p>\n<p>For future reference (because I&#8217;m pretty sure I&#8217;ll be using this on other sites soon), here&#8217;s a working PHP snippet you can embed in your Template source (<strong>I hate<\/strong> that WordPress still has this stupid bug where you can only modify pages by writing new PHP files &#8211; so stupid and unnecessary!) in your Theme folder:<\/p>\n<blockquote><p>\n$args = array( &#8220;title&#8221; => &#8220;&#8221;, &#8220;color&#8221; => &#8220;random&#8221;, &#8220;text_transform&#8221; => &#8220;capitalize&#8221;, &#8220;link_italic&#8221; => &#8220;yes&#8221;, &#8220;hover_underline&#8221; => &#8220;yes&#8221;, &#8220;alignment&#8221; => &#8220;center&#8221;, &#8220;link_bg_color&#8221; => &#8220;#DDDDDD&#8221;, &#8220;separator&#8221; => &#8221; &#8211; &#8220;, &#8220;show_title_text&#8221; => 0, &#8220;avoid_theme_styling&#8221; => &#8220;true&#8221;, &#8220;max&#8221; => 50 );<\/p>\n<p>do_utcw( $args );\n<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s only a few tag-cloud plugins that still work &#8211; most of them have stopped being supported. The best one I found has super-awesome-multi-colour mode. But by default it&#8217;s disabled, and the config-options don&#8217;t include a way to turn it on. You have to dig in the developer documentation to find out how.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55,66,3],"tags":[],"_links":{"self":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/posts\/3727"}],"collection":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/comments?post=3727"}],"version-history":[{"count":1,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/posts\/3727\/revisions"}],"predecessor-version":[{"id":3728,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/posts\/3727\/revisions\/3728"}],"wp:attachment":[{"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/media?parent=3727"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/categories?post=3727"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/new.t-machine.org\/index.php\/wp-json\/wp\/v2\/tags?post=3727"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}