Tagnetic Poetry 1.0 adds shortcode support
Tagnetic Poetry by Roy Tanck and Merel Zwart requires Flash Player 9 or better.
I guess it was about time I updated my Tagnetic Poetry plugin. WP-Cumulus’ lesser known brother now has shortcode support, as well as several other improvements. It’s not as mature as Cumulus, but it’s definitely stable enough to deserve a 1.0 version number.
The Flash movie now has support for the ‘xmlpath’ flashvar that WP-Cumulus has supported for a while now. This affects you only if you’re attempting to use it outside of the context of WordPress, but is very handy if you do. Putting more than one instance of the plugin on a page should also no longer cause issues, and several other little issues were fixed.
Using shortcodes allows you to place TP all over your blog. The parameters allow you to control the way it looks per instance, as opposed to the one set of options the plugin used to have. Those will still be used as defaults, but you can override them if you like by adding attributes to the [tagneticpoetry] shortcode. Here are some examples of how that works:
| Shortcode | What it’ll do |
|---|---|
[tagneticpoetry width="300" height="300"] |
Will display a 300*300px version. |
[tagneticpoetry bgcolor="ff0000" trans="false"] |
Will set the background to bright red, and make sure it’s not transparent. |
[tagneticpoetry args="number=5&exclude=1"] |
Will display up to five tags, and exclude the one with the ID 5. |
The new shortcode is all lowercase, but the older [TAGNETICPOETRY] tag is still supported for backwards compatibility. You could in fact add lowercase attributes to it if you’re using WordPress 2.5 or higher, but if you’re going to be editing the page anyway I guess it makes sense to use the lowercase code instead.
Currently, Tagnetic Poetry supports these attributes:
| Attribute | Used for | Possible values | Example |
|---|---|---|---|
| width | Width of the tag cloud | Number of pixels (positive integer) | width=”300″ |
| height | Height of the tag cloud | Number of pixels (positive integer) | height=”240″ |
| bgcolor | Tag cloud background color | HEX color value without the ‘#’ prefix | bgcolor=”333333″ |
| trans | Background transparency | “true” or “false” | trans=”true” |
| args | Argments to be passed to the ‘wp_tag_cloud’ function (experimental, use at own risk) | URL encoded string | args=”smallest=10″ |
| mode | Tag/Category mode | “tags”, “cats” or “both” | mode=”tags” |
A more detailed blog post on how to use shortcodes is here. The original post about Tagnetic Poetry is here.
Related posts:

This is the personal blog of Roy Tanck, designer, geek, entrepreneur and WordPress enthusiast. It's also the home of projects like
roytanck (744):
wow.. very nice..
i want to try that.. thanks for share..
Comment by elizer — July 3, 2009 @ 5:59 am
Don’t you feel ashamed to steal the idea for that “WP-cumulas”?
It’s not original.
Comment by L — July 3, 2009 @ 3:47 pm
Hi,
I’m using thsi plugin and I like it very much. I just have the issue that when I click on the tags it doesn’t work. I did check the notes on wordpress and I have my urls the same of my blog, but nothing happens. Can you help me about?
Thank you
Sergio
Comment by sergio — July 7, 2009 @ 9:26 am
after look this tag flash , i like very much , can you mail this file to me ? think you seiven.
Comment by Seiven — July 13, 2009 @ 3:55 am
it is very nice, but now I am using Bo-blog
Comment by no-name — July 26, 2009 @ 9:48 am