A Better Tag Cloud

Tagged WordPress plugin

I was pretty annoyed with the default tag cloud widget. It does a lot of things wrong, like inconsistent HTML markup and hardcoded font sizes. So I wanted to write my own. Digging through the code I found out that the wordpress wp_tag_cloud() function is pretty powerful. In fact, it could do almost everyhing I want. So I abandoned my plan to rewrite everything from scratch and added a nice admin interface to my tag cloud widget.

This plugin makes the options for wp_tag_cloud() available to a tag cloud widget and a shortcode. This means that you can easily choose things like font sizes, HTML markup and ordering. See the wp_tag_cloud page for what the settings can do.

Additionally, it is possible to sort tags by count and alphabetically at the same time. It is also possible to add a counter to the tags, so that your visitors can see how many posts are associated with each tag. The plugin also adds a sensible CSS class to every tag.

Here’s a demo of the new shortcode:

Usage

The easiest way to use this plugin is to drag the widget into one of your sidebars.

There is as well the shortcode [nktagcloud]. Examples:

  1. [nktagcloud] This displays the tag cloud as configured on the options page.
  2. [nktagcloud single=yes] This does the same but shows only the tags of the current post.
  3. [nktagcloud post_id=1234] Displays the tags of the post identified by post_id.
  4. [nktagcloud separator=”" categories=no] Remove separator and categories.

Using the tag cloud in your theme

You can call the function nktagcloud_shortcode() from your theme to get the same output as from the shortcode. Example:

if ( function_exists( 'nktagcloud_shortcode' ) ) {
    echo nktagcloud_shortcode( null );
}

There’s also the nk_wp_tag_cloud() function. You can use it to generate a tag cloud with a different configuration than the plugin’s one. It accepts the same parameters as wp_tag_cloud(). Example:

if ( function_exists( 'nk_wp_tag_cloud' ) ) {
    echo nk_wp_tag_cloud( 'single=yes&separator= - &categories=no' );
}

Additonal parameters (all strings):

  • single: Only tags of the current post (‘Yes’, ‘No’)
  • categories: Inlude categories in the cloud (‘Yes’, ‘No’)
  • replace: Convert blanks to non-breaking spaces (‘Yes’, ‘No’)
  • post_id: Display only tags of the specified post (post ID)
  • mincount: Show only tags that have been used at least so many times
  • separator: Tag separator
  • inject_count: Add a counter to the tag (‘Yes’, ‘No’)
  • inject_count_outside: Add the counter outside of the tag hyperlink (‘Yes’, ‘No’)
  • nofollow: Add the noffow attribute to the tags in the cloud (‘Yes’, ‘No’)

Downloads are at the plugin’s WordPress.org page.

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay

Related posts:

  1. Theme switch and preview plugin
  2. Move WordPress Comments
  3. Convert WordPress pages to posts

299 Comments

  • Posted by The Local Landing on 6. November 2008 at 21:18.

    I like the options on the widget, but when I try to change the number of tags shown in the widget options, it won’t change. When I change it and click the “Update Settings” button or the “Change” button, neither one will work, and it resets itself to 0. I managed to get the number of tags I want showing by editing the number in the php code, but I thought you might like to know it’s not working for me in the widget options.

  • Posted by The Local Landing on 6. November 2008 at 21:20.

    Oh, sorry, also, that was happening with version 0.1.0 yesterday and still today when I upgraded to 0.2.0 and I’m using WordPress 2.6.3

    If that helps. :)

    • Posted by nicolas on 7. November 2008 at 11:18.

      Please try the 0.2.1 release. I think it’s fixed now. Thanks for reporting.

  • Posted by The Local Landing on 12. November 2008 at 22:08.

    That is some snappy updating! Working great for us now. Thanks for the great plugin.

  • Posted by Chris on 19. November 2008 at 16:42.

    I like it, it’s a perfect widget.

    Just one question, is there a paid version to remove the credit link?

  • Posted by Klaus on 8. February 2009 at 15:52.

    Hi, thanks for the great plugin! Just one question .. is there a way to have 2 widgets. I want to display it on two different sidebars.
    Thanks and keep up the good work!

    • Posted by nicolas on 12. February 2009 at 22:32.

      Hallo Klaus, it’s not possible at the moment. I’ll have to modify the widget. Will look into it, maybe this week.

      • Posted by nicolas on 15. February 2009 at 09:44.

        It turns out that the documentation for doing a multi instance widget is really lousy. I did look into it but it’s going to take more time.

  • Posted by gestroud on 14. February 2009 at 01:14.

    Hello,

    Is it possible to have the widget sort the most popular tags in alphabetical order? Thanks!

    • Posted by nicolas on 14. February 2009 at 20:19.

      Hi gestroud, I think there’s a flaw in your logic: you either sort a list alphabetically or by popularity. You could give one criterion precedence over the other, but that doesn’t make a lot of sense imo.
      Btw, you didn’t define popularity, what do you mean by that word?
      Maybe you could write down an example sorting to make it clear what you mean.

  • Posted by patrick on 27. February 2009 at 23:51.

    I installed the tag cloud and it works grat, but I don’t think any of my custom changes made a difference. what am i missing. also, can the color be changed.

    • Posted by nicolas on 28. February 2009 at 14:46.

      Patrick, looks fine to me on your site. The color can be changed through css.

  • Posted by Triton Bloom on 8. March 2009 at 21:05.

    Hey Nicolas, I would like to know if in the future a feature to add post count next to the tags will be implemented. I’m currently using Configurable Tag Cloud plugin for WordPress. Furthermore, about gestrouds comment concerning sorting most popular tags in alphabetical order. I have also wanted this feature.

    e.g. If you have 4 tags and they are labeled as: student, classes, books, courses. Let say you have 10 posts that contain the student tag and the remaining 3 tags both have an equal number of 7 posts.

    The order for most popular would be: student, classes, books and courses.

    The order for most popular sorted alphabetically would be: student, books, classes and courses.

    My current tags plugin sorts by most popular, but for tags with the same post count the tags are listed from what I can tell to be randomly.

    In the future, do you think you can implement such features perhaps?

    • Posted by nicolas on 9. March 2009 at 16:59.

      Ok, I’m starting to see the need for such a feature. Would require re-implementing wp_tag_cloud function (copy & paste) and adding some sorting. Doesn’t sound too hard. Stay tuned for an update.

  • Posted by Adryan on 10. March 2009 at 16:09.

    Hello,

    you have made a new update and now the Tag Cluod ist absolutly wrong ro see in the IE.

    The Tags are all in one line around the complett Website …..
    But only in the IE…when i take the FF is all okay…whats up there?

    • Posted by nicolas on 10. March 2009 at 21:02.

      It’s probably a CSS issue, but I can’t verify that unless you enable the widget on your site. The modifications I did should not change anything about the CSS.
      Maybe you changed the remove css option?

  • Posted by Triton Bloom on 12. March 2009 at 07:24.

    Hey Nicolas, I just checked back for updates and installed the latest version of your better tag cloud widget. I have found the following:

    On my blog, I have you widget set to “list” format, however, the tags are still displayed as a “flat” format. I have cleared browsers cache etc, but still the same results.

    Furthermore, may I suggest the font size be entered in manually in a box rather than selected from a list? This would allow for manual font sizes which would include decimal point fonts.

    • Posted by nicolas on 12. March 2009 at 19:16.

      Hi, your first issue seems to be fixed. About the font sizes… don’t know. I’m not sure why It’s a dropdown. Will look into it when I have some time.

  • Posted by Triton Bloom on 12. March 2009 at 20:37.

    My tags are still displaying as a “flat” format even though I have “list” selected as the format in the widget settings.

    • Posted by nicolas on 13. March 2009 at 13:38.

      No they are not, and what makes you think your current display is flat? How would list look different? Look at the HTML, it’s clearly a list.

  • Posted by Chris on 10. April 2009 at 15:42.

    I disabled the plug-in but the credit link is still on all of my pages. Can you tell me how to uninstall the link?

  • Posted by solar on 13. April 2009 at 12:14.

    very useful, thanks.

  • Posted by Rick on 22. April 2009 at 21:23.

    None of the changes I make through the widget are affecting the tag cloud on my page. I have tried refreshing and clearing the cache.

    • Posted by nicolas on 24. April 2009 at 18:51.

      The tag cloud widget isn’t enabled on your site. Please check the widgets settings page.

  • Posted by binoy devan on 25. April 2009 at 08:39.

    Thanks for this wonderful Plugin buddy…

  • Posted by Kerry on 25. April 2009 at 11:51.

    Hi nicolas,

    Do you know if it’s possible to have tags that are one-word hyperlinks to my other site’s web pages.

    Thanks,

    Kerry

  • Posted by colleen on 3. June 2009 at 04:03.

    Hi — Thanks for the widget. I have a question: Do you know why on our site the tags are underlined? I’d like it to look like yours (without them). Thanks.

    • Posted by nicolas on 3. June 2009 at 07:01.

      Adding

      li#better-tag-cloud a { text-decoration: none; }

      to your site’s css file should do that.

  • Posted by Jeffrey on 11. June 2009 at 22:59.

    The settings for “Number of tags to show” (currently set to 20)and “Force tags with multiple words on one line?” (currently set to Yes) seem to be ignored.

    • Posted by nicolas on 11. June 2009 at 23:21.

      That’s odd, both work for me. Which version of the plugin and wordpress do you use? Do you maybe use some cache?

  • Posted by sc on 12. June 2009 at 21:41.

    Error at widget %BEG_OF_TITLE% Tags %END_OF_TITLE%

    How to fix it… my blog gone

    • Posted by nicolas on 14. June 2009 at 11:36.

      Please add plugin and wordpress version you’re using. If your blog is gone, just disable the plugin or remove it’s directory from your plugin folder if you can’t access the admin interface.

  • Posted by rami on 16. June 2009 at 23:55.

    can you add the “exclude” parameter to the widjet form?

    • Posted by nicolas on 17. June 2009 at 11:31.

      Oh, right, that has been on my TODO forever. Will look into it soon, thanks for reminding.

  • [...] そこでご紹介したいプラグイン(拡張機能)が「Better tag cloud widget」になります。これはフォントサイズの上限を指定したり、UL/LIを使用してリスト表示してくれるというプラグインです。 [...]

  • Posted by sheela on 29. August 2009 at 02:35.

    Hi,
    I am using your plug-in with thesis theme. I want to create a list instead of a linear display, but the ‘list’ format doesn’t seem to be working. What am I missing. Here is the test page. www. eduweave .org/blog

    • Posted by nicolas on 29. August 2009 at 09:32.

      Hi sheela, are you maybe talking about my tag cloud plugin? The list/flat setting only changes the HTML, how that is displayed is a CSS issue. Please try the remove CSS setting.

  • Posted by John Zajaros on 30. August 2009 at 21:40.

    I had your template on another blog too http://JohnZajaros. com and everything was fine until I added Google analytics to the footer.php in the theme editor. I have it on the http://TheQuestRevealed. com and all is well. But when I added Google Analytics to the footer.php right above the like it said to, the johnzajaros.com theme added a second “search this blog” box on the header for some reason. TheQuestRevealed.com is fine. I have deleted the theme at johnzajaros.com and reloaded it but the search box comes back at the top, that second “Search on this blog” box. I can’t get rid of it. I went into the header code and think I see where the code is duplicated but I am not a code person, so I left it alone. But I really like your theme and would like to use it on all of my blogs. But I need to fix this problem first. Any ideas? I hope I was clear enough.

    John Zajaros
    216-712-6526
    excellencepaidforward@gmail.com

  • Posted by Penguin » Meine Plugins on 9. September 2009 at 20:47.

    [...] -Better Tag Cloud Widget Ein nützliches Plugin welches weitere Einstellungen zu der normalen Tag Cloud hinzufügt. Besuch die Plugin-Seite [...]

  • Posted by Maya on 12. September 2009 at 01:42.

    It took me forever to find this plugin, but it was worth the wait! Thanks so much!

    I was just wondering how to make one little change. I want the post count to be after the tag link. My category links are formatted that way, and it’s driving me crazy to have them different from the tags!

    • Posted by nicolas on 14. September 2009 at 01:49.

      Do you mean that the counter is not a link? Yes, I think that would be better too.

      • Posted by Maya on 17. September 2009 at 05:45.

        Yes. My category list only includes the category name in the link; the post count comes after it. The tag list includes the name and count in the link.

        I looked in your plugin’s code to see if I could do it myself, but it’s too advanced for me, I’m afraid.

        ETA: Just logged in to wp-admin and see you have added this to the new version. Thanks so much!

  • Posted by SedonaCyberLink on 13. September 2009 at 19:36.

    I’ve tried upgrading to the new version, but when I click the ‘Automatically Install’ button, the file will not unzip properly. I’m using WP version 2.8.4…but, my hosting company did not have PhP 5.0 on their server at the time of my initial install. I now have it; but, I’m wondering if the unzip functionality is now defunct.
    Any ideas?

    • Posted by nicolas on 14. September 2009 at 01:47.

      Do you get an error message? If so please paste it here. You could create a file that contains <php phpinfo();, call it info.php, put it somewhere on your server and open it in your browser to check if zip is available. Is my plugin the only one you have problems with?

  • Posted by yugz on 15. September 2009 at 20:11.

    i was thinking of an option for your tag cloud:
    adding existing categories to tag list… (just a simple checkbox)
    it exist in many other tag plugin and i thind it usefull.
    maybe it depends on site hierarchy/organisation but it helps for mine.

    thanx in advance and congrats for your good job

    • Posted by nicolas on 16. September 2009 at 13:55.

      I’ll have to look into this. No idea how much work it is.
      In the meantime you should check your WordPress settings, it looks like you configured 192.168.25.254 as your home URL, which basically breaks your blog for everybody not on your local network. See this page.

  • Posted by Cheryl F. (The Lucky Ladybug) on 1. October 2009 at 19:56.

    I really like your format best and the options you’ve included in your plugin. yugz already asked, but could you add support for categories? I’d also like to be able to use multiple instances of the widget — one for categories and one for tags. THANK YOU!

    This one does categories if the source will help you :
    http://wordpress.org/extend/plugins/configurable-tag-cloud-widget/

    • Posted by nicolas on 2. October 2009 at 21:02.

      Thanks for the link. I wasn’t aware that this plugin does categories and will have a look at it. Multiple instances should be possible with the new 2.8 widget API, but I haven’t looked into it yet. Last time I looked into it (pre 2.8) it was a total mess.

  • Posted by Cheryl F. (The Lucky Ladybug) on 10. October 2009 at 18:55.

    Thank You for today’s upgrade! I left a topic in Wordpress – http://wordpress.org/support/topic/319718 . I’m having problems excluding a category and tag with the same name, slug, and term ID.

  • Posted by cornel on 14. October 2009 at 19:34.

    I just upgraded the wordpress plugin 0.8.1.2. it shows as 0.8.1 and the widget title is not displayed. Any ideas? It worked with the previous version.

  • Posted by Better Tag Cloud Widget in italiano |gidibao’s Cafe on 15. October 2009 at 10:43.

    [...] di fornire un supporto di base ai blogger che affidano a WordPress le loro pubblicazioni online: Better Tag Cloud Widget Plugin by Nicolas [...]

  • Posted by Joss on 18. October 2009 at 13:33.

    Oh noes!

    I installed the newer version and it doesn’t display anything :O

  • Posted by Joss on 18. October 2009 at 13:58.

    OK found the issue – previously the plugin was automatically displaying the results, now it returns them – neded to specify “echo nk_wp_tag_cloud(”

    All fixed

    • Posted by Nicolas on 18. October 2009 at 16:44.

      Right, I changed the function. I wasn’t aware that people call them directly. :-) Will have to keep this in mind in future plugin upgrades, thanks for the report!

      • Posted by Nicolas on 18. January 2010 at 21:52.

        I am preparing a new release and the function’s behavior will change again, for the better I hope :-) The function will completely ignore all plugin settings, but you will be able to to configure everything from your nk_wp_tag_cloud() call. I just need to update the docs.

  • Posted by Better Tag Cloud på dansk – med kategorier on 19. October 2009 at 08:32.

    [...] mere om pluginnet i WordPress’ Plugin Directory eller på pluginnets hjemmeside Måske vil følgende interessere dig:Enkel, kompakt oversigt over indlægEgen rækkefølge og [...]

  • Posted by Max on 20. October 2009 at 01:14.

    Hi, thank you for that wonderful widget. I very much like the possibility to add categories to the cloud. The only thing to mention is that the exclude list should also apply to category names and not just tags. Don’t you agree … ?

    • Posted by Nicolas on 20. October 2009 at 11:53.

      Hi Max, absolutely! I’m aware that this doesn’t work, but it’s a low priority for me, sorry about that. It will take some time until I look into it. There are also problems if you have tags and categories with the same name.

  • Posted by Steve Baldock on 21. October 2009 at 11:52.

    Version 0.8.4.1 appears to have introduced another error – it now doesn’t work!!

    Did an auto upgrade and it failed at line 19 of nktagcloud.php….

    Issues?

  • Posted by Steve Baldock on 21. October 2009 at 15:05.

    (re: my previous post)

    Is the plugin WP 2.8.5 compatible?
    Shall I try another upgrade of the plugin (I’ve just restored an old version 0.4.0)

    • Posted by Nicolas on 21. October 2009 at 15:34.

      That’s very odd. Line 19 uses the register_sidebar_widget() which is in wordpress core. The plugin is definitely compatible with 2.8.5 (i use it on this site). If you try again and get an error again would you please paste the whole error if there is more?

      • Posted by Steve Baldock on 23. October 2009 at 02:34.

        Nicholas
        Thanks – just tried again and it’s fine now. Don’t know what happened originally.

        I was actually very surprised how quickly and pain-free the upgrade to WP 2.8.5 was – seconds compared to over an hour to back my site up beforehand!

  • Posted by Kaspars on 23. October 2009 at 18:36.

    Hello Nicolas,

    thank you for the plugin. Ability to customize tag cloud is a nice feature.

    I was wondering if there’s a possibility to show only those tags which have been used more than X times, for example, if I have lots of tags which are used only once (or twice), I would like to not show them in the cloud.

    I was looking into code, but couldn’t figure out if it’s easily hackable or not.

    Thank you,
    Kaspars.

    • Posted by Nicolas on 24. October 2009 at 02:03.

      Hi Kaspars, that would be easy to add, I’ve added it to my todo. In the meantime you can simply limit the total number of tags. I think I can get that feature into the next release.

    • Posted by Nicolas on 26. October 2009 at 12:50.

      Hi Kaspars, today’s 0.8.5 release includes this feature and other improvements.

      • Posted by Kaspars on 26. October 2009 at 15:36.

        Hi, Nicolas

        A big thank you for the update! You just made my day :)

        Kaspars

  • Posted by MattHart on 28. October 2009 at 19:06.

    I just launched a new site ohaskin.com and installed your tag cloud for the first time. I am now going back and adding tags to all of my PAGES (posts were already done) but I am not seeing any change in the tag cloud. Does it only use tags from posts and not pages? Is there a way for it to include pages? Thanks!

    • Posted by Nicolas on 29. October 2009 at 10:51.

      Hello MattHart,

      are you using a plugin to create page tags? To my knowledge WordPress doesn’t support that out of the box. So yes, the plugin only uses tags from posts.

  • Posted by Chris King on 4. November 2009 at 12:40.

    Nicolas

    I am complete newbie to Wordpress/themes/plug ins etc.

    I am just setting up my site and cannot work out how I can configure your plug in. Can you help and point me to where I can find the configuration option. I am running a theme and have been looking in both that dashboard, the main WP dashboard and the Widgets section.

    Thanks in advance for your help and your plug in.

    Chris

    • Posted by Nicolas on 4. November 2009 at 16:06.

      Hi Chris, the options page is under Settings -> Better Tag Cloud. The widget itself links to the settings page too. Maybe you looked at the “Tag Cloud” widget, this plugin’s widget is called “Better Tag Cloud”.

  • Posted by Leandro on 4. November 2009 at 23:09.

    Hey,

    I’m just passing by to thank you for this pluggin. I’m currently using it on my blog http://www.logisticadescomplicada .com and it helped me fixing an issue I had before!

    Cheers!

  • Posted by Eric on 7. November 2009 at 06:33.

    I really like this plugin. I just updated to the latest version of this plug-in, but it is not working properly (and I haven’t touched the code). It is properly displaying the categories used on the posts, but the link is not working (shows http://sitename.com/?tag= for every category). Is this something you’ve encountered before?

    • Posted by Nicolas on 7. November 2009 at 10:44.

      Hello Eric, that’s strange. I have tested it on my development server (wp 2.8.5) and it works with and without permalinks for me. You could try to deactivate your other plugins. If the tag cloud works again, add them back one by one.

  • Posted by Phil on 9. November 2009 at 21:51.

    I can’t get the css of this to show up on the page!

    • Posted by Nicolas on 10. November 2009 at 12:11.

      Hi Phil, looks fine on your site. You could have deactivated the CSS in the plugin options, or your template doesn’t have a wp_head call.

  • Posted by Kiley on 10. November 2009 at 06:18.

    Hey there I’ve been having a problem with the plug-in. I created my Wordpress Theme using Artisteer and installed Wordpress on my web host.

    I’ve installed the Better Tag plug-in from: REMOVED and installed it successfully. I activated the plug-in and am able to access the configuration settings but don’t know how to make the tags display in different sizes??

    Is there a problem with my theme?

    Here is a link to my website: REMOVED

    Your help would be much appreciated :-)

    • Posted by Nicolas on 10. November 2009 at 14:30.

      Hi Kiley, it doesn’t look like you use my widget at all. You have to drag it into your sidebar on the widgets page. The tags will all have the same size if the number of articles associated with a tag are equal.

  • Posted by Jake - DesignerFied on 11. November 2009 at 02:57.

    Works great… easy to use!!! Thanks for this plugin!

  • Posted by Dave on 13. November 2009 at 13:38.

    Nice plugin, but one small issue (the same one Eric has).

    Having looked into your code I have fixed the issue (category links will not be built from the function get_tag_link):

    On line 143 in inc/page.php change
    $link = get_tag_link( $tag->term_id );
    to
    if ( isset($tag->cat_ID) )
    $link = get_category_link( $tag->term_id );
    else
    $link = get_tag_link( $tag->term_id );

    • Posted by Nicolas on 13. November 2009 at 14:44.

      Hi Dave, you’re right! I will fix this asap.

    • Posted by Nicolas on 13. November 2009 at 14:59.

      Ok, I have added your fix and made a 0.8.9 release which should be available for download in a few minutes. I’m really a little puzzled how this bug made it into an official release..

  • Posted by GeorgWP on 18. November 2009 at 23:16.

    Hi Nicolas,

    Nice plugins you have written.

    Would it be possible to add a function to include/exclude categories? That would be really nice!

    • Posted by Nicolas on 19. November 2009 at 01:20.

      Hi Georg, I’ll have to look into this. Might take some time though.

  • Posted by GeorgWP on 18. November 2009 at 23:34.

    PS: There are a number of strings that are not yet internationalized. To wit http://easycaptures.com/fs/uploaded/422/1366134344.png

    • Posted by Nicolas on 19. November 2009 at 01:23.

      These strings are internationalized. Where did you get the translation from? It looks like the translator didn’t use the pot file that comes with the plugin.
      If anybody localizes the plugin I’d like to include their work in the official release. Users shouldn’t have to download separate translation files.

  • Posted by Rahul on 19. November 2009 at 16:34.

    Hello Nicolas,

    I tried your plugin for one of my site. I have configured it properly but the tags are not visible in the Better Tag Cloud section on the site.Also the when I give one tag in the Included Tags section of configuration page it comes on the site but not all the tags I used in my posts.

    Please suggest what m doing wrong.

    Thanks

    • Posted by Nicolas on 19. November 2009 at 17:45.

      Hi Rahul, looks fine to me. If you give tags to include they are the only tags that will be shown, that is expected behaviour.

      • Posted by Rahul on 20. November 2009 at 08:18.

        Hi Nicolas,

        Yes that i accept but can’t this plugin automatically include all the tags posted in the posts/pages, same as the default tag cloud of word press? Should i need insert every tags in the Included Tags section in the configuration page ?

        Please suggest.

        Thanks

        • Posted by Nicolas on 20. November 2009 at 10:20.

          Simply don’t use the include tags option at all.

          • Posted by Rahul on 20. November 2009 at 11:21.

            Hello Nicolas,

            Sorry to bother you again, but i think still m doing something wrong as still m not getting any tags visible on my site.

            I configured your plugin with empty Exclude/Include tags text box but still no tags coming on the site.Wordpress default tag cloud shows all the tags.

            Pls chk right bottom of my site for the tag clouds.

            Do i need to do some thing during the new/edit posts ?

            pls suugest.

            Thanks

            • Posted by Nicolas on 20. November 2009 at 11:32.

              Can you post a screenshot of the admin page? Maybe it has to do with your theme, no idea, you have invalid html everywhere.

  • Posted by Roger Due on 3. December 2009 at 22:55.

    Fantastic! I was really unhappy with the default Tag Cloud where I had no control over the font size. Very ugly. Installed yours and a quick glance at the options and I have presentable tags. Haven’t had time to play with all of your features, but sure glad you did this! Keep up the good work. Thanks!!!

  • Posted by Riffen on 8. December 2009 at 15:58.

    Tu dois utiliser windos toi non?
    you should not be a mac user Right?

  • Posted by David on 10. December 2009 at 12:23.

    Thanks for the plug-in, Nicolas. I’d love to get mine looking as good as your cloud at the top of this page. But as a coding numbskull, I can’t see how to do it. Any chance of some simple instructions?

    PS… Can you tell me how I get rid of the title tags if I don’t want a title?

    • Posted by Nicolas on 22. December 2009 at 00:59.

      Hey David, I forgot to reply to you earlier, sorry. The next release will probably contain some code to generate such colors automatically, I’ll just have to find a little time to think about it.

  • Posted by Prenotazione Traghetti on 16. December 2009 at 19:36.

    nice plugin. used in my blog. tks

  • Posted by anyhoo on 21. December 2009 at 23:53.

    good plugin. but i like the flash one better.

    • Posted by Nicolas on 22. December 2009 at 00:56.

      Well, to each his own I guess :-D

      Btw, your link to the flash one didn’t work, so I removed it.

  • Posted by Ivan. on 22. December 2009 at 17:46.

    Hey, I’m having trouble with your plugin. I uninstalled it, but for some reason a text link to your homepage appears on my main page.
    How do I get rid of it?

    • Posted by Nicolas on 22. December 2009 at 20:00.

      I see it’s gone. Actually, it’s impossible that the links stays once the plugin is uninstalled. :-)

      • Posted by Lisa Shara on 28. December 2009 at 07:44.

        I took the widget off my site, but haven’t uninstalled from plugins b/c might use later when I’ve finished transferring content. To get the link to your site off my site, must the plugin be deleted? I’d rather give credit in the site footer regardless.

        I deactivated the plugin… that took the link to your site off my site.

        • Posted by Nicolas on 28. December 2009 at 08:29.

          The easiest way is to simply disable the link in the plugin preferences.

  • Posted by Lise on 27. December 2009 at 21:09.

    Hello,
    I translated Better Tag Cloud into French.
    The translation is available here
    http://liseweb.fr/BLOG/better-tag-cloud-afficher-un-nuage-de-mots-cles-avec-wordpress-2-9

    and here
    http://liseweb.fr/BLOG/wordpress/plugins/les-plugins-que-jai-traduits-en-francais

    MfG
    Lise

    • Posted by Nicolas on 27. December 2009 at 22:34.

      This is great, thank you Lise! I will include your translation in the next release.

      Merci beaucoup!

  • Posted by Kiley on 29. December 2009 at 01:59.

    Hey Nicolas great plugin by the way!

    I just have one problem.

    I installed the plug-in to one of my sites but the tag cloud looks quite squashed (vertically). Is there some coding/configuration that I need to do to format the tag cloud like the one above and below?

    Thanks in advance

    • Posted by Kiley on 29. December 2009 at 02:08.

      Just one other question is how do you configure the tags to display in different colours?

      Many thanks!

      • Posted by Nicolas on 29. December 2009 at 09:04.

        Hi Kiley, those things can all be changed through CSS. I’ve been working on something to generate colors etc dynamically, but it’s not ready yet.

  • [...] Better Tag Cloud [...]

  • Posted by Ramiro on 3. January 2010 at 02:13.

    Great plugin. I would like to know how to make my tags look in different colors like your demo above.

    Thank you

    • Posted by Nicolas on 3. January 2010 at 19:47.

      I will add colored tags in the next release, stay tuned!

    • Posted by Nicolas on 4. January 2010 at 15:44.

      I have added an option to automatically color the tags. It’s very basic and may or may not work depending on your theme’s CSS styles. I’m uploading the 0.8.12 release right now.

      If you don’t like the colors you can have a look at css/page.css in the plugin’s directory and create your own CSS styles.

      I’d love to add a generator where users can pick colors but I’m just too busy atm.

  • Posted by typofi on 4. January 2010 at 10:04.

    Hey and thanks for a great plugin. I’m using it on several blogs, for example http://www.parafovea.com.
    I was going to ask about excluding categories by id number but I see that there are already several requests for this. So one more vote for that feature!

  • Posted by CoreBloggers on 4. January 2010 at 14:35.

    Wordpress Featured Tag Widget Plugin…

    Wordpress featured tag widget is a wordpress plugin that allows you to add posts on the sidebar of your blog for a particular tag. This plugin is very easy to use and gives many options so that you can configure this plugin according to your requiremen…

  • Posted by 32 must have Wordpress plugins | JortK.nl on 4. January 2010 at 17:52.

    [...] Better Tag Cloud The default tag cloud widget that comes with wordpress is very simple. This plugin makes the [...]

  • Posted by Steve on 4. January 2010 at 21:17.

    With the latest update the tag cloud ALWAYS displays in list format regardless of the admin panel setting…Is this just me or is anyone else having an issue?

    • Posted by Nicolas on 4. January 2010 at 21:49.

      You are right, I just uploaded a fix that should resolve this issue. Thanks for the report!

      • Posted by Steve on 6. January 2010 at 02:06.

        Thanks for the fix. All is good!

      • Posted by Michael on 8. January 2010 at 05:25.

        The problem is not fixed at all. I just uploaded the latest 8.12.2 while the same issue like STeve described still exist….

        I see no admin panel settings like the previous version

        the files : css/page.css and css/admin.css shows “not activated”, others are activated

        • Posted by Nicolas on 8. January 2010 at 10:51.

          Hi Michael, I’m afraid I don’t understand what you mean.

          • Posted by Matt on 9. January 2010 at 05:00.

            I have the same problem, the tags show up as a list and not as a cloud. :(

  • Posted by Roman on 6. January 2010 at 04:12.

    page.css file is missing in CSS folder…???

    http://s61.radikal.ru/i172/1001/57/e65c2c508f6f.jpg

    • Posted by Nicolas on 6. January 2010 at 12:27.

      You are right, thanks for reporting this. I’m just uploading a fix.

  • Posted by Roger Due on 6. January 2010 at 23:10.

    I would like to see a log file on your site that lists the changes in each release that I can review before downloading the new release. You already have this info in the readme.txt file AFTER I download. How about making this available BEFORE I download? Thanks.

  • Posted by ff-webdesigner on 8. January 2010 at 19:30.

    hi nocolas,

    great plugin. but one problem. changing font size and units doesn’t change the tag cloud display on the page. eg: changed to 8/20 px. still: 8/22 pt visible on the blog. even tried hardcoding it in your plugin. no effect…help!

    cheers
    ff-webdesigner

  • Posted by Carolin on 9. January 2010 at 01:30.

    Love the plugin, but would it be possible to change it so that ‘span class=”nktagcloud_counter”‘ and ‘span class=”nktagcloud-separator”‘ tags don’t show up in thre source code if you don’t use counters/separators?

    • Posted by Nicolas on 9. January 2010 at 09:06.

      Hi Carolin, thanks for bringing this to my attention. I’m just uploading the fix.

  • Posted by dichotomy » Blog Archive » Serverupdate & Verschlagwortung on 10. January 2010 at 03:09.

    [...] die von Wordpress mitgelieferte mal echt nicht so der Bringer ist – ich habe mich für A Better Tag Cloud von Nicolas Kuttler entschieden. Die Entscheidung scheint sehr richtig zu sein: Gestern Nacht habe [...]

  • Posted by Skye on 17. January 2010 at 01:28.

    What am I doing wrong? I install the plugin, configure it, drag it to my sidebar and it still looks plain. What am I missing?

    • Posted by Nicolas on 17. January 2010 at 08:49.

      It looks like every tag on your blog is only used once. Thus all tags have the same size.

  • Posted by Jess on 18. January 2010 at 08:27.

    Hi Nicolas,

    Just wanted to say thank you for this plug in. It was so easy to install and use right off the bat and it’s much prettier than the default one :)

  • Posted by Komarik on 19. January 2010 at 10:28.

    Nice plugin.
    I don’t use widgets. This plug-in has a shortcode for an insert in sidebar?

    • Posted by Nicolas on 19. January 2010 at 15:50.

      Hello Komarik, no, shortcodes can’t be used in the sidebar. But you can use something like


      if ( function_exists( 'nk_wp_tag_cloud' ) ) {
      echo nk_wp_tag_cloud( "post_id=1234" );
      }

      This works with the new 0.10.0 release, not sure about older versions.

  • Posted by Sergey on 19. January 2010 at 16:45.

    Hi Nicolas,
    Better Tag Cloud – a great plugin, thanks a lot!
    I have a bilingual website with English & Bulgarian versions.
    I run on 2.9.1 and use your latest version of your plugin (updated yesterday)

    It’s all fine in the English version but in the Bulgarian, I cannot make the tags work. They are there but once you click on them it’s 404 Not found.
    Could you please have a look and tell me what’s wrong: http://sharemykitchen.com/bg/

    I desparately need the tags to be working on both languages.

    Thanks in advance.

    Sergey

    • Posted by Nicolas on 19. January 2010 at 17:33.

      Hi Sergey,

      can you tell me which plugin you use to build your site? I guess I’m not applying some filter to the output that your plugin depends on.

  • Posted by Sergey on 19. January 2010 at 18:04.

    Hi Nicolas, thanks for the reply.

    The plugin is the Better Tag Cloud and the theme is Atahualpa 3.4.1 if that’s what you ask. I hope this is helpful.

    • Posted by Nicolas on 19. January 2010 at 18:53.

      No Sergey, I need to know which multilingual plugin you use. The one that lets you have a blog in more than one language.

  • Posted by Sergey on 19. January 2010 at 19:09.

    Ok, I’ve got you now..

    It’s WPML Multilingual CMS

  • Posted by Pavel on 20. January 2010 at 16:29.

    How can I use automatic colors for the tag cloud in the wp_tag_cloud() function?

    • Posted by Nicolas on 20. January 2010 at 16:45.

      Hi Pavel, that’s not possible. I suggest you add the style definitions from the plugin to your theme. Or simply enabling them on the options page could work as well, not sure about that.

  • Posted by Sergey on 21. January 2010 at 09:33.

    Hi Nicolas, I just want to add some more info to my problem, in case this might be of help to you.

    I have noticed that search engines do not index my Bulgarian posts (my default language is English)but only the pages in Bulgarian – it’s kind of weird.
    So it’s like my tags and posts in Bulgarian are not working, and I can’t see the realation between the two.

  • Posted by ff-webdesigner on 22. January 2010 at 12:23.

    The problem still stays the same, none to do with cascading css. The inline styles coming out of better tag cloud are not as set in the plugin admin. Search for albert kreuz blog. in the source of better tag cloud you will see e.g. font-size: 22pt;. But in the admin the setup is 6 to 14 px. No changes are being used… mail me for access to the blog if you’d like to see it yourself!

    • Posted by Nicolas on 22. January 2010 at 22:48.

      I don’t know what to say. This code works perfectly for me. Please use the contact form to send me a login to that blog and I’ll have a look.
      One day I’ll add an option to remove the hardcoded fontsizes, but it’s a low priority as it’s how WordPress does the tag cloud by default anyway and it can be overridden with an !important rule.

  • Posted by MALIK on 30. January 2010 at 01:12.

    can i make the tag list in your plug in like this

    A,B,C,D,E,F,G,H,I,
    J,K,L,M,N,O,P,Q,R,
    S,T,U,V,W,X,Y,Z

    or

    2010,2009,2008,2007,
    2006,2005,2004,2003,
    2002,2001

  • Posted by Stubborn Mule on 30. January 2010 at 23:24.

    My last attempt to comment didn’t seem to work, so I am trying again.

    Great plugin, but I for me the “Show only tags that have been used at least so many times” option doesn’t seem to work. I have it set to 3 and tags that appear only once are in the tag cloud. My blog is here.

    • Posted by Nicolas on 31. January 2010 at 15:20.

      Hi, you don’t seem to be using my plugin, you need to add it to your sidebar.

      • Posted by Stubborn Mule on 31. January 2010 at 22:47.

        I am definitely using the plugin at Stubborn Mule. I just turned on the colouring option to confirm it.

        • Posted by Nicolas on 1. February 2010 at 04:08.

          Right, you’re using it now. And you’re absolutely right that the feature doesn’t work, I’ve just released a fixed version 0.10.0.1. Thanks for reporting!

  • Posted by Muad on 31. January 2010 at 06:36.

    I tried ur plug in on my site (http://www.pathofysiologie.nl/) but it didnt work, cuz I dont have posts, all my content is in pages. is it possible to make a change in the code so the tag cloud works for page contents too?

    • Posted by Nicolas on 31. January 2010 at 15:19.

      I think that there are plugins that add tags to pages, but I haven’t used one yet. WordPress itself doesn’t tag pages, unfortunately.

      • Posted by Muad on 31. January 2010 at 17:35.

        if any one knows where to find such a plugin ( adding tags for pages) please tell me. I have been searching for a long time.

  • Posted by Stubborn Mule on 1. February 2010 at 04:31.

    Update works! Thanks for the quick response.

  • Posted by Dave on 3. February 2010 at 17:15.

    Is it possible to justifie the tags in the Tag-Cloud like your comment-texts?
    so that there is no free space on the right side?

    hopefully you understand what i mean :)

    • Posted by Nicolas on 4. February 2010 at 01:17.

      Hi Dave! You can probably get that effect by using the “flat” display format (iirc) and setting the CSS styles to text-align :justify.

      • Posted by David on 2. July 2010 at 23:57.

        Sorry for posting this questing a second time today :-/

        I changed it to “flat” and also changed one entry in page.css (first one) but that didnt help…

  • Posted by kisfoka on 4. February 2010 at 00:05.

    Hi!

    I would like to ask.
    How can i embed the cloud just like you did it on this page.

    Thanks and regards

    • Posted by Nicolas on 4. February 2010 at 01:16.

      Just put [nktagcloud] somewhere into a post or page, that should do.

      • Posted by kisfoka on 4. February 2010 at 01:49.

        Thanks for the quick answer but its not working for me, i don’t know why.
        (I linked my site)

        • Posted by Nicolas on 4. February 2010 at 08:48.

          Hmmmmm, that’s odd. No idea. To debug WordPress problems the usual first steps are:
          1. Disable all other plugins
          2. Use the default theme
          3. See if problem persists.

  • Posted by faraz on 4. February 2010 at 09:51.

    nice widget… Thanks for it..

  • Posted by Tino on 7. February 2010 at 19:04.

    hi

    need the php code for direct theme add.

    thanks

    • Posted by Nicolas on 8. February 2010 at 14:28.

      The cloud can be produced by calling nk_wp_tag_cloud();

      Please see inc/page.php for parameter documentation.

  • Posted by Get a Better Tag Cloud | Goodtree & Co. on 12. February 2010 at 23:25.

    [...] tag clouds are important elements for helping people and (search ‘bots) find your content.  A Better Tag Cloud by Nicholas Kuttler is one of our favorite plugins. Here’s what you need to know and why [...]

  • Posted by Nicole on 13. February 2010 at 01:24.

    Thanks for this nice widget. Very helpful.

  • Posted by Jason on 17. February 2010 at 13:40.

    This really is an excellent plugin and I now have it installed on two websites. It is simple to set up and does exactly what I need it to with no problems.

    What really helps is that you respond to everyone’s questions – it’s what ultimately made me decide to use your plugin and not someone else’s. Thanks.

  • Posted by Tom on 17. February 2010 at 19:36.

    First: thank you for the plug-in!
    Second: I’d love to give props where due, but seems to be competing with the them copyright at the bottom of the page – any thoughts?
    Third: EXCUSE the novice question (I am new to WP and all its features), but the only tags present in the cloud are from the categories. Do I simply just not have enough entries at this point to have more populating the tag cloud?

    • Posted by Nicolas on 18. February 2010 at 02:01.

      Theme developers often don’t pay attention to styling the wp_footer links. Simply disable it, I don’t mind :-)
      If I remember correctly post tags are always shown. Do you have post tags?

  • Posted by Gunilla on 26. February 2010 at 15:56.

    Hi,

    There is something I don´t understand. The plug-in is installed and activated. But where do the tag-choices appear?

    Gunilla

    • Posted by Nicolas on 26. February 2010 at 18:44.

      Hello Gunilla,

      I’m not sure what you mean? There is a widget in the widget section: Better Tag Cloud. You can choose which tags to display on the plugin settings page. This happens by ID though, so it’s not like there are checkboxes or something like that.

  • Posted by Kalman on 2. March 2010 at 17:07.

    Nicolas,

    Thanks for this plug-in!
    I have installed it on my site blog and want to display a “flat” version of the tag cloud instead of the list version. However, when showing flat version, the tags start on the same row as the title of the widget. Is there a way to fix this?
    Other than this small display issue, this is a great plug-in.

    rankabove.com/blog/

    Thanks,
    Kalman

    • Posted by Nicolas on 3. March 2010 at 13:49.

      Hm, I would guess including the default css styles of the plugin should fix the issue. If not, maybe your theme wasn’t coded properly. For example, there’s no H7 tag..

  • Posted by Kate on 5. March 2010 at 17:50.

    Hi. This is an excellent plugin! I have a question though. The theme that is being used for this blog doesn’t use widgets to include info into the sidebar, it is an R-sidebar.php file. Will your plugin work with this theme? If so how do I make it work? Thanks!!

  • Posted by WordPress Widgets | Active & Marketing on 7. March 2010 at 06:26.

    [...] חזותי וקיטלוג ענן תגיות  ענן התגים משפר את נגישות האתר שלכם לתכנים רלוונטיים [...]

  • Posted by Friedi on 9. March 2010 at 11:14.

    Great Plugin!
    Unfortunately it seems to have a bug: When I try the sort option “both” I’ll receive instead of the widget the following error message:
    Fatal error: Cannot redeclare compare_both() (previously declared in /HIDDEN/wordpress/wp-content/plugins/nktagcloud/inc/page.php:304) in /HIDDEN/wordpress/wp-content/plugins/nktagcloud/inc/page.php on line 304

    • Posted by Nicolas on 9. March 2010 at 11:55.

      Hm, that error doesn’t make any sense. I’ve seen similar errors with PHP when using opcode cachers like APC, xcache etc. Try disabling them if you use any.
      But I should rename the function anyway, the name is too generic. I’ll release an update in a few minutes.

      • Posted by Friedi on 9. March 2010 at 12:20.

        Hm, I don’t use such a plugin :(
        Anyway it works as long as I don’t sort this way :D

  • Posted by NpXp on 16. March 2010 at 08:14.

    I just activated your plugin. It’s way better than the default tag widget. Thanks for this contribution.

  • Posted by Brandon on 17. March 2010 at 23:41.

    Hi,

    First off, thanks for the great widget!

    I’m using it with the Arthemia theme and everything works except the random font size, it stays with the standard font designated by the theme. I’ve browsed through the css and didn’t see where to edit it. Have you had any experience with this theme or would you be able to assist?

    Thanks kindly,

  • Posted by Eric on 18. March 2010 at 23:52.

    Hi Nicolas,

    Thanks for the great plug-in!

    I need to add some left padding to the tag list. I looked in Firebug but don’t see a div with a class or ID surrounding the list. I can’t apply my style to better-tag-cloud or or widget-nktagcloud because that would mess up the widget title styling. Is there anyway that I can wrap the tag list in a div with an ID or class so I can style it?

    • Posted by Nicolas on 19. March 2010 at 01:02.


      .widget-nktagcloud ul { foo }
      or something similar should work I imagine

    • Posted by Eric on 19. March 2010 at 04:27.

      I think I got it. I need to set the format to list and then style the list with list-style: none and display: inline and I can finally use your original suggestion to style the overall list.

      • Posted by Nicolas on 19. March 2010 at 11:07.

        Oh, right, the flat display. Sounds like you found a good solution. I’m not sure why there is a ‘flat’ display anyway, it really doesn’t make sense. A tag list is always a list and should use the correct markup. There’s CSS for styling.

  • Posted by Wiseman on 20. March 2010 at 17:23.

    Thanks for a good work! I suppose, I’ve detected one small bug – “inject_count” parameter doesn’t work, when calling it from nk_wp_tag_cloud() callback. Looks like it was accidentally forgotten during one of the last upgrades.

    • Posted by Nicolas on 20. March 2010 at 23:12.

      Hi Wiseman! Hm, that’s odd, it seems to work for me in the shortcode and the widget, which both call nk_wp_tag_cloud(). Maybe a typo? Can you give a code example that doesn’t work?

  • [...] Better Tag Cloud: If you want more options when displaying tags on your site, take a look at this plugin. PluginWP [...]

  • Posted by Mouad on 28. March 2010 at 14:29.

    Hey Nicolas and thank you for the plugin.

    I want my tags to appear neax to each other, on the same line, and not that every tag occupy a complete line (unless it is mutliple words of course)

    I set it to Flat, and to List, but it is the same. How can I make them appear one next to each other, and not every single one, on every single line?

    Thanx

    • Posted by Nicolas on 29. March 2010 at 13:44.

      Hi Mouad, sounds like a CSS issue. Are you using display: block; maybe?

      • Posted by Mouad on 29. March 2010 at 13:53.

        Hey Nicolas and thank you for replying.

        I am not quite sure where I might find “display:block;” if I want to search for it. But I used Firebug Firefox extension, and highlighted the tags sidebar widget, and I found no “display:block;” within its properties. I also added the property “display” and tried every option of it, including inline, and table, but the tags remained one in each line.

        I presume it is related to the plugin itself.

        • Posted by Nicolas on 29. March 2010 at 23:26.

          Not at all. Check the link itself, the parent list element, their styles etc.

          • Posted by mouad on 30. March 2010 at 10:42.

            I didnt quite understand what you meant. Please help me in this. And if there is a way to make the tags appear side by side in the original tags widget built into WP, pleast let me know about it. Because all I wanted is to make them appear side by side, since placing each on a single line occupies a big space which I can save.

            • Posted by Nicolas on 31. March 2010 at 10:53.

              Mouad, these thing can all be changed through CSS. Unfortunately I don’t have the time right now to help you with this.

  • Posted by mouad on 31. March 2010 at 16:07.

    Okay, thank you. after a long time of testing, I figured that I can find:

    .sidebar1 ul li a:link, .sidebar1 ul li a:visited {

    and change the display property to:

    display:-moz-grid-group;

    You could simply tell me that, and I am done :)

    But its okay now, and thank you again.

    • Posted by Nicolas on 31. March 2010 at 23:18.

      -moz-grid-group doesn’t sound like it will work in all browsers, you should test that. I’m sorry I can’t give CSS support here, but there are enough places where you can get help with such stuff.
      If you’re interested and willing to pay I provide professional services, please check my services page.

  • Posted by Mandx on 4. April 2010 at 19:31.

    I know there is a lot of options… But I need at least the title of the widget to be configurable right on the widget config screen, to localization of that text (via WPML).

    • Posted by Nicolas on 4. April 2010 at 19:43.

      I have no idea what wpml is. The title is printed through echo apply_filters( 'the_title', $config['title'] );

      • Posted by Mandx on 5. April 2010 at 18:39.

        WPML (http://wpml.org/) is a plugin that make Wordpress into a multilingual site. It provides a whole framework and admin interfaces to create content in several languages. It several admin pages for translating contents dinamically, and one of those scans for texts entered in widgets, so the widget appears translated in the language the user is viewing the site. Since no text is entered in the widget admin, no text is recognized for translation.

        • Posted by Nicolas on 5. April 2010 at 18:46.

          But you can enter the title on the settings page! If wpml hooks into the widgets page somehow to manipulate titles that’s seriously broken.
          I vaguely remember working with wpml, don’t you use something like [en]english[/en][de]deutsch[/de]? That should work on the plugin settings page without any problems.

          • Posted by Mandx on 5. April 2010 at 19:49.

            I’m using Wordpress with WPML to create a Spanish/English website, so I put “[es]Etiquetas[/es][en]Tags[/en]” as the widget title in Better Tag Cloud’s admin page, and on both languages it shows exactly that text. WPML is not broken, it appears to be that widget text entered in widget admin is easily recognized (even with WPML unaware plugins). But for text entered by other means (the admin interface) must register the string with WPML and retrieve it later, and all that work must be done by the plugin developer. For that I think is easier to move the title to the widget admin and let WPML recognize it, than modify the plugin to be WPML aware… By the way, thanks for fast-replying!

            • Posted by Nicolas on 5. April 2010 at 20:12.

              I think you should file a bug against wpml for not checking stuff that runs through the the_title filter. But I’ll consider adding a few setting on the widget page.

  • Posted by Tan on 7. April 2010 at 02:30.

    Is it possible to have the better tag cloud appear in my sidebar and my footer widget at the same time?

    Thanks and looking to hear from you.

    • Posted by Nicolas on 7. April 2010 at 10:33.

      Hi Tan, no that’s not possible. Yet. I will add that feature in a future release. Right now it’s missing to keep the plugin compatible with older WordPress releases.

  • Posted by dave on 7. April 2010 at 02:46.

    Nice work Nicolas! I now have a better tag cloud for a 10 minute investment of time (and a small PayPal gratuity). 2 minutes to download and setup and the rest to find the answers to my questions. Now all I need to do is figure out how to get the underlines to go away (selecting none for decorations did not do it). Thanks very much!

    • Posted by Nicolas on 7. April 2010 at 10:32.

      Hi Dave, thank you! I assume you mean in the widget?
      Try to put the following code in your theme’s style.css:

      .widget_nktagcloud a {
      text-decoration: none !important;
      }

      I hope this works.

  • Posted by Richard on 10. April 2010 at 17:03.

    Hi Nicholas, can you help me with asmall modification?
    I have images associated with many of my tags and I want to show them in a cloud, or list instead of the tag words.
    at the moment a tag is shown like
    href="http://example.com/tag/mytag" and I would need to change this to href="http://example.com/wp-content/tagdir/mytag.gif"
    Is that possible and where would I make that change?

    • Posted by Nicolas on 11. April 2010 at 13:46.

      Hi Richard, to be honest, I have no idea what you mean. It sounds like you are using some custom code? Some other tag plugin? Or do you use my plugin? It doesn’t do tag-image relations. Sounds like a nice feature though.

  • Posted by Domicio Neto on 13. April 2010 at 06:30.

    Hi Nicolas,

    I’m Domicio Neto and I’m from Brazil.

    I have one question for you.

    In my site, I have the plugin but I don’t want to display Tag and yes only Category.

    How do it? I don’t have idea.

    Thank you so much and congratulations for plugin.

    • Posted by Nicolas on 13. April 2010 at 11:56.

      Hi Domicio, that’s not possible at the moment. I think the feature could be added though, I’ll look into it for a future release.

      • Posted by Domicio Neto on 13. April 2010 at 13:39.

        Hi Nicolas,

        I believe this is very important for SEO. You should think about.

        Thank You

  • Posted by Phil on 13. April 2010 at 08:09.

    Hi Nicholas,
    I installed your tag cloud plugin but it’s not showing up. I feel I’m missing a basic step in the installation. Although I risk looking like an idiot, I have to ask how to get this working…do I have to change the code on one of the Wordpress pages?
    Thanks,

    • Posted by Nicolas on 13. April 2010 at 11:57.

      Hi Phil, you shouldn’t have to change anything. There is a widget (if your theme is widget-ready) and the shortcode, as described in the readme.txt. Good luck!

      • Posted by Phil on 15. April 2010 at 05:30.

        Hi again Nicolas,
        So, if I use the shortcode within a blog post, it works just fine. But I’m trying to get it on my right-column where we display advertisements, etc. I can’t figure out how to get the cloud to work on the column. travelmamas com

        Any help is greatly appreciated….

    • Posted by Melinda Davey on 13. April 2010 at 22:00.

      Hi. Yuu have to go the Appearance > Widgets in your admin interface and move the Better Tag Cloud widget into your sidebar. Then you will see it on your blog.

  • Posted by Melinda Davey on 13. April 2010 at 21:59.

    Thanks! I’m testing this, and it seems to be working well.

  • Posted by Technology Blog on 15. April 2010 at 17:03.

    Thanks for the plugin. I works like a treat.
    Assuming I don’t want to put the widget into the sidebar, what is the code I can use in the sidebar.php file.
    is it. I tried using – , but doesn’t work.
    Any clue?
    Thanks for your help.

  • Posted by Scott on 20. April 2010 at 15:27.

    I tried your plug-in, however, it doesn’t gel with my theme. After deactivating it, I noticed that the plug-in jacked the built-in tags link that appears under each post.

    The tags themselves are still present, but the link to the Tags page is broken.

    • Posted by Scott on 20. April 2010 at 15:42.

      Disregard, I made the corrections.

      • Posted by Nicolas on 20. April 2010 at 16:58.

        Hi Scott, did you find out why the links were broken? Was it caused by my plugin?

  • Posted by Wordpress Plugin: A Better Tag Cloud Widget on 23. April 2010 at 16:05.

    [...] I use a plugin named A Better Tag Cloud Widget. [...]

  • Posted by Mike on 26. April 2010 at 03:04.

    Great plugin! We’re using it on selected blogs at the PSOUG.org site (http://psoug.org/blogs/).

  • Posted by Heather Fonseca on 28. April 2010 at 05:29.

    I would so love to use this plugin – it looks so cool – but now that I’ve installed it on wordpress and activated it I don’t know what to do next. Nothing seems to be happening at all and I don’t know what “Add the widget in your dashboard’s Design section and configure it as you like” means exactly. My dashboard doesn’t nave a section named design.

    • Posted by Nicolas on 28. April 2010 at 08:09.

      You can manage widgets on the Appearance->Widgets page. There should be a widget named Better Tag Cloud.

  • Posted by Ardiawan.com on 2. May 2010 at 08:53.

    great plugin, but I think I prefer like if min color in #aaaaaa and max color in #000000 ?

    Are u know my purpose?

    and what Tag separator should I fill if I want to give white space?

    Please answer.. thanks..

  • Posted by Radek on 11. May 2010 at 06:19.

    Hi Nicolas

    I wanted to explore your plugin when calling from php code but I does nothing. My code is like if ( function_exists( ‘nk_wp_tag_cloud’ ) ) {
    echo nk_wp_tag_cloud( ‘single=yes&separator= – &categories=no’ );
    echo ‘exists’;}
    else
    {echo ‘doesnt’;
    } I can see the ‘exists’ but nothing else. If I use the standard wp_tag_cloud function it displays the tag cloug. Any idea?

    thank you

    R

    • Posted by Nicolas on 11. May 2010 at 16:24.

      single=yes only shows tags of the current post, so no tags on pages, the blog page etc.

      • Posted by Radek on 11. May 2010 at 22:16.

        Hi Nicolas

        cool. That solved my issue.

        Can I make your nk_wp_tag_cloud function to use all the settings from admin panel?

        Thank you

        R

        • Posted by Nicolas on 12. May 2010 at 12:24.

          Yes, you can do that. Right now you have to look in inc/page.php for parameters that aren’t described here. I guess I should add them to the readme.

          • Posted by Radek on 12. May 2010 at 13:30.

            I meant if I can set up all settings in admin area of wp and then just call nk_wp_tag_cloud and it would use these values. So I would have to read any docs at all :-)

            R

            • Posted by Nicolas on 12. May 2010 at 15:26.

              You can use nktagcloud_the_cloud() for that.

              • Posted by Radek on 13. May 2010 at 03:42.

                I used echo nktagcloud_the_cloud(); but I recieved Warning: Missing argument 1 for nktagcloud_the_cloud(), called in …
                can I fix that? Thank you. R

                • Posted by Nicolas on 13. May 2010 at 10:24.

                  Right, sorry, nktagcloud_the_cloud is the wrong function. Please see below for the new documentation. I’ll make a plugin update if this helps you.

  • Posted by Roger on 13. May 2010 at 05:03.

    I want to use two tag clouds. One that will exclude a single (Quote) tag group and another that will only include the Quote tag group. Looking at the code directly according the book it shouldn’t take much. Biggest problem is finding where the tag_cloud command is to edit it.
    Ideas appreciated. I’ve just started working with WordPress so I wouldn’t be surprised if the answer was in front of my face…

    • Posted by Nicolas on 13. May 2010 at 10:26.

      See the comment below with the updated docs. Use nk_wp_tag_cloud() for the second cloud.

  • Posted by Nicolas on 13. May 2010 at 10:18.

    I had to look at the code again and I’ve updated the plugin’s readme to contain this text:

    = Using the tag cloud in your theme =
    You can call the function `nktagcloud_shortcode()` from your theme to get the same output as from the shortcode.

    There’s also the `nk_wp_tag_cloud()` function. You can use it to generate a tag cloud with a different configuration than the plugin’s one. It accepts the same parameters as http://codex.wordpress.org/Template_Tags/wp_tag_cloud. Example:

    if ( function_exists( 'nk_wp_tag_cloud' ) ) {
    echo nk_wp_tag_cloud( 'single=yes&separator= - &categories=no' );
    }

    Additonal parameters (all strings):

    * single: Only tags of the current post (‘Yes’, ‘No’)
    * categories: Inlude categories in the cloud (‘Yes’, ‘No’)
    * replace: Convert blanks to non-breaking spaces (‘Yes’, ‘No’)
    * post_id: Display only tags of the specified post (post ID)
    * mincount: Show only tags that have been used at least so many times
    * separator: Tag separator
    * inject_count: Add a counter to the tag (‘Yes’, ‘No’)
    * inject_count_outside: Add the counter outside of the tag hyperlink (‘Yes’, ‘No’)

    • Posted by Radek on 13. May 2010 at 13:17.

      hi Nicolas

      I tried echo nktagcloud_shortcode(); and it still gives me the ‘Warning: Missing argument 1 for nktagcloud_shortcode(), called in…’ but it also displays the tag cloud :-)

      Thank you

      R

      • Posted by Nicolas on 13. May 2010 at 14:50.

        oh right, it’s nktagcloud_shortcode( null ). That should do.

        • Posted by Radek on 13. May 2010 at 14:55.

          great!!! works now. Thank you so much for your help and great plugin. Radek

  • Posted by Ardiawan on 14. May 2010 at 06:37.

    what Tag separator should I fill if I want to give white space?

    Thanks

  • Posted by Stephen Glanville on 14. May 2010 at 07:34.

    Hi Nicolas,

    Just wanted to thank you for the great plugin, for the amazing amount of work that you do with WordPress that many of us benefit from, and to offer a small suggestion.

    I couldn’t help but notice that rather silly forum thread on WordPress.org re: ‘Inserting promotional links into the page’.

    Here is my suggestion – Why don’t you put the link in the actual plugin widget? Something tastefully discrete yet present. I would have left the links in if they were not placed in the footer (and I appreciate you providing the option to easily remove them). :-)

    Why did I remove the links from the footers? Well I’m using a WPMU Installation with a bazillion different themes. Footer content formatting seems to be a rather neglected area amongst theme-builders…not that I’m complaining…it’s just that that often the themes are great but the footer content is a mess and I have to spend time modifying each theme. By placing your promo links in the footer, you are pretty much at the mercy of themes as to how it presents your links…and often where… :-)

    Anyway, thanks again.

    Cheers

    Stephen G

    • Posted by Nicolas on 14. May 2010 at 12:02.

      Hey Stephen, I like your suggestion and will implement it. Thanks!

      Btw, I will remove the links for the default install in a future release. Wordpress.org has changed their rules for plugins. Once it was enough to be GPL2, but now there’s rule X, unpublished rule Y etc…

      I may have to think about which features can’t be used without enabling the link. Something I wanted to avoid. I wanted to give users total control, but apparently that’s not good enough. :-?

  • Posted by WordPress plug-ins my blog cannot exist without on 15. May 2010 at 15:35.

    [...] Better Cloud Tag – displays the list of most popular keywords from my posts, adjusting the font size to popularity. I think it is more useful then plain list, and at the same time is not as irritating as those moving clouds. [...]

  • Posted by Mark Stevens on 17. May 2010 at 13:07.

    Is there a way to add “nofollow” to the cloud?

  • Posted by Scott on 18. May 2010 at 19:02.

    Hi, I installed the plug-in and note one small error. When you add a “separator” you are putting the separator after the last word, e.g.:

    tag1, tag2, last_tag,

    Can you not insert the separator after the final tag in your next update, please!

    • Posted by Nicolas on 18. May 2010 at 20:12.

      Hi Scott, that can be configured in the new 0.11.1 release, thanks for the report!

      I didn’t make it the default though, as some people might rely on the last separator being there.

  • Posted by Andrija on 19. May 2010 at 13:13.

    Please, can you tell me how to put php “A Better Tag Cloud” inside my archive template?
    I was trying to put this:

    but without success.
    Thanks!

  • Posted by Emrah on 20. May 2010 at 21:42.

    Great a widget. Very thanks.

  • Posted by Espen on 21. May 2010 at 13:20.

    I like the plugin a lot. It has the possibillities I missed in the original. Still, I had to tweak a little bit.

    In inc/page.php, I’ve modified $tagsize_int to be round($tagsize), and added a new var $tagsize_round as round($tagsize,1) to be used in style font-size. This makes colorization a little better, and the font-sizes doesn’t end up with five decimals.

    By the way, what scheme did you use for the color stepping in page.css? I’d like to widen the size range, but want to continue the color pattern.

    Also, colorization only works successfully when using “pt”-sizing. Is there by any chance an easy fix you could come up with to name the css class numbering differently from the size?

    • Posted by Nicolas on 21. May 2010 at 13:47.

      Hi Espen, thanks for the report! I’ll look into the issues you described asap.

      I used some online CSS gradient generator for the colors, can’t remember which one. You should probably modify the colors so that they match your blog’s style.

      • Posted by Espen on 21. May 2010 at 13:51.

        There’s such thing as a gradient generator? I’ll look into that. Thanks :)

  • Posted by lolo on 25. May 2010 at 16:45.

    Hello,
    i’d like to know if it’s possible to center all the tags ? I did it for the sidebar but taht affect all the widget, i’d like that only the tags f my cloud would be in the center of the sidebar.
    Thanx a lot

    • Posted by Nicolas on 25. May 2010 at 19:55.

      You can center the tag cloud itself. I’m not sure, I think it has the class widget_nktagcloud. Or just check your site’s source ;-)

  • Posted by Brandon on 10. June 2010 at 16:15.

    I cannot see the array option in the dropdown. Only list and flat. Do I need to change it in the editor?

    Thanks – great plugin.

    • Posted by nicolas on 10. June 2010 at 18:45.

      Hi Brandon, I’m not sure what you mean?

      • Posted by Brandon on 10. June 2010 at 23:57.

        You are not the first!

        I want to know if I can make the tags show up in different sizes (in the “array” format, right?). Just wondering how to do that.

        • Posted by nicolas on 11. June 2010 at 00:41.

          There is no array format. What are you trying to do?

          • Posted by Brandon on 11. June 2010 at 17:55.

            I’m trying to have the tags show up in differing font sizes. Pardon my ignorance.

            • Posted by nicolas on 12. June 2010 at 07:40.

              Well you have to change the settings for “Smallest font size” etc. The are on the plugin’s options page.

  • Posted by Ashwan on 12. June 2010 at 23:43.

    Thanks for the plugin, Nicolas.

    I don’t know if anyone’s pointed this out, but on the changelog page, a lot of the dates are 2009-mm-dd when they should be 2010.

    So even though you updated the plugin last month, people that look at the changelog may think that it hasn’t been updated in a year!

    • Posted by nicolas on 13. June 2010 at 10:07.

      Hi Ashwan, thanks for spotting this! I guess that’s what I get for copy and paste without using my brain :-D

  • Posted by troy on 20. June 2010 at 18:25.

    newest version shreddered my design, any idea why this is so?

    • Posted by nicolas on 21. June 2010 at 11:08.

      No. A link to your site would help though.

  • [...] 15.Better Tag Cloud This plugin makes the options for wp_tag_cloud() available to a tag cloud widget and a shortcode. This means that you can easily choose things like font sizes, HTML markup and ordering. See the wp_tag_cloud page for what the settings can do.Additionally, it is possible to sort tags by count and alphabetically at the same time. It is also possible to add a counter to the tags, so that your visitors can see how many posts are associated with each tag. The plugin also adds a sensible CSS class to every tag. [...]

  • Posted by Dave on 2. July 2010 at 20:46.

    I am using your Better Tag Cloud plugin. But there is one thing that i really miss: How can i justify the tag cloud?
    The default text-style is “right” and i dont know how to change that…

    Thanks for the plugin anyway!! :)

  • Posted by Sebastian on 14. July 2010 at 18:32.

    Thanks for this great plugin!!! I won’t miss it! I have a question: since the latest update I have the new and the old widget and the old setting (configuration) page too. That is confusing… why are there 2 different setting pages? I liked the config page of the old widget more than the new drop down config of the new widget. It gives me a better overview.

    • Posted by nicolas on 15. July 2010 at 09:49.

      Yeah, I know this isn’t perfect. I’m not sure yet how I will handle this in the future. Maybe the very first widget instance could be on the settings page, but that could be rather confusing. I’ll have to test a few things when I have the time. Thanks for the feedback.

  • Posted by bingjie on 16. July 2010 at 21:22.

    perfectly cool…install it right way.

  • Posted by Emrah on 20. July 2010 at 20:45.

    I like it, it&acirc;

  • Posted by Dirk on 25. July 2010 at 17:54.

    Tolles Widget, Spende kommt vielen Dank für die gute Arbeit.
    Great widget i will donate. Thanks for the work you did.
    Dirk

Leave a Reply

Your email is never shared. Required fields are marked *

*
*