Forums

2nd template for posts (2 posts)

  1. bikeman123
    Member
    Posted 4 months ago #

    I have created a template for a specific post category.

    The template lists a brief extract of all posts.

    Upon selecting a post the user is shown the complete post and the layout uses single.php.

    All works ok, however, I would like to have a 2nd category with a different single post layout. What would the new post template be called if not single.php and how do I get my 2nd category to use it?

    Thanks

  2. Jonas Grumby
    Member
    Posted 4 months ago #

    Looks like you have to use a subtype, mimetype, or posttype:

    http://codex.wordpress.org/Template_Hierarchy

Reply

You must log in to post.

About this Topic

Tags

No tags yet.