Wordpress Customazation API section in section

Heyo,

I'm once again stuck with my Customizer API. How can I put my sections together in another Section/Folder (however you wana call it)? Like the standard Widget section:

Main Section Area Second Section Area

I have searched for this question/problem but haven't found anything.

Thanks in advance!

Solutions

That is a Panel, the customizer contains three layers: panels contain sections, sections contain settings, and settings are the data that gets managed by the controls in the customizer UI.

[panel]  
  |--[section]  
  |      |--[setting] and his [control]
  |      |--[setting] and his [control]
  |--[section]  
  |      |--[setting] and his [control]
  |      |--[setting] and his [control]

Panel, Section, Setting, Control

Create a Panel and when creating the Sections pass the $id of the Panel to group them in the same Panel.

Similar questions

How to have second section float below the first section?
I have the following HTML markup, where I have successfully made the first section sticky. What I want is the second section to be sticky as well but stay below the first one. Suppose I scroll and the first section is sticky the second should be sticky and float below the first one. How can I make the second section also float below the section-1. ...
Wordpress API Setting : the title of the section rendered not showing
Please see the below-mentioned code → But the problem is that the text Header Options is not displaying in the theme options panel. 'Header Options', // The title of the section rendered to the screen what mistake I am doing? Looks like some silly mistake that I cant diagnose. I forget to mentioned that I have also written this line of code →
How to remove a settings section from the Theme Customization API preview pane?
I am currently working on a theme that uses the Wordpress Customization API and I need to remove some pre-existing sections from the customization preview pane. Is there somewhere like a global variable holding an array of the sections perhaps (in true Wordpress style) I can unset the navigation section in particular? Please see attached image for ...
javaScript in <head> section of WP API
How do I place the following javaScript in the <head> section of the Wordpress Widgets API menu screen?
Settings API in Section
I have a snippet that creates an option in Settings->General using Settings API. However, the values don't get updated and I was wondering if anyone can help point out the problem with the following code
Settings API settings section not appearing
Settings API always been a little confusing for me. I am trying to add a simple theme options page for a child theme I am developing. I guess I am doing something wrong that preventing the section being appearing. The settings_fields() is working fine though (printing all those hidden fields in the form), but the sections are not. Here is my code, ...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.