Or if you want to learn and do it manually you can try the following code putting it into your index.php (the one into your template folder not in root.) loop:

PHP Code: 
<?php
    
if (in_category('1')) {
        echo 
'<img src="/software.gif" />';
    } 
    elseif (
in_category('2')) {
        echo 
'<img src="/game.gif" />';
    }  
    elseif (
in_category('3')) {
        echo 
'<img src="/movie.gif" />';
    } 
    elseif (
in_category('4')) {
        echo 
'<img src="/music.gif" />';
    } 
    elseif (
in_category('5')) {
        echo 
'<img src="/tv_show.gif" />';
    } 
    elseif (
in_category('6')) {
        echo 
'<img src="/ebooks.gif" />';
    } 
    elseif (
in_category('7')) {
        echo 
'<img src="/mobile.gif" />';
    }
    else {
        echo 
'<img src="/other.gif" />';
    }
?>
Note that you will need to change category numbers according to your own
aishamontreal Reviewed by aishamontreal on . add an image to each category for wp hello guys i want to know the right way to add an image to each category for wordpress like Mukki.org and display it in homepage like mukki.org also Rating: 5