More elegant way to display different sidebars on each page?
-
Hi all,
I’m in the mood to revamp my current site with a new theme, but first I’d like to get your input on how I’ve done things so far and see if there might be a better way to achieve the same end in WP.
Right now my front page is the blog and everything else is static pages. On each page I have detailed content in the main section with a separate sidebar that contains supporting or supplemental info. The sidebar is different depending on each page. You can take a look at my site here https://www.johnhorneguitar.com and take a look at some of the pages to see what I’m up to.
In order to achieve this, I have created a different template for each page and each page then calls a different sidebar. Of course each side bar has it’s own template as well. So far, I’ve been storing all of my custom sidebar content as pages and using and using the “improved include page” plugin to fly in the content to the sidebar template. This is all okay by me because the info on the pages and sidebars remains fairly static.
So my question is: is there an easier way to do this?
If not, what I’m doing now works except for the fact that if I do re-theme the site I’ll have to create several new template files and my list of templates is getting a bit long.
Any suggestions or feedback welcome.
JohnBTW using WP 2.0 (without any problems so far)
- The topic ‘More elegant way to display different sidebars on each page?’ is closed to new replies.