www.fgks.org   »   [go: up one dir, main page]

A Better Tag Cloud

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:

Tag cloud

feeds RSS feeds template Typo3 typoscript plugin WordPress CSS HTML YAML theme Webdesign realurl SEO SQL WordPress plugin JavaScript onclick onfocus apache duplicate content lighttpd redirect server git test theme theme preview theme switch theme switcher balloons christmas showstorm snow valentine better tag cloud configurable tag cloud flexible tag cloud improved tag cloud tag cloud fireworks move comments WordPress comments easy mail form simple zero conf mail delete comments delete pending comments custom avatars clicktracking jQuery marketing usability navigation WPMU ajax WordPress theme autotag category custom taxonomy PHP tag pagination options page settings api login custom post type development WordPress page WordPress post file upload paste pastebin recent posts Widget related content related posts query cool uri rewrite api 404 search search form order posts WordPress query meta data WordPress network bash cookies password recursive download wget rant yaml mootools howto border-radius safari virtual hosts audio Linux mp3 mailman title opera advertising geotargeting openx targeting Debian kernel wlan comments desktop openbox xorg mac powerbook accents keymap firefox ext4 gphoto2 photography powershot svn Custom Loop video shortcode WordPress loop security rewrite wp_nav_menu cups printer printing wp_enqueue_style simpleXML XML DOM HTML parser innerHTML fuse sshfs minify wp_register_style spam keywords separator import PageRank django virtualenv init gunicorn debian

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:

<?php
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:

<?php
    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.

Most plugin demos are disabled at the moment. I'll restore them as soon as possible.

Published on Nov. 3, 2008 at 6:41 p.m. by Nicolas and tagged tag cloud, improved tag cloud, flexible tag cloud, configurable tag cloud, better tag cloud, WordPress plugin, WordPress. You can follow the discussion with the comment feed for this post.

339 comments

  • avatar
    The Local Landing wrote this comment on Nov. 6, 2008, 9:18 p.m.
    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.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    The Local Landing wrote this comment on Nov. 6, 2008, 9:20 p.m.
    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. :)
    Please enable JavaScript to reply Reply to this comment
  • avatar
    The Local Landing wrote this comment on Nov. 12, 2008, 10:08 p.m.
    That is some snappy updating! Working great for us now. Thanks for the great plugin.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Chris wrote this comment on Nov. 19, 2008, 4:42 p.m.
    I like it, it's a perfect widget. Just one question, is there a paid version to remove the credit link?
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Klaus wrote this comment on Feb. 8, 2009, 3:52 p.m.
    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!
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on Feb. 12, 2009, 10:32 p.m.
      Hallo Klaus, it's not possible at the moment. I'll have to modify the widget. Will look into it, maybe this week.
      Please enable JavaScript to reply Reply to this comment
      • avatar
        nicolas wrote this comment on Feb. 15, 2009, 9:44 a.m.
        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.
        Please enable JavaScript to reply Reply to this comment
  • avatar
    gestroud wrote this comment on Feb. 14, 2009, 1:14 a.m.
    Hello, Is it possible to have the widget sort the most popular tags in alphabetical order? Thanks!
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on Feb. 14, 2009, 8:19 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    patrick wrote this comment on Feb. 27, 2009, 11:51 p.m.
    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.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Triton Bloom wrote this comment on March 8, 2009, 9:05 p.m.
    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?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on March 9, 2009, 4:59 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Adryan wrote this comment on March 10, 2009, 4:09 p.m.
    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?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on March 10, 2009, 9:02 p.m.
      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?
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Triton Bloom wrote this comment on March 12, 2009, 7:24 a.m.
    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.
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on March 12, 2009, 7:16 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Triton Bloom wrote this comment on March 12, 2009, 8:37 p.m.
    My tags are still displaying as a "flat" format even though I have "list" selected as the format in the widget settings.
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on March 13, 2009, 1:38 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Chris wrote this comment on April 10, 2009, 3:42 p.m.
    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?
    Please enable JavaScript to reply Reply to this comment
  • avatar
    solar wrote this comment on April 13, 2009, 12:14 p.m.
    very useful, thanks.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Rick wrote this comment on April 22, 2009, 9:23 p.m.
    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.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    binoy devan wrote this comment on April 25, 2009, 8:39 a.m.
    Thanks for this wonderful Plugin buddy...
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Kerry wrote this comment on April 25, 2009, 11:51 a.m.
    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
    Please enable JavaScript to reply Reply to this comment
  • avatar
    colleen wrote this comment on June 3, 2009, 4:03 a.m.
    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.
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on June 3, 2009, 7:01 a.m.
      Adding
      li#better-tag-cloud a { text-decoration: none; }
      to your site's css file should do that.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Jeffrey wrote this comment on June 11, 2009, 10:59 p.m.
    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.
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on June 11, 2009, 11:21 p.m.
      That's odd, both work for me. Which version of the plugin and wordpress do you use? Do you maybe use some cache?
      Please enable JavaScript to reply Reply to this comment
  • avatar
    sc wrote this comment on June 12, 2009, 9:41 p.m.
    Error at widget %BEG_OF_TITLE% Tags %END_OF_TITLE% How to fix it... my blog gone
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on June 14, 2009, 11:36 a.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    rami wrote this comment on June 16, 2009, 11:55 p.m.
    can you add the "exclude" parameter to the widjet form?
    Please enable JavaScript to reply Reply to this comment
  • avatar
    sheela wrote this comment on Aug. 29, 2009, 2:35 a.m.
    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
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on Aug. 29, 2009, 9:32 a.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    John Zajaros wrote this comment on Aug. 30, 2009, 9:40 p.m.
    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
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Maya wrote this comment on Sept. 12, 2009, 1:42 a.m.
    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!
    Please enable JavaScript to reply Reply to this comment
  • avatar
    SedonaCyberLink wrote this comment on Sept. 13, 2009, 7:36 p.m.
    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?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on Sept. 14, 2009, 1:47 a.m.
      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?
      Please enable JavaScript to reply Reply to this comment
  • avatar
    yugz wrote this comment on Sept. 15, 2009, 8:11 p.m.
    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
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on Sept. 16, 2009, 1:55 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Cheryl F. (The Lucky Ladybug) wrote this comment on Oct. 1, 2009, 7:56 p.m.
    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/
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on Oct. 2, 2009, 9:02 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Cheryl F. (The Lucky Ladybug) wrote this comment on Oct. 10, 2009, 6:55 p.m.
    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.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    cornel wrote this comment on Oct. 14, 2009, 7:34 p.m.
    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.
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Oct. 14, 2009, 8:27 p.m.
      Thanks for the report! A fixed version has been released.
      Please enable JavaScript to reply Reply to this comment
      • avatar
        Cornel@xs4all.nl wrote this comment on Oct. 14, 2009, 8:38 p.m.
        Thanks for your swift reply. Can't seem to find the new version though. I only see 0.8.1.2, that is the one giving my this issue. I upgraded from the following source: http://downloads.wordpress.org/plugin/nktagcloud.0.8.1.2.zip Any clues?
        Please enable JavaScript to reply Reply to this comment
      • avatar
        cornel wrote this comment on Oct. 14, 2009, 8:53 p.m.
        Thank you Nicolas. Installed it and everything is just fine again!
        Please enable JavaScript to reply Reply to this comment
  • avatar
    Joss wrote this comment on Oct. 18, 2009, 1:33 p.m.
    Oh noes! I installed the newer version and it doesn't display anything :O
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Joss wrote this comment on Oct. 18, 2009, 1:58 p.m.
    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
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Oct. 18, 2009, 4:44 p.m.
      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!
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Max wrote this comment on Oct. 20, 2009, 1:14 a.m.
    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 ... ?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Oct. 20, 2009, 11:53 a.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Steve Baldock wrote this comment on Oct. 21, 2009, 11:52 a.m.
    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?
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Steve Baldock wrote this comment on Oct. 21, 2009, 3:05 p.m.
    (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)
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Oct. 21, 2009, 3:34 p.m.
      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?
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Kaspars wrote this comment on Oct. 23, 2009, 6:36 p.m.
    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.
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Oct. 24, 2009, 2:03 a.m.
      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.
      Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Oct. 26, 2009, 12:50 p.m.
      Hi Kaspars, today's 0.8.5 release includes this feature and other improvements.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    MattHart wrote this comment on Oct. 28, 2009, 7:06 p.m.
    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!
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Oct. 29, 2009, 10:51 a.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Chris King wrote this comment on Nov. 4, 2009, 12:40 p.m.
    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
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Nov. 4, 2009, 4:06 p.m.
      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".
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Leandro wrote this comment on Nov. 4, 2009, 11:09 p.m.
    Hey, I'm just passing by to thank you for this pluggin. I'm currently using it on my blog www.logisticadescomplicada .com and it helped me fixing an issue I had before! Cheers!
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Eric wrote this comment on Nov. 7, 2009, 6:33 a.m.
    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?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Nov. 7, 2009, 10:44 a.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Phil wrote this comment on Nov. 9, 2009, 9:51 p.m.
    I can't get the css of this to show up on the page!
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Nov. 10, 2009, 12:11 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Kiley wrote this comment on Nov. 10, 2009, 6:18 a.m.
    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 :-)
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Nov. 10, 2009, 2:30 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Jake - DesignerFied wrote this comment on Nov. 11, 2009, 2:57 a.m.
    Works great... easy to use!!! Thanks for this plugin!
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Dave wrote this comment on Nov. 13, 2009, 1:38 p.m.
    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 );
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Nov. 13, 2009, 2:59 p.m.
      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..
      Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Nov. 13, 2009, 2:44 p.m.
      Hi Dave, you're right! I will fix this asap.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    GeorgWP wrote this comment on Nov. 18, 2009, 11:16 p.m.
    Hi Nicolas, Nice plugins you have written. Would it be possible to add a function to include/exclude categories? That would be really nice!
    Please enable JavaScript to reply Reply to this comment
  • avatar
    GeorgWP wrote this comment on Nov. 18, 2009, 11:34 p.m.
    PS: There are a number of strings that are not yet internationalized. To wit http://easycaptures.com/fs/uploaded/422/1366134344.png
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Nov. 19, 2009, 1:23 a.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Rahul wrote this comment on Nov. 19, 2009, 4:34 p.m.
    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
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Nov. 19, 2009, 5:45 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Roger Due wrote this comment on Dec. 3, 2009, 10:55 p.m.
    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!!!
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Riffen wrote this comment on Dec. 8, 2009, 3:58 p.m.
    Tu dois utiliser windos toi non? you should not be a mac user Right?
    Please enable JavaScript to reply Reply to this comment
  • avatar
    David wrote this comment on Dec. 10, 2009, 12:23 p.m.
    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?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Dec. 22, 2009, 12:59 a.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Prenotazione Traghetti wrote this comment on Dec. 16, 2009, 7:36 p.m.
    nice plugin. used in my blog. tks
    Please enable JavaScript to reply Reply to this comment
  • avatar
    anyhoo wrote this comment on Dec. 21, 2009, 11:53 p.m.
    good plugin. but i like the flash one better.
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Dec. 22, 2009, 12:56 a.m.
      Well, to each his own I guess :-D Btw, your link to the flash one didn't work, so I removed it.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Ivan. wrote this comment on Dec. 22, 2009, 5:46 p.m.
    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?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Dec. 22, 2009, 8 p.m.
      I see it's gone. Actually, it's impossible that the links stays once the plugin is uninstalled. :-)
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Lise wrote this comment on Dec. 27, 2009, 9:09 p.m.
    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
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Dec. 27, 2009, 10:34 p.m.
      This is great, thank you Lise! I will include your translation in the next release. Merci beaucoup!
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Kiley wrote this comment on Dec. 29, 2009, 1:59 a.m.
    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
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Kiley wrote this comment on Dec. 29, 2009, 2:08 a.m.
      Just one other question is how do you configure the tags to display in different colours? Many thanks!
      Please enable JavaScript to reply Reply to this comment
      • avatar
        Nicolas wrote this comment on Dec. 29, 2009, 9:04 a.m.
        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.
        Please enable JavaScript to reply Reply to this comment
  • avatar
    Ramiro wrote this comment on Jan. 3, 2010, 2:13 a.m.
    Great plugin. I would like to know how to make my tags look in different colors like your demo above. Thank you
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Jan. 3, 2010, 7:47 p.m.
      I will add colored tags in the next release, stay tuned!
      Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Jan. 4, 2010, 3:44 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    typofi wrote this comment on Jan. 4, 2010, 10:04 a.m.
    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!
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Steve wrote this comment on Jan. 4, 2010, 9:17 p.m.
    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?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Jan. 4, 2010, 9:49 p.m.
      You are right, I just uploaded a fix that should resolve this issue. Thanks for the report!
      Please enable JavaScript to reply Reply to this comment
      • avatar
        Steve wrote this comment on Jan. 6, 2010, 2:06 a.m.
        Thanks for the fix. All is good!
        Please enable JavaScript to reply Reply to this comment
      • avatar
        Michael wrote this comment on Jan. 8, 2010, 5:25 a.m.
        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
        Please enable JavaScript to reply Reply to this comment
      • avatar
        Nicolas wrote this comment on Jan. 8, 2010, 10:51 a.m.
        Hi Michael, I'm afraid I don't understand what you mean.
        Please enable JavaScript to reply Reply to this comment
  • avatar
    Roman wrote this comment on Jan. 6, 2010, 4:12 a.m.
    page.css file is missing in CSS folder...??? http://s61.radikal.ru/i172/1001/57/e65c2c508f6f.jpg
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Roger Due wrote this comment on Jan. 6, 2010, 11:10 p.m.
    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.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    ff-webdesigner wrote this comment on Jan. 8, 2010, 7:30 p.m.
    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
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Jan. 8, 2010, 8:25 p.m.
      Looks fine to me on the page you linked. I did remove all links from your comment though... if you really have problems I suggest http://www.w3.org/TR/CSS21/cascade.html
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Carolin wrote this comment on Jan. 9, 2010, 1:30 a.m.
    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?
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Skye wrote this comment on Jan. 17, 2010, 1:28 a.m.
    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?
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Jess wrote this comment on Jan. 18, 2010, 8:27 a.m.
    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 :)
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Komarik wrote this comment on Jan. 19, 2010, 10:28 a.m.
    Nice plugin. I don't use widgets. This plug-in has a shortcode for an insert in sidebar?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Jan. 19, 2010, 3:50 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Sergey wrote this comment on Jan. 19, 2010, 4:45 p.m.
    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
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Jan. 19, 2010, 5:33 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Sergey wrote this comment on Jan. 19, 2010, 6:04 p.m.
    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.
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Jan. 19, 2010, 6:53 p.m.
      No Sergey, I need to know which multilingual plugin you use. The one that lets you have a blog in more than one language.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Sergey wrote this comment on Jan. 19, 2010, 7:09 p.m.
    Ok, I've got you now.. It's WPML Multilingual CMS
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Pavel wrote this comment on Jan. 20, 2010, 4:29 p.m.
    How can I use automatic colors for the tag cloud in the wp_tag_cloud() function?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Jan. 20, 2010, 4:45 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Sergey wrote this comment on Jan. 21, 2010, 9:33 a.m.
    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.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    ff-webdesigner wrote this comment on Jan. 22, 2010, 12:23 p.m.
    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!
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Jan. 22, 2010, 10:48 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    MALIK wrote this comment on Jan. 30, 2010, 1:12 a.m.
    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
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Stubborn Mule wrote this comment on Jan. 30, 2010, 11:24 p.m.
    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.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Muad wrote this comment on Jan. 31, 2010, 6:36 a.m.
    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?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Jan. 31, 2010, 3:19 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Stubborn Mule wrote this comment on Feb. 1, 2010, 4:31 a.m.
    Update works! Thanks for the quick response.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Dave wrote this comment on Feb. 3, 2010, 5:15 p.m.
    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 :)
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Feb. 4, 2010, 1:17 a.m.
      Hi Dave! You can probably get that effect by using the "flat" display format (iirc) and setting the CSS styles to text-align :justify.
      Please enable JavaScript to reply Reply to this comment
      • avatar
        David wrote this comment on July 2, 2010, 11:57 p.m.
        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...
        Please enable JavaScript to reply Reply to this comment
  • avatar
    kisfoka wrote this comment on Feb. 4, 2010, 12:05 a.m.
    Hi! I would like to ask. How can i embed the cloud just like you did it on this page. Thanks and regards
    Please enable JavaScript to reply Reply to this comment
  • avatar
    faraz wrote this comment on Feb. 4, 2010, 9:51 a.m.
    nice widget... Thanks for it..
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Tino wrote this comment on Feb. 7, 2010, 7:04 p.m.
    hi need the php code for direct theme add. thanks
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Feb. 8, 2010, 2:28 p.m.
      The cloud can be produced by calling nk_wp_tag_cloud(); Please see inc/page.php for parameter documentation.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Nicole wrote this comment on Feb. 13, 2010, 1:24 a.m.
    Thanks for this nice widget. Very helpful.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Jason wrote this comment on Feb. 17, 2010, 1:40 p.m.
    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.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Tom wrote this comment on Feb. 17, 2010, 7:36 p.m.
    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?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Feb. 18, 2010, 2:01 a.m.
      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?
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Gunilla wrote this comment on Feb. 26, 2010, 3:56 p.m.
    Hi, There is something I don´t understand. The plug-in is installed and activated. But where do the tag-choices appear? Gunilla
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on Feb. 26, 2010, 6:44 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Kalman wrote this comment on March 2, 2010, 5:07 p.m.
    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
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on March 3, 2010, 1:49 p.m.
      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..
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Kate wrote this comment on March 5, 2010, 5:50 p.m.
    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!!
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on March 6, 2010, 1:06 p.m.
      Hello Kate, sure, the plugin can work without widgets. There are some notes on this page: http://wordpress.org/extend/plugins/nktagcloud/ It might be easier to widgetize your theme though, as described on http://www.themelab.com/2008/04/18/see-how-easy-it-is-to-widgetize-wordpress-themes/ for example.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Friedi wrote this comment on March 9, 2010, 11:14 a.m.
    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
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on March 9, 2010, 11:55 a.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    NpXp wrote this comment on March 16, 2010, 8:14 a.m.
    I just activated your plugin. It's way better than the default tag widget. Thanks for this contribution.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Brandon wrote this comment on March 17, 2010, 11:41 p.m.
    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,
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Eric wrote this comment on March 18, 2010, 11:52 p.m.
    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?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on March 19, 2010, 1:02 a.m.
      .widget-nktagcloud ul { foo } or something similar should work I imagine
      Please enable JavaScript to reply Reply to this comment
    • avatar
      Eric wrote this comment on March 19, 2010, 4:27 a.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Wiseman wrote this comment on March 20, 2010, 5:23 p.m.
    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.
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on March 20, 2010, 11:12 p.m.
      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?
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Mouad wrote this comment on March 28, 2010, 2:29 p.m.
    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
    Please enable JavaScript to reply Reply to this comment
  • avatar
    mouad wrote this comment on March 31, 2010, 4:07 p.m.
    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.
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on March 31, 2010, 11:18 p.m.
      -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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Mandx wrote this comment on April 4, 2010, 7:31 p.m.
    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).
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on April 4, 2010, 7:43 p.m.
      I have no idea what wpml is. The title is printed through echo apply_filters( 'the_title', $config['title'] );
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Tan wrote this comment on April 7, 2010, 2:30 a.m.
    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.
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on April 7, 2010, 10:33 a.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    dave wrote this comment on April 7, 2010, 2:46 a.m.
    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!
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on April 7, 2010, 10:32 a.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Richard wrote this comment on April 10, 2010, 5:03 p.m.
    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?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on April 11, 2010, 1:46 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Domicio Neto wrote this comment on April 13, 2010, 6:30 a.m.
    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.
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on April 13, 2010, 11:56 a.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Phil wrote this comment on April 13, 2010, 8:09 a.m.
    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,
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on April 13, 2010, 11:57 a.m.
      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!
      Please enable JavaScript to reply Reply to this comment
    • avatar
      Melinda Davey wrote this comment on April 13, 2010, 10 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Melinda Davey wrote this comment on April 13, 2010, 9:59 p.m.
    Thanks! I'm testing this, and it seems to be working well.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Technology Blog wrote this comment on April 15, 2010, 5:03 p.m.
    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.
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on April 15, 2010, 5:40 p.m.
      Hi Technology Blog, there are various ways to include the tag cloud on your site, they are all described on http://wordpress.org/extend/plugins/nktagcloud/
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Scott wrote this comment on April 20, 2010, 3:27 p.m.
    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.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Mike wrote this comment on April 26, 2010, 3:04 a.m.
    Great plugin! We're using it on selected blogs at the PSOUG.org site (http://psoug.org/blogs/).
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Heather Fonseca wrote this comment on April 28, 2010, 5:29 a.m.
    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.
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on April 28, 2010, 8:09 a.m.
      You can manage widgets on the Appearance->Widgets page. There should be a widget named Better Tag Cloud.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Ardiawan.com wrote this comment on May 2, 2010, 8:53 a.m.
    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..
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Radek wrote this comment on May 11, 2010, 6:19 a.m.
    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
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on May 11, 2010, 4:24 p.m.
      single=yes only shows tags of the current post, so no tags on pages, the blog page etc.
      Please enable JavaScript to reply Reply to this comment
      • avatar
        Radek wrote this comment on May 11, 2010, 10:16 p.m.
        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
        Please enable JavaScript to reply Reply to this comment
      • avatar
        Radek wrote this comment on May 12, 2010, 1:30 p.m.
        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
        Please enable JavaScript to reply Reply to this comment
      • avatar
        Nicolas wrote this comment on May 12, 2010, 3:26 p.m.
        You can use nktagcloud_the_cloud() for that.
        Please enable JavaScript to reply Reply to this comment
      • avatar
        Radek wrote this comment on May 13, 2010, 3:42 a.m.
        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
        Please enable JavaScript to reply Reply to this comment
      • avatar
        Nicolas wrote this comment on May 13, 2010, 10:24 a.m.
        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.
        Please enable JavaScript to reply Reply to this comment
  • avatar
    Roger wrote this comment on May 13, 2010, 5:03 a.m.
    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...
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Nicolas wrote this comment on May 13, 2010, 10:18 a.m.
    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')
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Radek wrote this comment on May 13, 2010, 1:17 p.m.
      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
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Ardiawan wrote this comment on May 14, 2010, 6:37 a.m.
    what Tag separator should I fill if I want to give white space? Thanks
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Stephen Glanville wrote this comment on May 14, 2010, 7:34 a.m.
    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
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on May 14, 2010, 12:02 p.m.
      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. :-?
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Mark Stevens wrote this comment on May 17, 2010, 1:07 p.m.
    Is there a way to add "nofollow" to the cloud?
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Scott wrote this comment on May 18, 2010, 7:02 p.m.
    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!
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on May 18, 2010, 8:12 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Andrija wrote this comment on May 19, 2010, 1:13 p.m.
    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!
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Emrah wrote this comment on May 20, 2010, 9:42 p.m.
    Great a widget. Very thanks.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Espen wrote this comment on May 21, 2010, 1:20 p.m.
    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?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on May 21, 2010, 1:47 p.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    lolo wrote this comment on May 25, 2010, 4:45 p.m.
    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
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas wrote this comment on May 25, 2010, 7:55 p.m.
      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 ;-)
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Brandon wrote this comment on June 10, 2010, 4:15 p.m.
    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.
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on June 10, 2010, 6:45 p.m.
      Hi Brandon, I'm not sure what you mean?
      Please enable JavaScript to reply Reply to this comment
      • avatar
        Brandon wrote this comment on June 10, 2010, 11:57 p.m.
        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.
        Please enable JavaScript to reply Reply to this comment
        • avatar
          nicolas wrote this comment on June 11, 2010, 12:41 a.m.
          There is no array format. What are you trying to do?
          Please enable JavaScript to reply Reply to this comment
          • avatar
            Brandon wrote this comment on June 11, 2010, 5:55 p.m.
            I'm trying to have the tags show up in differing font sizes. Pardon my ignorance.
            Please enable JavaScript to reply Reply to this comment
            • avatar
              nicolas wrote this comment on June 12, 2010, 7:40 a.m.
              Well you have to change the settings for "Smallest font size" etc. The are on the plugin's options page.
              Please enable JavaScript to reply Reply to this comment
  • avatar
    Ashwan wrote this comment on June 12, 2010, 11:43 p.m.
    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!
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on June 13, 2010, 10:07 a.m.
      Hi Ashwan, thanks for spotting this! I guess that's what I get for copy and paste without using my brain :-D
      Please enable JavaScript to reply Reply to this comment
  • avatar
    troy wrote this comment on June 20, 2010, 6:25 p.m.
    newest version shreddered my design, any idea why this is so?
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Dave wrote this comment on July 2, 2010, 8:46 p.m.
    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!! :)
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Sebastian wrote this comment on July 14, 2010, 6:32 p.m.
    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.
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on July 15, 2010, 9:49 a.m.
      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.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    bingjie wrote this comment on July 16, 2010, 9:22 p.m.
    perfectly cool...install it right way.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Emrah wrote this comment on July 20, 2010, 8:45 p.m.
    I like it, it&acirc;
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Dirk wrote this comment on July 25, 2010, 5:54 p.m.
    Tolles Widget, Spende kommt vielen Dank für die gute Arbeit. Great widget i will donate. Thanks for the work you did. Dirk
    Please enable JavaScript to reply Reply to this comment
  • avatar
    nd wrote this comment on July 31, 2010, 5:03 a.m.
    Hi Nicholas. This plugin looks nice. Reading through the comments, it looks like color was added to this some time ago. But I don't see any color controls on the widget's panel, and my output is all one color. Also, I'm unable to get the Exclude category ID to work. But Include category works as expected. Thank you!
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on July 31, 2010, 1:49 p.m.
      Hi. Please make sure you're really using the Better Tag Cloud widget, not the default one. The colors of the cloud can be overridden by the theme, it's in the CSS. Also, you can not exclude categories, only tags.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    leonie wrote this comment on Aug. 4, 2010, 12:22 p.m.
    Hi nicolas, sounds like a great plugin, the idea is certainly great, but I can't get the widget in the sidebar. When I click on it in the widget overview to place it onto the sidebar it doens't move, all it does is select the text. Also it messes with the font of the widget overview. Kind of hard to explain what's happening, but maybe you've seen this before and know what I can do to get it working.
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on Aug. 4, 2010, 2:01 p.m.
      Hm, maybe you are using some other plugin that modifies the admin area? I've never seen what you describe. If you send me a login to your blog I could have a look, please use my contact form for that.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Fred wrote this comment on Aug. 13, 2010, 1:57 p.m.
    Hi Nicolas, I'm using BTC on my blog's About page, but the tag pages generated don't seem to serve up any content. Can you suggest what could be wrong? Thanks.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Matt wrote this comment on Aug. 14, 2010, 1:40 a.m.
    Hi Nicolas, thank you for the plug-in. Just having difficulties creating a category only tagcloud. When I list 'category' under the taxonomy field and add categories in the other field it seems to give both the category AND the post tags. Probably something very simple, but am still trying to have only the categories showing. Appreciate any help, thank you.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    denise wrote this comment on Aug. 17, 2010, 4:35 p.m.
    Hi Nicolas, Thanks for this plugin, I am amazed that you are still providing support for this after almost 2 years! I've been trying to exclude one tag from my tag cloud, using the exclude tag option you included in the admin page. However it is not working. Can I edit something manually to get it to work? Which file should I be looking at?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on Aug. 18, 2010, 12:14 p.m.
      Hi Denise, I'm glad you like the plugin! To exclude tags you have to list them by ID, to see the ID you can go to the Posts->Post tags page and hover over the edit link. Or install this plugin: http://wordpress.org/extend/plugins/simply-show-ids/
      Please enable JavaScript to reply Reply to this comment
  • avatar
    nd wrote this comment on Aug. 18, 2010, 10:53 p.m.
    Hi Nicolas. Love the plugin, and thanks for your previous reply (above). I'm wondering -- is there a convenient way to get a clean listing of all tags/categories along with their ID numbers, so that you don't have to hover over each edit link one at a time?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on Aug. 19, 2010, 12:12 p.m.
      I think the easiest way is the simply show ids plugin. You can change the number of listed tags on the tags page by clicking on "Screen options".
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Esben Rasmussen wrote this comment on Aug. 19, 2010, 11:41 a.m.
    Hello Nicolas Just downloaded this great plugin to use on my resumé/CV page. I am using it in conjunction with simple tags, which lets me add tags to pages. That way I am able to markup my skills so they count as tags on that page and create a tagcloud listing my skills. In order to do this I am using the shortcode [nktagcloud single=yes], which correctly displays the tags from the page - BUT the tag "CSS" is bigger than the other tags because in one of my blog posts I have also used this tag. So my problem is: using [nktagcloud single=yes] correctly displays only the tags from the current page/post - but if the tag from the page is used somewhere else on the site, it will count as well. What can I do to fix this? Thanks again for a great plugin.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Paul wrote this comment on Aug. 21, 2010, 3:07 p.m.
    Thanks for the nice plugin! I have the options set to show the number of posts using each tag -- also option set to show each tag that has at least one post. However, the tags which have just one post aren't showing in the list of tags. Might you have a suggestion for me to get it working? Thanks. Edit: Please disregard my last comment. I figured out how to do it by setting the number to 0 instead of 1 -- as far as how many times the tag must be used before the tag is shown. Thanks.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Valan wrote this comment on Aug. 23, 2010, 12:27 a.m.
    Brilliant plug-in, thankyou so much for this. I was beginning to tear my hair out until I found this, now I will be able to use your plug-in to show tags for a recipe archive! ;)
    Please enable JavaScript to reply Reply to this comment
  • avatar
    esoftload wrote this comment on Sept. 11, 2010, 4:34 p.m.
    nice one... but using too many tags in a tag cloud may not good for site, said by matts cutt
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Emilio wrote this comment on Sept. 13, 2010, 4:16 p.m.
    For those (like me) using tags containing accents, here is how to correctly sort. In PAGE.PHP replace line 90 with the following line : uasort( $tags, create_function('$a, $b', 'return strnatcasecmp(replace_accents($a->name), replace_accents($b->name));') ); Finally, add inside PAGE.PHP : function replace_accents($str) { $str = htmlentities($str, ENT_COMPAT, "UTF-8"); $str = preg_replace('/&([a-zA-Z])(uml|acute|grave|circ|tilde);/', '$1', $str); return html_entity_decode($str); } Voilà !
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on Sept. 13, 2010, 4:30 p.m.
      Interesting. The code my plugin uses for sorting is the same the wp core uses. Did you check if the built-in tag cloud sorts your tags properly? If not I think I'll have to do some testing myself and maybe report a bug against wp core. I would have assumed that mysql can sort correctly if it has the correct locale definitions.
      Please enable JavaScript to reply Reply to this comment
      • avatar
        Emilio wrote this comment on Sept. 13, 2010, 5:24 p.m.
        The official WP widget also fails to sort accents. So, yes, it is a bug in the core functions, but I didn't bother to report it, because foreign language support never seems a priority in WP. Hehehe ! Anyway, to summarize : By default, the tag 'époque' will get sorted AFTER the tag 'Zimbabwe', while 'epoque' (without accent) will get sorted BEFORE 'Zimbabwe'. The code I posted tries to solve this problem.
        Please enable JavaScript to reply Reply to this comment
  • avatar
    Jay wrote this comment on Oct. 3, 2010, 9:48 p.m.
    Hi Nicolas, Thanks for the plug-in. Not sure if this is on topic but when I click a tag the resulting post will not display images. How do I have images displayed in the tag/post result?
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Janis wrote this comment on Oct. 6, 2010, 6:43 p.m.
    hi, is there any way to limit tag's length for "better tag cloud"? if I place tag cloud in index.php and have tag with too many characters for one line/string, plugin does not extend/wrap it to the second line, but pushes tag behind my sidebar. maybe someone knows how to limit tags length for default wordpress posts too? thank you.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Spark wrote this comment on Oct. 28, 2010, 12:46 p.m.
    Is there a possibility to have images in the place of text for tags?
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on Oct. 28, 2010, 2:41 p.m.
      No that's not possible at the moment. What I could do is to add the tag as class to every link so that you can use CSS to add images.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    fabio wrote this comment on Nov. 4, 2010, 11:30 a.m.
    Hi Nicolas first of all, thanks for your time and support. We have added the multilingual support to our website (MLWP), but we are experiencing the following error when we switch from the native language to the other.HP Warning: Invalid argument supplied for foreach() in .\wp-content\plugins\nktagcloud\inc\page.php on line 312 PHP Warning: min() [function.min]: Array must contain atleast one element in .\wp-content\plugins\nktagcloud\inc\page.php on line 339 PHP Warning: max() [function.max]: Array must contain atleast one element in .\wp-content\plugins\nktagcloud\inc\page.php on line 340 PHP Warning: Invalid argument supplied for foreach() in .\wp-content\plugins\nktagcloud\inc\page.php on line 363 PHP Warning: Invalid argument supplied for foreach() in .\wp-content\plugins\nktagcloud\inc\page.php on line 371 Any advice would be extremely appreciated. Thanks Fabio
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Roman wrote this comment on Nov. 12, 2010, 11:36 p.m.
    Would be really great to have option to exclude and include also the IDs of the categories and not only the ids of the tags + also option to enable/disable the tags the same way you can enagle or dissable the categories, i saw few suggestions for the same above, any channe to implement those? cheers Roman :))
    Please enable JavaScript to reply Reply to this comment
    • avatar
      nicolas wrote this comment on Nov. 13, 2010, 7:18 p.m.
      Hi Roman, I am currently working on a complete rewrite of this plugin and will keep this feature in mind! But it will take some time.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Gaurav wrote this comment on March 28, 2011, 4:28 p.m.
    Hello Mr Nicholas Thanks for this great plugin. I am having little problem here. Everything is perfect except the underlines.. how do i remove them? i tried css codes above but didnt work.. Thanks
    Please enable JavaScript to reply Reply to this comment
    • avatar
      mua sam vui wrote this comment on March 29, 2011, 7:50 a.m.
      you can use "!important" to fix or using $(div).css("property","none") Good luck !
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Amber @ Au Coeur wrote this comment on April 18, 2011, 3:40 a.m.
    Hi - I'm having trouble with the spacing for the cloud - the tags are running all over each other. See http://www.lovelornpoets.com. How do I fix this? Thanks.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Jeffrey wrote this comment on May 12, 2011, 9:38 a.m.
    Hi Nicolas, great plug-in! Is there a way to get one (or some) particular post(s) at the top of the page, once you clicked in the cloud. Like a "sticky" post, only just for the posts on the tagged page (post tagged '.....'). e.g. I always want the 5th post at this page at the top of this page: http://www.carolineaalbers.nl/?tag=zatopek-dragon Best regards. Jeffrey
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas Kuttler wrote this comment on May 14, 2011, 3:10 p.m.
      There are several ways to do this. You can contact me through my contact form if you'd like to hire me. You can get free support on the wordpress forums and IRC channel.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Samantha wrote this comment on June 5, 2011, 8:06 p.m.
    Hi, I would like to set up a tag cloud menu that looks 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 so that when you click on a letter it brings up a list of all tags that begin with that letter. Is this possible within the native plugin functionality? If so, can you show me how to set up the parameters to only return the first letter as described above? Thank you in advance!
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas Kuttler wrote this comment on June 5, 2011, 10:21 p.m.
      No, the plugin doesn't support this. But I'm sure it could be coded.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Laurent wrote this comment on June 19, 2011, 11:45 p.m.
    Hi Nicolas I have just installed your great plugin, but despite putting different font sizes they all appear under the same one which is a bit boring...Really want something like your tag cloud demo with different size. Is there something I should change in my theme? Thanks!
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas Kuttler wrote this comment on June 20, 2011, 4:39 p.m.
      Hi Laurent, the tags only have different sizes if you use them a different number of times. Same number means same size.
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Laurent wrote this comment on June 20, 2011, 4:42 p.m.
    Oh! I'm seing the light now lol Sorry for the hassle then and thank you for your fast answer Nicolas.
    Please enable JavaScript to reply Reply to this comment
  • avatar
    Adrian wrote this comment on June 29, 2011, 6:46 p.m.
    Hello there, whenever I click a tag it will bring me to the correct page but wrong heading. It says "Entires tagged with African Fusion" instead of what it should be. Any way to fix this? The tag cloud is under "Browse by Keyword" in the main menu. Thanks!
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas Kuttler wrote this comment on June 29, 2011, 9:19 p.m.
      I think your theme is broken, can you try with the default theme?
      Please enable JavaScript to reply Reply to this comment
  • avatar
    Amanda wrote this comment on July 6, 2011, 8:21 p.m.
    I am using WordPress 3.2 and everything seems to be working fine other than the mincount parameter when calling it from the function like this:
    <?php if ( function_exists( 'nktagcloud_shortcode' ) ) { echo nktagcloud_shortcode( 'mincount=3' ); } ?> 
    Am I using this incorrectly? Or is this feature broken with the new version? Thanks!
    Please enable JavaScript to reply Reply to this comment
    • avatar
      Nicolas Kuttler wrote this comment on July 7, 2011, 1:16 p.m.
      Do you mean that the cloud shows tags that are used less than three times? Can you confirm this by turning on the count display? I haven't tested the plugin on 3.2 yet, so it could be possible I guess.
      Please enable JavaScript to reply Reply to this comment
      • avatar
        Amanda wrote this comment on July 13, 2011, 7:30 a.m.
        I do have the count on, all tags are showing and some are only used once.
        Please enable JavaScript to reply Reply to this comment

Start a new thread

Cancel reply
Markdown. Syntax highlighting with <code lang="php"><?php echo "Hello, world!"; ?></code> etc.