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:

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.

WordPress plugin demos are disabled as I don't use WordPress on this site any more.

359 comments

  1. avatar
    wrote this comment on

    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.

  2. avatar
    wrote this comment on

    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. :)

  3. avatar
    wrote this comment on

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

  4. avatar
    wrote this comment on

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

  5. avatar
    wrote this comment on

    I like it, it's a perfect widget.

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

  6. avatar
    wrote this comment on

    Hi Chris, it's already possible to remove the link.

  7. avatar
    wrote this comment on

    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!

  8. avatar
    wrote this comment on

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

  9. avatar
    wrote this comment on

    Hello,

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

  10. avatar
    wrote this comment on

    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.

  11. avatar
    wrote this comment on

    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.

  12. avatar
    wrote this comment on

    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.

  13. avatar
    wrote this comment on

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

  14. avatar
    wrote this comment on

    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?

  15. avatar
    wrote this comment on

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

  16. avatar
    wrote this comment on

    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?

  17. avatar
    wrote this comment on

    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?

  18. avatar
    wrote this comment on

    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.

  19. avatar
    wrote this comment on

    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.

  20. avatar
    wrote this comment on

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

  21. avatar
    wrote this comment on

    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.

  22. avatar
    wrote this comment on

    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?

  23. avatar
    wrote this comment on

    very useful, thanks.

  24. avatar
    wrote this comment on

    The plugin is still active, I just checked your site.

  25. avatar
    wrote this comment on

    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.

  26. avatar
    wrote this comment on

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

  27. avatar
    wrote this comment on

    Thanks for this wonderful Plugin buddy...

  28. avatar
    wrote this comment on

    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

  29. avatar
    wrote this comment on

    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.

  30. avatar
    wrote this comment on

    Adding
    <pre>li#better-tag-cloud a { text-decoration: none; }</pre> to your site's css file should do that.

  31. avatar
    wrote this comment on

    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.

  32. avatar
    wrote this comment on

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

  33. avatar
    wrote this comment on

    0.5.0 Of The Plugin
    2.8 Of WordPress
    No Caching Plugins

  34. avatar
    wrote this comment on

    Error at widget %BEG_OF_TITLE% Tags %END_OF_TITLE%

    How to fix it... my blog gone

  35. avatar
    wrote this comment on

    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.

  36. avatar
    wrote this comment on

    can you add the "exclude" parameter to the widjet form?

  37. avatar
    wrote this comment on

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

  38. avatar
    wrote this comment on

    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

  39. avatar
    wrote this comment on

    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.

  40. avatar
    wrote this comment on

    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

  41. avatar
    wrote this comment on

    Looks fine to me. I guess you fixed it somehow?

  42. avatar
    wrote this comment on

    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!

  43. avatar
    wrote this comment on

    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?

  44. avatar
    wrote this comment on

    Do you get an error message? If so please paste it here. You could create a file that contains &lt;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?

  45. avatar
    wrote this comment on

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

  46. avatar
    wrote this comment on

    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

  47. avatar
    wrote this comment on

    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 <a href="http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_to_a_New_Server" rel="nofollow">this page</a>.

  48. avatar
    wrote this comment on

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

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

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

  49. avatar
    wrote this comment on

    You're welcome!

  50. avatar
    wrote this comment on

    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/

  51. avatar
    wrote this comment on

    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.

  52. avatar
    wrote this comment on

    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.

  53. avatar
    wrote this comment on

    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.

  54. avatar
    wrote this comment on

    Thanks for the report! A fixed version has been released.

  55. avatar
    wrote this comment on

    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?

  56. avatar
    wrote this comment on

    Yes, it takes a few minutes before the uploads get released, it's online now: http://downloads.wordpress.org/plugin/nktagcloud.0.8.2.zip

  57. avatar
    wrote this comment on

    Thank you Nicolas. Installed it and everything is just fine again!

  58. avatar
    wrote this comment on

    Oh noes!

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

  59. avatar
    wrote this comment on

    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

  60. avatar
    wrote this comment on

    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!

  61. avatar
    wrote this comment on

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

  62. avatar
    wrote this comment on

    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.

  63. avatar
    wrote this comment on

    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?

  64. avatar
    wrote this comment on

    (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)

  65. avatar
    wrote this comment on

    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?

  66. avatar
    wrote this comment on

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

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

  67. avatar
    wrote this comment on

    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.

  68. avatar
    wrote this comment on

    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.

  69. avatar
    wrote this comment on

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

  70. avatar
    wrote this comment on

    Hi, Nicolas

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

    Kaspars

  71. avatar
    wrote this comment on

    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!

  72. avatar
    wrote this comment on

    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.

  73. avatar
    wrote this comment on

    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

  74. avatar
    wrote this comment on

    Hi Chris, the options page is under Settings -&gt; 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".

  75. avatar
    wrote this comment on

    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!

  76. avatar
    wrote this comment on

    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?

  77. avatar
    wrote this comment on

    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.

  78. avatar
    wrote this comment on

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

  79. avatar
    wrote this comment on

    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 :-)

  80. avatar
    wrote this comment on

    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.

  81. avatar
    wrote this comment on

    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.

  82. avatar
    wrote this comment on

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

  83. avatar
    wrote this comment on

    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-&gt;term_id );
    to
    if ( isset($tag-&gt;cat_ID) )
    $link = get_category_link( $tag-&gt;term_id );
    else
    $link = get_tag_link( $tag-&gt;term_id );

  84. avatar
    wrote this comment on

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

  85. avatar
    wrote this comment on

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

  86. avatar
    wrote this comment on

    Hi Nicolas,

    Nice plugins you have written.

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

  87. avatar
    wrote this comment on

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

  88. avatar
    wrote this comment on

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

  89. avatar
    wrote this comment on

    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.

  90. avatar
    wrote this comment on

    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

  91. avatar
    wrote this comment on

    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.

  92. avatar
    wrote this comment on

    Hi Nicolas,

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

    Please suggest.

    Thanks

  93. avatar
    wrote this comment on

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

  94. avatar
    wrote this comment on

    Hello Nicolas,

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

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

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

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

    pls suugest.

    Thanks

  95. avatar
    wrote this comment on

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

  96. avatar
    wrote this comment on

    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!!!

  97. avatar
    wrote this comment on

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

  98. avatar
    wrote this comment on

    I use <a href="http://www.debian.org" rel="nofollow">the universal operating system</a> mostly.

  99. avatar
    wrote this comment on

    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?

  100. avatar
    wrote this comment on

    nice plugin. used in my blog. tks

  101. avatar
    wrote this comment on

    good plugin. but i like the flash one better.

  102. avatar
    wrote this comment on

    Well, to each his own I guess :-D

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

  103. avatar
    wrote this comment on

    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.

  104. avatar
    wrote this comment on

    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?

  105. avatar
    wrote this comment on

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

  106. avatar
    wrote this comment on

    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

  107. avatar
    wrote this comment on

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

    Merci beaucoup!

  108. avatar
    wrote this comment on

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

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

  109. avatar
    wrote this comment on

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

  110. avatar
    wrote this comment on

    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

  111. avatar
    wrote this comment on

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

    Many thanks!

  112. avatar
    wrote this comment on

    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.

  113. avatar
    wrote this comment on

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

    Thank you

  114. avatar
    wrote this comment on

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

  115. avatar
    wrote this comment on

    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!

  116. avatar
    wrote this comment on

    Hi, this is already possible, just use the exclude field.

  117. avatar
    wrote this comment on

    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.

  118. avatar
    wrote this comment on

    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?

  119. avatar
    wrote this comment on

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

  120. avatar
    wrote this comment on

    Thanks for the fix. All is good!

  121. avatar
    wrote this comment on

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

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

  122. avatar
    wrote this comment on

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

  123. avatar
    wrote this comment on

    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.

  124. avatar
    wrote this comment on

    The changelog is available here: http://wordpress.org/extend/plugins/nktagcloud/changelog/

  125. avatar
    wrote this comment on

    Ok, but is that link shown the next time I do an automatic upgrade from within WP? I guess I will have to pay closer attention. Thanks.

  126. avatar
    wrote this comment on

    Yeah, it's under "View Version xxx details"

  127. avatar
    wrote this comment on

    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

  128. avatar
    wrote this comment on

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

  129. avatar
    wrote this comment on

    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

  130. avatar
    wrote this comment on

    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

  131. avatar
    wrote this comment on

    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?

  132. avatar
    wrote this comment on

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

  133. avatar
    wrote this comment on

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

  134. avatar
    wrote this comment on

    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?

  135. avatar
    wrote this comment on

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

  136. avatar
    wrote this comment on

    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 :)

  137. avatar
    wrote this comment on

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

  138. avatar
    wrote this comment on

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

  139. avatar
    wrote this comment on

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

    <code>
    if ( function_exists( 'nk_wp_tag_cloud' ) ) {
    echo nk_wp_tag_cloud( "post_id=1234" );
    }
    </code>

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

  140. avatar
    wrote this comment on

    Hi Nicolas,
    Better Tag Cloud - a great plugin, thanks a lot!
    I have a bilingual website with English &amp; 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

  141. avatar
    wrote this comment on

    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.

  142. avatar
    wrote this comment on

    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.

  143. avatar
    wrote this comment on

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

  144. avatar
    wrote this comment on

    Ok, I've got you now..

    It's WPML Multilingual CMS

  145. avatar
    wrote this comment on

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

  146. avatar
    wrote this comment on

    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.

  147. avatar
    wrote this comment on

    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.

  148. avatar
    wrote this comment on

    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!

  149. avatar
    wrote this comment on

    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.

  150. avatar
    wrote this comment on

    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

  151. avatar
    wrote this comment on

    That should be no problem with one of the order options.

  152. avatar
    wrote this comment on

    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 <a href="http://www.stubbornmule.net" rel="nofollow">here</a>.

  153. avatar
    wrote this comment on

    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?

  154. avatar
    wrote this comment on

    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.

  155. avatar
    wrote this comment on

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

  156. avatar
    wrote this comment on

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

  157. avatar
    wrote this comment on

    I am definitely using the plugin at <a href="http://www.stubbornmule.net" rel="nofollow">Stubborn Mule</a>. I just turned on the colouring option to confirm it.

  158. avatar
    wrote this comment on

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

  159. avatar
    wrote this comment on

    Update works! Thanks for the quick response.

  160. avatar
    wrote this comment on

    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 :)

  161. avatar
    wrote this comment on

    Hi!

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

    Thanks and regards

  162. avatar
    wrote this comment on

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

  163. avatar
    wrote this comment on

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

  164. avatar
    wrote this comment on

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

  165. avatar
    wrote this comment on

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

  166. avatar
    wrote this comment on

    nice widget... Thanks for it..

  167. avatar
    wrote this comment on

    hi

    need the php code for direct theme add.

    thanks

  168. avatar
    wrote this comment on

    The cloud can be produced by calling nk_wp_tag_cloud();

    Please see inc/page.php for parameter documentation.

  169. avatar
    wrote this comment on

    Thanks for this nice widget. Very helpful.

  170. avatar
    wrote this comment on

    Dankeschön!

  171. avatar
    wrote this comment on

    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.

  172. avatar
    wrote this comment on

    Thank you!

  173. avatar
    wrote this comment on

    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?

  174. avatar
    wrote this comment on

    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?

  175. avatar
    wrote this comment on

    Hi,

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

    Gunilla

  176. avatar
    wrote this comment on

    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.

  177. avatar
    wrote this comment on

    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

  178. avatar
    wrote this comment on

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

  179. avatar
    wrote this comment on

    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!!

  180. avatar
    wrote this comment on

    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.

  181. avatar
    wrote this comment on

    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

  182. avatar
    wrote this comment on

    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.

  183. avatar
    wrote this comment on

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

  184. avatar
    wrote this comment on

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

  185. avatar
    wrote this comment on

    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,

  186. avatar
    wrote this comment on

    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?

  187. avatar
    wrote this comment on

    <code>
    .widget-nktagcloud ul { foo }
    </code> or something similar should work I imagine

  188. avatar
    wrote this comment on

    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.

  189. avatar
    wrote this comment on

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

  190. avatar
    wrote this comment on

    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.

  191. avatar
    wrote this comment on

    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?

  192. avatar
    wrote this comment on

    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

  193. avatar
    wrote this comment on

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

  194. avatar
    wrote this comment on

    Hey Nicolas and thank you for replying.

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

    I presume it is related to the plugin itself.

  195. avatar
    wrote this comment on

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

  196. avatar
    wrote this comment on

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

  197. avatar
    wrote this comment on

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

  198. avatar
    wrote this comment on

    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.

  199. avatar
    wrote this comment on

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

  200. avatar
    wrote this comment on

    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).

  201. avatar
    wrote this comment on

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

  202. avatar
    wrote this comment on

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

  203. avatar
    wrote this comment on

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

  204. avatar
    wrote this comment on

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

  205. avatar
    wrote this comment on

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

  206. avatar
    wrote this comment on

    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.

  207. avatar
    wrote this comment on

    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!

  208. avatar
    wrote this comment on

    Hi Dave, thank you! I assume you mean in the widget?
    Try to put the following code in your theme's style.css:
    <code>
    .widget_nktagcloud a {
    text-decoration: none !important;
    }
    </code>
    I hope this works.

  209. avatar
    wrote this comment on

    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.

  210. avatar
    wrote this comment on

    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
    <code>href="http://example.com/tag/mytag"</code> and I would need to change this to <code>href="http://example.com/wp-content/tagdir/mytag.gif"</code>
    Is that possible and where would I make that change?

  211. avatar
    wrote this comment on

    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.

  212. avatar
    wrote this comment on

    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.

  213. avatar
    wrote this comment on

    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,

  214. avatar
    wrote this comment on

    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.

  215. avatar
    wrote this comment on

    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!

  216. avatar
    wrote this comment on

    Hi Nicolas,

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

    Thank You

  217. avatar
    wrote this comment on

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

  218. avatar
    wrote this comment on

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

  219. avatar
    wrote this comment on

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

    Any help is greatly appreciated....

  220. avatar
    wrote this comment on

    Hi Phil, there are various ways to include the tag cloud on your site, they are all described on http://wordpress.org/extend/plugins/nktagcloud/

  221. avatar
    wrote this comment on

    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.

  222. avatar
    wrote this comment on

    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/

  223. avatar
    wrote this comment on

    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.

  224. avatar
    wrote this comment on

    Disregard, I made the corrections.

  225. avatar
    wrote this comment on

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

  226. avatar
    wrote this comment on

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

  227. avatar
    wrote this comment on

    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.

  228. avatar
    wrote this comment on

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

  229. avatar
    wrote this comment on

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

  230. avatar
    wrote this comment on

    You can change these two things by using your own CSS.

  231. avatar
    wrote this comment on

    okay, thanks

  232. avatar
    wrote this comment on

    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&amp;separator= - &amp;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

  233. avatar
    wrote this comment on

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

  234. avatar
    wrote this comment on

    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

  235. avatar
    wrote this comment on

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

  236. avatar
    wrote this comment on

    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

  237. avatar
    wrote this comment on

    You can use <code>nktagcloud_the_cloud()</code> for that.

  238. avatar
    wrote this comment on

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

  239. avatar
    wrote this comment on

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

  240. avatar
    wrote this comment on

    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 <a href="http://codex.wordpress.org/Template_Tags/wp_tag_cloud" rel="nofollow">http://codex.wordpress.org/Template_Tags/wp_tag_cloud</a>. Example:
    <code>
    if ( function_exists( 'nk_wp_tag_cloud' ) ) {
    echo nk_wp_tag_cloud( 'single=yes&amp;separator= - &amp;categories=no' );
    }
    </code>

    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')

  241. avatar
    wrote this comment on

    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.

  242. avatar
    wrote this comment on

    See the comment below with the updated docs. Use <code>nk_wp_tag_cloud()</code> for the second cloud.

  243. avatar
    wrote this comment on

    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

  244. avatar
    wrote this comment on

    oh right, it's <code>nktagcloud_shortcode( null )</code>. That should do.

  245. avatar
    wrote this comment on

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

  246. avatar
    wrote this comment on

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

    Thanks

  247. avatar
    wrote this comment on

    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

  248. avatar
    wrote this comment on

    that should be done with CSS

  249. avatar
    wrote this comment on

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

  250. avatar
    wrote this comment on

    Is there a way to add "nofollow" to the cloud?

  251. avatar
    wrote this comment on

    There is in the upcoming 0.11.0 release.

  252. avatar
    wrote this comment on

    By the way.... why on earth do you want nofollow on the tag cloud?

  253. avatar
    wrote this comment on

    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!

  254. avatar
    wrote this comment on

    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.

  255. avatar
    wrote this comment on

    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!

  256. avatar
    wrote this comment on

    Hm, you didn't paste any code :-) Did you look into the readme.txt?

  257. avatar
    wrote this comment on

    This code:
    http://www .animabonsai.com/00BRISI-function.html
    I was try to put here:
    http://www .animabonsai.com/archive/

  258. avatar
    wrote this comment on

    Please see http://wordpress.org/extend/plugins/nktagcloud/

  259. avatar
    wrote this comment on

    Great a widget. Very thanks.

  260. avatar
    wrote this comment on

    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?

  261. avatar
    wrote this comment on

    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.

  262. avatar
    wrote this comment on

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

  263. avatar
    wrote this comment on

    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

  264. avatar
    wrote this comment on

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

  265. avatar
    wrote this comment on

    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.

  266. avatar
    wrote this comment on

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

  267. avatar
    wrote this comment on

    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.

  268. avatar
    wrote this comment on

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

  269. avatar
    wrote this comment on

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

  270. avatar
    wrote this comment on

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

  271. avatar
    wrote this comment on

    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!

  272. avatar
    wrote this comment on

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

  273. avatar
    wrote this comment on

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

  274. avatar
    wrote this comment on

    No. A link to your site would help though.

  275. avatar
    wrote this comment on

    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!! :)

  276. avatar
    wrote this comment on

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

  277. avatar
    wrote this comment on

    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.

  278. avatar
    wrote this comment on

    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.

  279. avatar
    wrote this comment on

    perfectly cool...install it right way.

  280. avatar
    wrote this comment on

    Nevertheless it's the best tag cloud widget - you did a great job. Thumbs up!

  281. avatar
    wrote this comment on

    Thanks! :-)

  282. avatar
    wrote this comment on

    I'm glad you like it

  283. avatar
    wrote this comment on

    I like it, it&amp;acirc;

  284. avatar
    wrote this comment on

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

  285. avatar
    wrote this comment on

    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!

  286. avatar
    wrote this comment on

    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.

  287. avatar
    wrote this comment on

    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.

  288. avatar
    wrote this comment on

    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.

  289. avatar
    wrote this comment on

    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.

  290. avatar
    wrote this comment on

    I'm not quite sure what you mean. Do you use tags on your articles?

  291. avatar
    wrote this comment on

    Yes, I tag each post, and a tag cloud appears on my About page. If I click on a tag, however, I don't get a list of posts with that tag.

  292. avatar
    wrote this comment on

    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.

  293. avatar
    wrote this comment on

    It's a tag cloud, only listing categories is not supported (at least for now), sorry.

  294. avatar
    wrote this comment on

    There is no tag cloud on your about page.

  295. avatar
    wrote this comment on

    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?

  296. avatar
    wrote this comment on

    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 <tt>Posts->Post tags</tt> page and hover over the edit link. Or install this plugin: http://wordpress.org/extend/plugins/simply-show-ids/

  297. avatar
    wrote this comment on

    OH! I didn't know each tag had a number attached to them. I was just blindly typing the name. Thanks again :)

  298. avatar
    wrote this comment on

    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?

  299. avatar
    wrote this comment on

    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.

  300. avatar
    wrote this comment on

    Just one more question: Is it possible to disable the links for the tags in the cloud on this particular page, without it affecting tag clouds on other pages?

  301. avatar
    wrote this comment on

    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".

  302. avatar
    wrote this comment on

    Hi Esben, you should be able to override the tag size with your own CSS. Something like .widget_nktagcloud a { font-size: 12px } (not tested)

  303. avatar
    wrote this comment on

    Hm, no, I don't think the plugin can do that.

  304. avatar
    wrote this comment on

    Thank for answering. Will give the css a go.
    :-)

  305. avatar
    wrote this comment on

    The "Simply Show IDs" plugin. Perfect! Thank you!

  306. avatar
    wrote this comment on

    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.

  307. avatar
    wrote this comment on

    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! ;)

  308. avatar
    wrote this comment on

    nice one... but using too many tags in a tag cloud may not good for site, said by matts cutt

  309. avatar
    wrote this comment on

    That's why you can limit the number of tags with this cloud.

  310. avatar
    wrote this comment on

    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-&gt;name), replace_accents($b-&gt;name));') );

    Finally, add inside PAGE.PHP :

    function replace_accents($str) {
    $str = htmlentities($str, ENT_COMPAT, "UTF-8");
    $str = preg_replace('/&amp;([a-zA-Z])(uml|acute|grave|circ|tilde);/', '$1', $str);
    return html_entity_decode($str);
    }

    Voilà !

  311. avatar
    wrote this comment on

    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.

  312. avatar
    wrote this comment on

    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.

  313. avatar
    wrote this comment on

    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?

  314. avatar
    wrote this comment on

    Hi Jay, that seems a theme problem, you should contact the theme developer.

  315. avatar
    wrote this comment on

    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.

  316. avatar
    wrote this comment on

    Did you set the "force tags on one line" option? That could cause such overflowing problems.

  317. avatar
    wrote this comment on

    Is there a possibility to have images in the place of text for tags?

  318. avatar
    wrote this comment on

    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.

  319. avatar
    wrote this comment on

    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

  320. avatar
    wrote this comment on

    Hi Nicolas.
    I fixed the error, thanks anyway.

    Beste regards

  321. avatar
    wrote this comment on

    Can you tell me how you fixed it? I think I have it fixed here too, but I can't reproduce the problem.

  322. avatar
    wrote this comment on

    Hi Nicolas, sure.
    MLWP comes with a so called support file you can find in the \plugins\sitepress-multilingual-cms\docs\theme-integration folder.
    The file is called wpml-integration.php and should be copied in the themes folder to allow full integration of the MLWP functionalities. Then, as per instructions you shoul paste some piece of code into the functions.php file of your themes. If you don't do that (i.e. follow the instructions provided in the MLWP plugin web site) you face the error I described above. To make a long story short, your plugin works perfectly, it was my fault :)

    Hope this helps.

    Ciao from cloudy Italy

  323. avatar
    wrote this comment on

    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 :))

  324. avatar
    wrote this comment on

    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.

  325. avatar
    wrote this comment on
    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
  326. avatar
    wrote this comment on
    you can use "!important" to fix or using $(div).css("property","none") Good luck !
  327. avatar
    wrote this comment on
    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.
  328. avatar
    wrote this comment on
    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
  329. avatar
    wrote this comment on
    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.
  330. avatar
    wrote this comment on
    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!
  331. avatar
    wrote this comment on
    No, the plugin doesn't support this. But I'm sure it could be coded.
  332. avatar
    wrote this comment on
    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!
  333. avatar
    wrote this comment on
    Hi Laurent, the tags only have different sizes if you use them a different number of times. Same number means same size.
  334. avatar
    wrote this comment on
    Oh! I'm seing the light now lol Sorry for the hassle then and thank you for your fast answer Nicolas.
  335. avatar
    wrote this comment on
    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!
  336. avatar
    wrote this comment on
    I think your theme is broken, can you try with the default theme?
  337. avatar
    wrote this comment on
    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!
  338. avatar
    wrote this comment on
    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.
  339. avatar
    wrote this comment on
    I do have the count on, all tags are showing and some are only used once.
  340. avatar
    wrote this comment on
    Hi Nicolas, thank you for a great and really usable plugin! A problem tough, on my wordpress.org site (theme: Press Portfolio) I have changed in it's php the number of thumbnails displayed on the front page to 24, as you see when you first enter the site or click the logo. But when I use the Better tag cloud to filter the page down it always return only 10 posts, is there anywhere I can get it to return all the results when clicking the tag? Thanks a lot! Rickard
  341. avatar
    wrote this comment on
    Regarding my last post, I solved it, it was on the regular settings page/reading... jeez :)
  342. avatar
    wrote this comment on
    Hi there, Is it possible with this plugin, or in general, to make the tags given to private posts appear in the cloud also? Cheers, ~Naomi
  343. avatar
    wrote this comment on
    Great :-)
  344. avatar
    wrote this comment on
    Hm, I'm not sure if wordpress can do that out of the box for you. It's certainly possible with a custom SQL query. It's also been a very long time since I worked on this plugin's code so I can't really tell.
  345. avatar
    wrote this comment on
    Dear Nicolas, I have installed the better tag cloud plugin. And It seems to work. I have a custom post type registered and I want to show via a widget or the placement code a limited amount of tags of only this Post type. the post type for instance is called dialog, I have also added the post_tags parameter to the registered post type and I have a hand full of tags. But nothing shows up. I tried the placement but nothing shows up. I am now using the widget on a position i made for it, and the title shows and an empty list. I added the costum post name to the taxonomy field in the widget. To no avail. What can i do ? Also added a line to inc/page making sure it uses the taxonomy tags, but this to does nothing.
  346. avatar
    wrote this comment on
    The taxonomy field is for taxonomies, not post types. If you CPT uses the normal post tags the cloud should just work iirc.
  347. avatar
    wrote this comment on
    Hi I have installed this and it does what I want which was to allow me to display more tags than the default. However I cannot make it look the way it's supposed to. The options I have are "flat" or "List" and in my sidebar it looks really neat rather than the default look and how yours looks. Mine is a modelling related blog so I can't post a link here, it is working, it just doesn't look like it's supposed to. Hope I've made sense!
  348. avatar
    wrote this comment on
    Hi Neil, the looks of the tag list are define through your theme's CSS styles. The plugin tried to have a sensible default styling but it really depends on the theme if this works.
  349. avatar
    wrote this comment on
    Hi. I downloaded your plugin today and I am really happy with it. I appreciate this work you have done for the benefit of others. I have on question: how can you justify the text in the could. The cloud here on your site looks great. How can I achieve this result also? Your help is greatly appreciated. Best regards, Bhakti Kamal Tyagi
  350. avatar
    wrote this comment on
    Hi, the cloud on this site doesn't use my wordpress plugin as I've switched away from wordpress. The style of the cloud can be changed through CSS. This depends on the theme you use, so I can't give general rules that will work everywhere.
  351. avatar
    wrote this comment on
    I have created a custom taxonomy and installed your plug in. Under appearance/widgets I see two versions - better tag cloud and better tag cloud mutli widget. The first one says it is deprecated and to use the "one on the left" which I assumed meant the multi-widget version. When i put it in my sidebar and configured it, it worked fine. I got my cloud pulling up my custom taxonomy (book authors). But I really want it in a page, not in the side bar. So I added the short code to a page instead. However, it is pulling up "tags" not the custom taxonomy. So I am wondering if this short code is taking its settings from somewhere else since they are not matching with how it worked in the side bar. I looked under Settings in my Dashboard and it too says it is deprecated and use the other widget. I went ahead and configured it anyway just in case. It looks like the page is pulling from these settings (b/c when I add or take away characters in the tag separator field it changes). But the setting are exactly the same as the ones in my widget. Yet the page is pulling up post tags not the custom taxonomy. Any ideas what is going on? Thanks! P.S. My site is currently on blogger with only my computer running the wp version (it hasn't all been moved over yet). So you will not be able to see my site on your end).
  352. avatar
    wrote this comment on
    If you're having the same type of problem as JayHjay - like I was - here's the fix I'm using: Install & activate the Better Tag Cloud In the Better Tag Cloud settings (some settings work, but not others…) – 1)Remove CSS for list format that displays the tags inline? Yes (otherwise it wouldn't be in a list) 2)Smallest font size 10 Largest font size 10 (to keep everything in the listing 10 pts) Update the page.php file (In the Plugins/Editor area – save a copy of the original first!!) 1) replace post_tag with the name of your tag 2) If you don’t want the tags to have a link - remove the href codes in the following: if ( $count > $mincount ) { $tags_shown_so_far++; if ( $inject_count_outside == 'Yes' ) { $a[] = "$tag_name" . nktagcloud_add_counter( $tag, $inject_count ) . $the_separator; } else { $a[] = "$tag_name" . nktagcloud_add_counter( $tag, $inject_count ) ."" . $the_separator; } } Then you can use the shortcode [nktagcloud] or [nktagcloud single=yes] etc. in a post or the Text widget in a sidebar. Of course, if the widget is updated, you'll need to redo the page.php changes. Hope this helps someone :-)
  353. avatar
    wrote this comment on
    Hello Nicolas, i have a problem with the Format "flat". "list" would work, but i like to show more Tags than it would be possible with "list". So i checked the "flat"-Format and it does the trick, with one thing what i couldn't fix. My Layout is full of Graphic and i like it that way. That also means that the sidebar has a real width of 296px, but really to use is only around of 270px. So if i use the flat-Format on both sides the Tags are invisible and even if i would change the link color it would look ugly. I searched now for a couple of hours a way trough your code, but i couldn't figure out how to get a div tag or something else inside of the Widget. Already an
      before the first Tag would do the trick if there is one also in the end. But i do not find the right place in the code, what is because i don't have that much knowledge about php/sql. Could i just add somewhere in the page.php a
        -Tag to get the correct css format? Kind Regards
    • avatar
      wrote this comment on
      Each widget gets a div with a unique ID iirc, can't you use that?
    • avatar
      wrote this comment on
      trying to style my tag cloud using css but running into some issues. i would like to put a flat cloud in my sidebar with a styled div container. i can use the widget settings to get the cloud to style how i want, but now controls over the container. my theme doesn't give me individual classes or ids for each sidebar element. i can't attach a specific css rule to just the cloud. so i hit on the idea to load the shortcode in atext box that has a styled div in it. that works except the cloud loads as a list instead of flat. my question is: is there a way to attach an id or class to the widget or is there a way to load flat style to the shortcode? to see it in action http://illusions-art.com/lorem-ipsum-generators/
    • avatar
      wrote this comment on
      Hi, just wondering if you're planning on updating this plugin at any time? It uses several deprecated functions and throws php warnings and notices.
    • avatar
      wrote this comment on
      Probably not, but wordpress has a history of supporting deprecated functions forever (which is bad but kinda good for this plugin..).
    • avatar
      wrote this comment on
      Oh man, only just see this. I programmed just the other day a very similar plugin. Could have maybe picked up this one and updated it. Hope it's ok I'm linking to mine here, for everyone who wants a plugin that's working with the current WordPress build. http://wordpress.org/extend/plugins/post-tags-and-archive/ It's the same idea, but also includes shortcodes and options for the archive. Not as feature-rich yet - I'm up for adding often requested features.
    • avatar
      wrote this comment on
      No problem. I don't really have the time to maintain my code anyway. Add to that the... not so nice subversion interface to the wp repository..
    DjangoPythonBitcoinTuxDebianHTML5 badgeSaltStackUpset confused bugMoneyHackerUpset confused bugX.OrggitFirefoxWindowMakerBashIs it worth the time?i3 window managerWagtailContainerIrssiNginxSilenceUse a maskWorldInternet securityPianoFontGnuPGThunderbirdJenkinshome-assistant-logo