Yes, this is supported. They’re called panels, sections and controls.
Adding a panel uses this code:
$wp_customize->add_panel( $panel_name, array(
'title' => 'panel_title',
'description' => 'panel_description',
'priority' => 'priority',
'capability' => 'edit_theme_options',
'theme_supports' => ''
));
Adding a section goes like this:
$wp_customize->add_section($section_name , array(
'panel' => 'panel_name',
'title' => 'section_title',
'description' => 'section_description',
'priority' => 'priority',
'capability' => 'edit_theme_options',
));
Adding the controls is a bit more complicated, but well described in the codex.
Related Posts:
- How to add posts to custom menus?
- How to add custom css file in theme?
- CSS not updating in browser when I change it
- How to remove search bar from a wordpress theme? [closed]
- Get url of thumbnail from the media uploader
- How to: Update live sites theme from version control repo via plugin or library? [closed]
- Best practice way to implement custom sections into a WordPress theme
- Adding items to page template dropdown on Page Edit Screen
- How to use logout function on custom menu link?
- How to customize wordpress login/register pages?
- Front End Post Submit Form
- Page attribute template dropdown not displayed even the syntax is correct
- How to add a text widget during theme activation
- WordPress Theme customisation CSS
- Why does this loop only work on the homepage?
- Nesting Functions within Functions
- De-registering parent style sheet css recommended?
- inserting custom li class to wp_list_pages
- Theme check: Missing a text-domain
- Can I customize any WordPress parent block-based theme template files by child theme like a parent classic theme?
- How to determine if post has widget content?
- Custom Script Section Only Echoes Text
- Free starter theme to make mobile websites? [closed]
- Creating Theme Options Page
- How can I let templates choose which stylesheets are enqueued?
- WordPress with broken paging page 3
- WordPress Local Install Theme Folder Permission To Edit
- Display div only on the HOMEPAGE
- WordPress is adding margins and padding to my custom menu?
- What is the best way to organize template parts?
- Keep sticky posts out of query unless they have featured image
- wp_enqueue_script outside functions.php file?
- How to implement a $_SESSION alternative in WordPress inside a theme without a plugin?
- How can I make my options in an array and store theme in WP options one DB row?
- Differences between developing custom themes for wordpress.com and wordpress.org?
- Easy to develop on a URL that is changed for production?
- Following Web Performance Optimization techniques to output static and dynamic css
- How to control on which pages the Aldehyde theme’s main slider is shown?
- Internal Stylesheet in WordPress Theme development
- How to support letting users add their OWN logo to a custom theme?
- WordPress stylesheet isn’t being added
- How to detect and display a page only for IE?
- Customizer – loading settings/controls/sections/panels based on a id/page id
- Where to place template files?
- Does code in function.php differ from theme to theme
- How can I optimize this code? [closed]
- Getting author URL outside the loop
- Issue on Getting Custom post type Thumbnail’s URL
- Forms won’t submit
- Change image size depending on page
- How do I provide for multiple crops of the same image in a theme?
- How to include a mu-plugin as a theme dependency?
- Why WordPress AJAX returns undefined however it works fine when I add static url instead of dynamic function?
- How to use ajax in wordpress and sending the data without refreshing ?
- Adding an external link to product grid list pages for woocommerce
- Twenty Seventeen Pages Loop
- What and where are the WordPress core-bundled scripts?
- How to add pages in wordpress using codes?
- How does the loop know which post to view?
- How to remove permalinks links presents in each page of my site?
- How do I get from search_theme_directories() to the $stylesheet (name) for switch_theme()
- Tabbed theme options query about add_settings_section callback function
- How to use multiple check-box values to work in a function and insert values in database
- How to make a function occurs for one time?
- How to know if I am on 1st page
- How to create a robust and logic class naming system in WordPress theme developing?
- How to enable admin to upload multiple images to support header carousel slider theme in WordPress?
- how to change footer content for certain pages only
- function ‘theme_settings_page’ not found
- I don’t know why categories are showing below post
- Is there a way to create sections under “Colors” panel in the Theme Customizer?
- Need help with adding custom wordpress menu and sub-menu
- get currently showed author ID in theme functions.php
- WordPress Custom font not found
- How do I control the header space in non-front pages in Twenty Seventeen?
- Target second from last post in loop
- How to load mediaelement.js in theme template?
- Full width thumbnail
- Customizer API way function is_customize_preview() works only in main page?
- Advantages/Disadvantages Using Theme Editor Instead of Pages
- Magnific Popup – Add Caption to Images
- Why do WordPress developers use so many opening and closing PHP tags when developing themes? [duplicate]
- using theme check plugin to remove waring and errors from my theme
- paragraph format in WYSIWYG on a custom theme?
- unable to display the image meta value as background
- editor style css and page template with and without sidebar
- 3 x 3 grid of posts on the home page
- Suppress the_content filter in a nested loop
- The normal loop with different styles doesn’t work in search.php
- Pass custom css class to add_menu_page
- URL conflict with a ‘Single Page Layout’
- loading custom.js file after jquery is loaded
- How to force unlink on attached/inserted images?
- How to determine if it is legal to remove credit link from theme?
- Display recent posts on front page
- How to create sub-menu in “Allure Real Estate Theme for Placester”?
- How to send async emails in wordpress?
- ways to create customized theme (hard coded – no pagebuilder)
- Can’t select my block by clicking on it on apiVersion – but using blockProps
- Webpack does not create or update index.asset.php file in build folder