WordPress.org

Ready to get started?Download WordPress

Forums

Category images in the Sidebar? (7 posts)

  1. Arlo
    Member
    Posted 8 years ago #

    I'm well versed in the various means of using images for categories in the loop, but I would like to do the same thing in my category listings in the sidebar. Basically, I'd like to have a small graphic badge next to each category name. I've looked through codex and search, but nada.

  2. Jinsan
    Member
    Posted 8 years ago #

    why not use the existing tag and call a smaller image for that cat and place it in the sidebar?

  3. Arlo
    Member
    Posted 8 years ago #

    I want a different image for each category...

  4. Jinsan
    Member
    Posted 8 years ago #

    well, if you create an image based on the nice-name convention, then whatever your image is named based on the cat is the image that willd display.

    you can also try http://coffee2code.com for the cat image plugin which has more variables.

  5. Arlo
    Member
    Posted 8 years ago #

    I already use c2c category images for the rest of my site. This issue is strictly for the sidebar listing, and it seems it's not doable.

  6. Arlo
    Member
    Posted 8 years ago #

    Bueller?
    Is there a way this might be hacked?

  7. testept
    Member
    Posted 7 years ago #

    I´m using the c2c category images too in my site and I cant this option in the sidebar listing...

    The code I need to put is:
    <?php c2c_the_category_image(', ')?>

    I think that I need to edit wp-includes/template-functions-category.php file, maybe the line 324...
    But I dont know how because my php is very poor...
    Can someone help me?
    Arlo? Did you find anything during this time?

    P.S. Sorry my poor english

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags