Support » Themes and Templates » using an image for categories

using an image for categories

  • janas3dresses


    Hi, I am wanting to create an image for a specific category to put on my side bar, so that when people click on that image all of the posts of the same category come up. Is that possible? Thanks

Viewing 1 replies (of 1 total)
  • Kathryn
    Automattic Happiness Engineer


    Sure. The easiest way to do that is by adding an image in a text widget with a link to the category wrapped around the image. You can do this with any theme.

    Your basic code would look something like this:

    <a href="http://path/to/your/category/blah/"><img src="http://path/to/your/image.png" alt="view category blah" /></a>

    Let me know how it goes or if you need further help.

Viewing 1 replies (of 1 total)
  • The topic ‘using an image for categories’ is closed to new replies.