How to modify the category icons through functions.php

I’ve created a filter named category-icons in the plugin. I used that filter to add SEO Friendly Images compatibility.

So, if you want to play with it in order to modify the icons (rollover or other thing), you can do that in functions.php of your theme. You’ll perhaps need some knowledge about parsing stuff, but it’s worth it. And if you write some cool functions, why not share them with us ? 😀

Example (a very simple one) : put the following function in functions.php in your theme :

function bm_hello ($content) {
    $content = $content.' hello ';
    return $content;
}
add_filter('category_icons', 'bm_hello',15);}

You’ll have something like this (after icons, the word ‘hello’ will appear) :