Feed on
Posts
Comments

Archive for the ‘Tips & Tricks’ Category

I’ve found a tutorial on Atlanta Jones. Read it, it’s worth it. Here is an example that works with the Default theme of WordPress and the Category Icons plugin with its Widget.
1. Create an empty file named rollover.js at the root of your theme folder.
2. Copy and paste this javascript code in rollover.js :
jQuery(function($) {
[...]

Read Full Post »

It is still experimental, but I’ve added apply_filter(’category_icons’… ;) in the plugin. That’s the way I used 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 [...]

Read Full Post »

If you want to use the get_cat_icon() in a script with an echo, do that :
echo get_cat_icon(’echo=false&cat=’.$cat->term_id);
where $cat->term_id is the category ID.
Here is an example. I took the code from a file of WordPress and modified it a little bit to show you. It displays all the categories/subcategories in a table, with their ID, icon, [...]

Read Full Post »

Add icon to pages/subpages

The plugin is capable to not only assign an icon to your posts, but also to your pages and subpages.
To do that, you’ll just need to download the Page Category Plus plugin (linked in the sidebar) and assign a category to your pages/subpages. Then you’ll be able to manage icons for your pages/subpages from [...]

Read Full Post »