Category icons plugin

A great plugin. Use it to add icons before after categories name or only these icons. You can add unique icon for each category and default icon also.

http://wordpress.org/extend/plugins/category-icons/changelog/

after activating this plugin  a link in post called categoires icon will make.

When you click here . A page having menu will come. In this menu you will see HOW TO. This page has links to all the solutions. It tell use what we will do.

In pregancy I set default icon using HOW TO help. To set default icon simply place below code in function.php

function bm_noicon($content) {

if (empty($content)) {

$content = ‘<img src=”http://pregnancyformula.com/wp-content/uploads/2011/09/flowericon3.jpg&#8221; alt=”default icon” />’;

} frommotherearthtoyou.com

return $content;

}

add_filter(‘category_icons’, ‘bm_noicon’);

Advertisements
This entry was posted in Wordpress. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s