Introduction
New Tag Cloud is a little WordPress plugin which provides a widget generating a tag cloud. New Tag Cloud uses the new WordPress own tagging feature, so that you don’t need any tagging plugin. Configurable options are:
- widget box title
- how much tags should be shown
- biggest font size
- smallest font size
- font size stepping
- font size type (px, em, …)
Questions?
Find more posts tagged with new tag cloud, see the article in my wiki or use the comments below.
@FayetteFD:
I’ve a new query. Your query should like this:
[sql]SELECT `$wpdb->terms`.`term_id`, `$wpdb->terms`.`name`, LOWER(`$wpdb->terms`.`name`) AS lowername, `$wpdb->term_taxonomy`.`count` FROM…[/sql]
Replace “`$wpdb->term_taxonomy`.`count`” with [sql]COUNT(*) AS `count`”[/sql]
I’m not sure if it works with the current layout of the query.
For the new version only the backend part to configure the plugin is missing. I’m currently dealing with a new layout. I think I can release v0.8 in the next week. So if there are any feature request, now would be a good time
BRILLIANT! Works like a charm!!
Thank you VERY much for the support!
Looking at how everything works now that piece is in, it is GREAT!
The only thing that I might suggest further is having the links to the tags also sort by the category(categories) selected in the filter. I do not know if this is possible, but I didn’t know that any of the other suggestions I have made were possible either.
Thanks again!
Well… I hate to spam comments (can’t edit previous ones), but I have found a plug-in that allows you to link to a page containing all posts for a given tag and it also allows you to filter by category. Looks promising:
http://wordpress.org/extend/plugins/tdo-tag-fixes/
I was able to accomplish this for my purposes by simply listing the href as:
http://fayettefd.org/?cat=#&tag=%TAGNAME%
This works great for me since I only have one category selected at a time. It may be worth looking into as a feature for you to have though. It would only need to be marginally extended to include additional categories.
There I go speaking too soon again… This does not work for tags with spaces.
That’s right, because WordPress URLs never contain spaces. You should be able to handle this, if you add
[sql]`$wpdb->terms`.`slug`[/sql] to the SELECT part of the query and [php]$content[$term->lowername] = str_replace(‘%TAGSLUG%’, $term->slug, $content[$term->lowername]);[/php] to the other str_replace lines. Than you can modify you entry template to [code]http://fayettefd.org/?cat=#&tag=%TAGSLUG%[/code]
I’ll include %TAGSLUG% in v0.8 too.
HTH
Beautiful! Works great! Thank you!
I am not sure how this would work with multiple categories, but it works fine the way it is for me!
I think in case of multiple categories, one New Tag Cloud instance per category would be required, because the category needs to be placed in the entry template.
I think I spoke too soon with the changes. The count works in that it reports the proper count, however, the sort and font sizing no longer works…
Pingback: wexgo.de » Blog Archive » wexgo Theme Version 1.5
Thank you very much for a great plugin. I set up a new blog and installed the plugin without problem. It worked really well until I tried to change the widget’s title. Any changes that I made had no effect whatsoever. On my page it’s still showing the old widget title. I even uninstalled and then reinstalled the plugin but my old widget title is still there. What do you think is the problem here? What should I do to get rid of the old title?
Sorry. Please ignore my question above. I figured it out: Simply adding a tag to force the widget to refresh, thus getting the title. Hope this helps others in similar situation.
The reason for this behavior is the caching feature. The current version caches the complete widget including the title field. That is a design mistake – sorry, my fault
. Every action wich clears the cache (e.g. updating a post) solves this problem.
In the next release this problem is fixed.
With the modifications made to the ‘count’, it would appear that the sizing and order are no longer functioning.
If I reset the query back to using “`$wpdb->term_taxonomy`.`count`”, it will size and sort properly (given the unfiltered count), but when the count portion of the query is “COUNT(*) AS `count`”, it does not sort by count nor does it properly size the font.
I added [code]<?php newtagcloud(); ?>[/code] in my sidebar.php file. Then I tried to change the font sizes in newtagcloud.php, but they do not change when the tag cloud is displayed.
What should I do?
Erm, now it changed. oO*
Sorry.
Great thing btw, this plug-in.
How are you? I have not heard back from you regarding this most recent issue that I experienced with your plugin. Admittedly, I have not had any time to work on it myself either. Have you been able to duplicate the sort/size issue when splitting things up by category like I have?
Hello, you got a little error in the Wiki about newtagcloud :
“The shortcode is the new way to place a tag cloud in an article or page. Simply add [newtagcloud] or [newtagclound int=] to your post. has to be replaced by the id of the instance (the id is written in each drop down behind the instance name). If you don’t provide an id, the instances specified with Default instance for shortcode will be used. ”
Here : “Simply add [newtagcloud] or [newtagclound int=] to your post”
the second shortcode has a “N”, it’s written newtagclound instead of “newtagcloud”
Hey, I have a question that I can’t seem to find the answer for. Is there a way to change the template on how the results are displayed?
For instance, it shows the tag results like a normal WP blog. I want to change it where it only shows the thumbnails of the posts when a tag is clicked.
Pingback: List of useful wordpress Plugins
I would like to add tags at the footer. Can anyone help me on this? Thanks.
very cool
Thanks a lot
Pingback: PluginsisOn.at | isOn.at
great plugins….i appericiate !
Superb! Thanks for this informative article. It will help me.
Detailed article can i translate into Dutch for our sites subscribers? Thanks
Hi there. I seriously value the points you created. I dont think Ive truly thought about it in that way. I can genuinely value how you approached the topic matter and what you mentioned definitely gave me a new point of view. Thanks for making the effort to create this all out.
Pingback: I 30 plugin principali per un blog professionale wordpress | drgeekyll.com geek blog web design programming wordpress joomla facebook twitter zend framework iphone windows phone 7 android
I gave the New Tag Cloud widget the title “Tags”. The problem is it is not getting correctly formatted in my WordPress theme. See: http://www.jonroemer.com/blog/ and look in the sidebar on the right.
I have determined that there is one line which says, “<h3>Tags</h3>” and it needs to say, “<h3 class=”widget-title”>Tags</h3>.
How do I edit the newtagcloud.php file so that it will function properly?
Or is there is there a way to edit the NewTagCloudsettings in the admin section?
Thank you.
I figured out a work-around -> if I don’t put a title in the widget box and then I add <h3 class=”widget-title”>Tags</h3> to the Instance Setting>”Provide HTML code used before entries” it will appear and format correctly.
This makes my setting in the “Provide HTML code..” box:
<h3 class=”widget-title”>Tags</h3><ul id=”newtagcloud”><li> .
Danke für das Plug. Aber irgendwie zeigt das nur eine Größe an, obwohl es zwischen 8px und 16px variieren sollte. Was mache ich falsch?
Thanks for the great plugin. Unfortunately, as mentioned from the number 154, it only has one size of the words. The words should be interpred in different size. Are there any mistake or how can I fix it in easy way? Thanks in advance.
Pingback: Useful WordPress Plugins | DaisyHdez
These styles are truly neat. I like it post Retain it up dude
Hello, I’ve tried to add a title into the Entry template but it just won’t show.
Like this:
[code]<a style="font-size:%FONTSIZE%%SIZETYPE%" href="%TAGURL%" title="%TAGNAME%" target="_self">%TAGNAME%</a>[/code]any idea?
<strong>-Tag within the <a>-Tag? THink you mean:
[code]%TAGNAME%[/code]
Yes I have the code like in your example. I just wanted to bold the added line…
But when title=”%TAGNAME%” is added it just wont add a title to the link. If I add test=”%TAGNAME%” it will show up, so i don’t know why title is filtered?
I used to be recommended this web site via my cousin.
I’m no longer certain whether or not this publish is written by him as nobody else recognize such certain about my difficulty. You are amazing! Thank you!
Heya i am for the first time here. I found this board and I find It
truly useful & it helped me out much. I hope to give something back and help others like you helped me.
I am truly thankful to the holder of this site who has shared this great
piece of writing at at this time.
I loved as much as you will receive carried out right here.
The sketch is attractive, your authored subject matter stylish.
nonetheless, you command get bought an impatience over that
you wish be delivering the following. unwell unquestionably come further formerly again since exactly the same nearly very often inside case you shield this
hike.
I pay a visit daily some web pages and blogs to
read articles or reviews, except this blog presents feature based
articles.
Hey there I am so delighted I found your weblog, I really found you by accident, while I was researching on Google for something else,
Regardless I am here now and would just like
to say kudos for a tremendous post and a all round interesting blog (I also
love the theme/design), I don’t have time to look over it all at the minute but I have bookmarked it and also added in your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up the superb work.
Woah! I’m really digging the template/theme of this blog. It’s simple, yet
effective. A lot of times it’s very hard to get that “perfect balance” between usability and appearance. I must say that you’ve done a excellent job with this.
Also, the blog loads very quick for me on Safari. Exceptional Blog!
My spouse and I absolutely love your blog and find a lot of
your post’s to be just what I’m looking for. Would you offer guest writers to write content in your case?
I wouldn’t mind composing a post or elaborating on many of the subjects you write regarding here. Again, awesome site!
Attractive section of content. I just stumbled upon your weblog and in accession capital
to assert that I acquire in fact enjoyed account your weblog posts.
Anyway I will be subscribing to your feeds or even I
success you get right of entry to constantly fast.