No Widget Category Cloud
Creates a function that can be placed in a wordpress template for a category cloud that exists without the requirement of widgets or a widget ready theme. I created this plugin after I started using a single column theme that is not widget ready. I found that there were multiple plugin widgets avail
Creates a function that can be placed in a wordpress template for a category cloud that exists without the requirement of widgets or a widget ready theme.
I created this plugin after I started using a single column theme that is not widget ready. I found that there were multiple plugin widgets available, but no plugin that would allow me to just place a php function into my theme to display a category cloud.
Some ideas for oter uses of this plugin:
- 01Install WP-Sticky and Exec-PHP. Create a Sticky post which will stay at the top of your page and type the php code for this plugin in the post. Now you have a Category Cloud that stays at the top of your page.
Requirements
- 02WordPress 2.x
- 03Web server that supports PHP
Upgrade
- 04Deactivate the plugin through the ‘Plugins’ menu in WordPress
- 05Delete the previous no-widget-category-cloud folder from the /wp-content/plugins/ directory
- 06Upload the new no-widget-category-cloud folder to the /wp-content/plugins/ directory
- 07Activate the plugin through the ‘Plugins’ menu in WordPress
Usage
<?php nw_catcloud(small_size,big_size,size_unit,align,orderby,order,min_posts,hide_empty,title); ?> small_size = font size, integer (default 75) big_size = font size, integer (default 200) size_unit = %, px, pt (default %) align = left, right, center, justify (default left) orderby = count, name (default name) order = asc, desc (default asc) min_posts = minimum number of posts, integer (default 1) hide_empty = 0,1 (default 1, 1=yes,0=no) title = string (This can contain HTML to format the title)
- 08Open the theme files, in your favorite editor, that you wish to add the category cloud to (index.php, single.php, page.php, etc…).
- 09Add a line that looks like above. You can also use the defaults by not specifiying anything between the parentheses. See example 2 below.
- 10Enjoy.
- 11