I am developing a series of wordpress themes and I have had nothing short of pure joy completing them, however, I have run across a particular problem that has kept me up the last few nights. What I want to do is to go ahead and create my sidebar and widget areas in both my functions and sidebar.php files and then have them be select-able from the page editor. Say for instance you go and create a page and name it "Contact Us" just say for instance. When the user creates the page, I would like to have a container (i.e. just like "Publish" "Page Attributes" "Featured Image" and so on..) that would contain a list of available sidebars or widget areas that "Once Selected" will display on that page.
I do know exactly how to use "Conditionals and Arrays" to state that, if this page is "Contact" then use this sidebar or widget area, however my goal is to make it completely up to the user and not leave them stuck with the sidebar for the contact page if they dont want it. I would like to have a list in the page editor that would allow them to select a sidebar or widget area at will for any page they create... Make sense? Anyways, can anyone tell me or give me an idea of how to tie this into the page editor and how I could create this functionality? Any help would be greatly appreciated.
[No bumping, thank you.]