• Adding topic icons to your posts is really easy and adds some style to your pages.
    It is also really easy to do. First get the name of the category. For this example I will use the default General. Get an icon (best is 50×50) and insert it into the same level as your blog and named General (CaSe SeNsItIvE). Now go to your blog index.php and next to the name or where you want it and paste this code:
    <img src=”<?php the_category() ?>.gif” alt=”<?php the_category() ?>”>
    And thats all! Ok it may be three steps but still its realitive easy, I hope. If you need anyhelp either reply or go to my underconstruction site (opens in a new window).
    Regards and happy blogging,
    Marzar00

Viewing 2 replies - 1 through 2 (of 2 total)
  • What do you mean by ‘insert it into the same level as your blog’?

    Here’s what I want to do…
    I want to have the image as the link to the category archive. The post will have multiple categories, but I just want the image for the first category to show. Is this possible? BTW, the first category is set up as a parent to the other categories.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding ‘Topic Icons’ in one easy step!!!’ is closed to new replies.