WordPress.org

Forums

Different footer in every category (3 posts)

  1. Evagelos Athanasiadis
    Member
    Posted 4 years ago #

    Hello
    I want to a different footer or change a picture in category templates

    ex.
    category-dogs.php
    category-cats.php

    i want a different image in footer
    any ideas?

  2. keesiemeijer
    moderator
    Posted 4 years ago #

    You can do it with css if you use the body class. Or with conditional tags in your template files:

    <?php
    if(is_category('category-dogs')){
    // show category dogs image
    }
    ?>

    or it's maybe easier to use a plugin to show an image for every category: http://wordpress.org/extend/plugins/taxonomy-images/

  3. Evagelos Athanasiadis
    Member
    Posted 4 years ago #

    thanks
    very fast answer

Topic Closed

This topic has been closed to new replies.

About this Topic