I'm very familiar creating page templates in WP and for this project I really just have one page template with an option to switch the sidebar from the right side to the left side. The problem is that I would hate to have all of that duplicate code in both templates especially since I'll just be swapping css classes on the two elements.
- 2 separate Page templates
- Custom fields
- Custom taxonomies
I'm thinking that having a custom taxonomy might be the best solution. The client would see a small box on the right side of the page titled
Visual Options and there would be a checkbox for
Sidebar on right. It is intuitive and it is DRY.
Is there something else I didn't consider?