WordPress.org

Ready to get started?Download WordPress

Forums

How can I change the template based on the category (5 posts)

  1. che1959
    Member
    Posted 7 years ago #

    Is there a way to change the template based on the category I choose in my blog. Whatever theme is unimportant, but how would one go about doing it?

    Basically, I want someone to click on the category and then have the sidebar change to give them new choices. Bascially each category will have its own variation of the main theme.

    Is this possible? How could I go about it? Is it impossible?

  2. whooami
    Member
    Posted 7 years ago #

  3. silpstream
    Member
    Posted 7 years ago #

    You can read more here about it:

    http://codex.wordpress.org/Template_Hierarchy

  4. whooami
    Member
    Posted 7 years ago #

    sigh.. there no post_count award here is there?

  5. che1959
    Member
    Posted 7 years ago #

    There probably isn't a post_count award, but thanks for the awesome answer. It was right there in the codex. At least it solves a major dilemna I hadwhen trying to figure things out.

    Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags