A small plugin providing a neat tag cloud feature. Inspired by New Tag Cloud.
FAQ
Installation Instructions
Installation is very easy:
- Download the plugin zip to the
/wp-content/plugins/
directory
- Extract the files in the plugins folder. The result being a new
/wp-content/plugins/newer-tag-cloud
directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Check out the ‘Widgets’ tab in the ‘Theme’ menu and drag the ‘New Tag Cloud’ widget to your sidebar.
Using directly from a theme file:
Follow the steps 1 and 2 above. Step 3 is to place this code into your theme file:
Or you want place a tag cloud in a post, on a page or in a text widget?
Use a shortcode: [newer-tag-cloud]
or [newer-tag-cloud int=1]
So what does ‘inspired by New Tag Cloud’ mean exactly?
Initially the plugin was created as a direct fork of New Tag Cloud, only used internally and not publically released. A new version of the plugin was created based on the WordPress Plugin Boilerplate with common features being implemented in Newer Tag Cloud.
How to use vanilla PHP to add a Tag Cloud?
If you want to use Newer Tag Cloud in your theme you can still use <?php newerTagCloud() ?>
. If you want to use a specific widget you can provide the function an ID as parameter. For example, <?php newerTagCloud(2) ?>
will result in the configuration using the instance provided.
Using shortcodes to add a Tag Cloud?
Simply add [newer-tag-cloud]
or [newer-tag-cloud int=<ID>]
to your post or page and the tag cloud will be shown there. If you use [newer-tag-cloud]
the instances set as “Default instance for shortcode” is used. With int= set you can specify an instance to use. For example, this is useful if you need two, or more, different tag clouds generated via shortcode.
Can I use multiple unique clouds?
Yes. All “layout specific options” are stored in each instance. The instance has an ID which you can use to call it.
This feature allows you the place different tag clouds on your blog as needed.
So who worked on this?
Credit to the original plugin goes to funnydingo.
This redone version was created by liquidwebdan (aka MallardDuck on GitHub)
Finally, credit for the WordPress Plugin Boilerplate inspiration goes to:
ChangeLog
1.1.2
- Fix odd bug causing issues with posts page.
1.1.0 & 1.1.1
- First update!
- Improves the plugins widget a lot
- Now using WP_Widget to define the widgets logic
- Clean up some code
1.0.0
- Initial version inspired by New Tag Cloud