• Mark Bloomfield

    (@yellowllama)


    I know its possible to set a different template for pages, but when I’m writing a blog post, it doesn’t give me the option to choose a template other than single.php.

    Is it possible to have a different template for blog articles?

Viewing 6 replies - 1 through 6 (of 6 total)
  • moshu

    (@moshu)

    Based on category you have different single templates by using this plugin:
    http://guff.szub.net/2005/07/21/post-templates-by-category/

    Thread Starter Mark Bloomfield

    (@yellowllama)

    i have like 30 categories tho, that all need 2 use the same template… so as per guff’s plugin, i’d have to make 30 templates that all look the same?…

    here’s hoping someone can suggest an easier alternative

    Chris_K

    (@handysolo)

    30 out of … how many?

    Thread Starter Mark Bloomfield

    (@yellowllama)

    i’ll probably have about 40 categories in all… 30 of them will need the single.php to display in a certain way, and the balance will have a different template…

    ideally, you know when there are existing alternate templates, and you create a new page, there’s a drop down 2 choose the template..? i need something like that for the blog articles too…

    Chris_K

    (@handysolo)

    Set the 30 to the default single.php and then use the plugin mentioned above for the remaining few?

    moshu

    (@moshu)

    As I read the instructions: if there is no spec. template defined for a single cat – it will fall back to the default “single.php”.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Setting a template for blog article’ is closed to new replies.