WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Text Widgets based on Category? (5 posts)

  1. mutinous
    Member
    Posted 4 years ago #

    When someone opens a post, I would like the text widget to show a picture based on the category of the post.

    So, if a post is opened that is category A, the text widget would have the html to show picture A. If another post was opened and the category of the post was B, then the html of picture B would be in the text widget.

    Is there a plugin that manages this based on the category (or TAG?) of a particular post?

  2. MichaelH
    Member
    Posted 4 years ago #

  3. mutinous
    Member
    Posted 4 years ago #

    Michael, unfortunately the category-icons homepage is unavailable and that is where the pictures and tutorials are.

    I will keep looking

  4. mutinous
    Member
    Posted 4 years ago #

    MichaelH, I used the plugin widget logic to make it work. It uses the conditional tags found here:

    http://codex.wordpress.org/Conditional_Tags

    and Thanks!

  5. submarine
    Member
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic