I am creating a theme, and I have a problem with Widgets and Widget Areas. I am using the Theme Customizer to let the user edit the content, colors, etc.
I know how to create a widget area. I need to be able to add that widget area to a specific section in the theme customizer. For example, the zerif-lite theme (as pictured below) has a widget area under the
Our focus section – Panel
Our focus section widgets – Section
I want to the same thing in my theme, be able to choose where in the customizer the widget area is displayed under.
Note: I did look at the code for the zerif-lite, however I could still not work out how they did it.
Also, I know how to create Panels
, Sections
, Settings
and Controls
, just not how to create a widget area.