Support » Fixing WordPress » How to allow admins to create a new sidebar from the admin

  • billyobito



    I’m creating a WordPress theme and I’ve noticed that a lot of premium themes allow the users to go to Appereance->Sidebars and create a new Sidebar by simply giving it a name.

    The user can then Go to widgets and assign different widgets to this sidebar and also add custom menus. This I believe is a great feature as it allows users to have different sidebars on different pages.

    Now I’m familiar with Custom Post Type and Theme options and know how I would let people choose a different sidebar for different pages, but I’m just having problems in creating the first step, which is to allow people to create a sidebar on their own. Do I need to create a CPT for this? or is there some other way?

    I’ve searched a lot and the best thing I came across was a plugin, which has a lot of code and does too many things and for which I cannot even find the license info.

    So please advice how I can create something like this and thank you very much.

  • The topic ‘How to allow admins to create a new sidebar from the admin’ is closed to new replies.