after playing around with single.php, etc., is there a workaround?
the question, while in admin and writing/editing a post, is it possible to add code to single.php that would also call/generate a single2.php ( for example ) that would have a different layout than single.php?
single.php would appear as usual. single2.php would be found from a link. a simple single-post entry generating two layouts.
a) yes
b) no
c) probably but not sure how to do it.
I’m in the same boat. Anyone have an answer here?
* get_header(‘myheader’) will include header-myheader.php
* get_footer(‘myfooter’) will include footer-myfooter.php
* get_sidebar(‘mysidebar’) will include sidebar-mysidebar.php
I was looking for a way to do this from the “new post” page- like you get (the dropdown) when you create a new page… (I’d like to have product-specific templates that I can choose when authoring a new post.
Why not use pages instead of posts you may ask? I’m using categories to sort sidebar sections. Pages don’t have categories. 🙂