Feed on
Posts
Comments

Archive for the ‘Documentation’ Category

This function ”iconizes” your categories list in the sidebar.
put_cat_icons(list [,get_cat_icon_parameters])

list : this is a WordPress category list : wp_list_categories(). You MUST ADD echo=0 to the wp_list_categories parameters.
get_cat_icon_parameters : (optional) these are the get_cat_icon() parameters, separated by a ‘&’.
There’s an exception : for put_cat_icons(), the parameter ‘link’ is always set to false.

Example :
write the following code in [...]

Read Full Post »

The size of the icons depends on your needs & theme. There’s no recommanded size to use the get_cat_icon() function.
The function get_cat_icon() return boolean True if an image is found. You can use the following parameters. For each parameter, you’ll have :
type, [default_value], parameter_name_to_use : description.

string, align : align attribute for the image tag.
boolean, border [...]

Read Full Post »