WordPress.org

Ready to get started?Download WordPress

Forums

Category Templates (2 posts)

  1. paul.cass82
    Member
    Posted 2 years ago #

    I am using category templates to display pages/content differently depending on what category is selected. I have done this by taking a copy of category.php and renaming it category-music.php. This means I can edit the template to display all things music related. This all works fine but when I click on a post within the category template it then uses the loop template (which then displays content not related to music. Is it possible to have the post open up in another custom template that only shows content related to the music category. I hope this makes sense.

    I must also note that I am using a child theme from Twenty Ten.

    Thanks in advance.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    http://wordpress.org/extend/plugins/single-post-template/?

    It's either something like that or you're going to have to do some conditional testing using in_category() and then load specific template parts based on the results of those tests.

Topic Closed

This topic has been closed to new replies.

About this Topic