WordPress unlimited sidebars

wordpress

#1

Hi guys,

Just wondering if someone could give me some advice on how to create unlimited sidebars for a WordPress theme.

So, basically I am looking into adding a meta box on posts and pages with a drop down list of all available sidebars, where the user can then select a specific sidebar for any post or page. This part I have figured out, however I would also like to add functionality here to allow users to create custom sidebars for any post or page. So, essentially the user could choose any sidebar for any post or page or create new sidebars for any post or page which then could be filled with widgets on the widgets page.

I half there, just not sure how to go about creating the functionality to create new sidebars.

Any help would be much appreciated.

Thank you very much