How to add image at top of each category page?

Discussion in 'Blogging' started by UTOPIA, Oct 12, 2007.

  1. #1
    Hi

    I would like to add an image at the top of each of the different category pages of my blog, e.g Recycling, Environment, etc. I would like to have a different image for each category, and for the image to be displayed at the top of the page, just before the various posts.

    http://www.recyclingsupermarket.com/category/environment/

    Can anybody explain how this is done, or provide any relevant links that may be of use?

    Many Thanks
     
    UTOPIA, Oct 12, 2007 IP
  2. flick

    flick Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I have the same issue.. anyone find the solution for it ??
     
    flick, Jul 19, 2010 IP
  3. ajwalsh

    ajwalsh Peon

    Messages:
    291
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you're using wordpress, it looks like you can set up separate template php files for each category and add in each image you want to use.

    I can't post links yet but if you google "wordpress category templates" the first entry from the Wordpress codex should be able to help.

    Hope this is what you're looking for...
     
    ajwalsh, Jul 20, 2010 IP
  4. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #4
    How large do the images have to be? If they are just icons, the Category Icons plugin might be useful.

    If you know how to edit template files, you can use Category Templates.
    Just copy the existing category.php file and rename it to category-recycling.php, or whatever the slug for that is. Then, open it up and add the image.
     
    Last edited: Jul 20, 2010
    Cash Nebula, Jul 20, 2010 IP