Divorce templates from categories
Is there a (best) way to divorce templates from categories?
When I blog about upcoming movies, I want all posts to show in my Movies category page, but I want a slightly different template for those showing at Theater A and Theater B.
– install an “execute PHP” plug-in so I can set a PHP variable in the post and have the template conditionalize on that (include Theater A info or Theater B info in the template)
– make Movies a category and “Theater A” and “Theater B” subcategories, assign a different template to each but have the main Movies page work off the uber-category
– another solution?
- The topic ‘Divorce templates from categories’ is closed to new replies.