Support » Fixing WordPress » best way to add specific category image?

  • David

    (@thatseoguydavid)


    I’m trying to add a specific image to the top of the sidebar depending on which category they are in.

    I have broken the sidebar into two sections so that the primary shows on the left and the secondary shows up on the right.

    The right sidebar will be customized with some specific category stuff and the left side will be the default sidebar no matter where they land.

    What I am wanting to do is add an image of the artist above the default(left) sidebar depending on which cat/post they are in. I know I have to use conditional comments but am not sure how to word it because I know the html has to be outside the <??> tags.

    Can someone offer some guidance. Keep in my that I am trying to do this within the sidebar code itself, I am trying to avoid creating 2 different sidebars for every category.

    You can see the site at funnyraplyrics.com, and help is appreciated.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘best way to add specific category image?’ is closed to new replies.