You can move around sections in the customizer simply by accessing the datastructure and assign a different value to the panel. So supposing that your widget area, created in the usual way, is called wpse210938_area
and you want to move it to the panel wpse210938_panel
, you do this:
add_action( 'customize_register', 'wpse210938_move_widget_area' );
function wpse210938_move_widget_area () {
global $wp_customize;
$wp_customize->get_section ('sidebar-widgets-wpse210938_area')->panel="wpse210938_panel";
}
Only disadvantage is that, if you have debug mode on, you will get a php warning “Creating default object from empty value”, presumably because WP loads the widget sections last, so when you are moving them, they are still empty.
Related Posts:
- How i can get widgets areas working in customizer?
- “Add A Widget” button in the Customizer
- How To extend WP_Customize_Control
- How do I remove a pre-existing customizer setting?
- How to store widget fields data as an array?
- Theme customizer – settings order
- Is it possible ( or advisable) to allow open access to the new theme customizer for potential clients?
- Add a dropdown to theme customizer
- Theme Customizer : how to create multiple-level panel
- Customizer Active Callback not working
- Can I create customizer setting that can handle plugin shortcode?
- Editing the custom background CSS
- How wp_cache is supposed to work, and does it help with performance?
- How to execute conditional script when on new customize.php (Theme Customize) screen
- Is the theme customizer slowing down my site?
- Enabling Widgets By Default in Custom Theme Development
- WordPress Customize — Move “menus” options / field to another section
- File included into functions.php via require_once() won’t echo?
- Adding inline styles from a widget
- modify a output of a widget
- Should use widgets in this case?
- Changing the entire control choices using wp.customize with JavaScript
- Enabling Default Widgets in a Custom Theme
- Adding WordPress colorpicker in widget settings
- How to add multiple custom widget areas
- How do I display the “Archives” widget layout (sidebar) in WordPress by ‘year’ then by ‘months’?
- “Display Site Title and Tagline” checkbox not working?
- How to set page template on front using starter content?
- Responsive Images – Generating multiple images from Theme Customizer control upload?
- Widgets with groups / sub widgets? Widget in a widget?
- wordpress custom theme import and export options for sample data [closed]
- How to hook CSS file according to theme selection in the customizer section
- Change setting name in Customizer and keep the data
- after_setup_theme, Global Variable and Theme Customizer
- WordPress not registering Theme Customization Section
- searchform.php override not working
- Customizer: widget-synced triggers twice
- How can i initialize a widgetized sidebar (with widgets)
- How do you force a sidebar widget to have a container div around all child widgets?
- Add widgets to available widgets section without changing the theme?
- Get a setting value conditionally in the Customizer api
- WP_Customize_Color_Control omitting # symbol
- Custom Widget options in theme
- Internal error 500 accessing Theme > Customize
- Disable dashboard drag&drop
- Theme-wide custom post template
- Disabling Customizer Selective Refresh shortcut icons for selected controls
- Dynamically generated wordpress customizer options?
- How to disable wordpress from overload my stylesheet styles with customizer styles
- Override customizer values on a per-menu base
- How to use widget in a widget-less WordPress theme?
- Is it acceptable for a WordPress theme to not accept widgets?
- How to transfer one domain to another domain without losing theme options (customizer)?
- How to include a file only on dashboard widgets page?
- Theme Customizer not displaying saved values in wp_head (CSS)
- How can I hard code my sidebar?
- How to allow certain PHP functions when using sanitize_callback in the word press customizer
- where is real values of variables?
- How to allow users to create their own website within my domain? [closed]
- Doing context-aware previews in the WordPress Customizer
- Alignment Problem [closed]
- Avada Child Theme Development
- Theme customizer – can’t add section/settings
- Theme logo metadata into template file
- WP Customazation API doesn’t save the default Value
- Twenty Twelve Author not displaying
- How to hide custom sidebar on mobile
- Related Post Category Filter
- How to copy page/post from one theme to another?
- In wordpress customizer div still showing even if I hid it with javascript
- Why does wp_customizer default values do not apply when theme is installed for the first time?
- Customizer API Multi Sections in single Panel
- Default customizer colors aren’t displayed outside of the preview
- Text widget is placing everything side by side. I want to post it above
- fetch all post from wp multisite network and sort all the post in descending order on the basis of “Created by ” term
- How Do I Create a WordPress Demo Site with Limited Admin Access
- What is difference between add_theme_support and Theme Customization API?
- (Parent) theme Is Not Showing In Theme Selection Panel and Therefore Breaks Child Theme
- How to show Custom Field Value in Woocommerce Shop Page
- How to show some of category in wordpress
- Duplicate child theme incl. design changes
- Text View (Code View) in WordPress Customizer TinyMCE Editor
- Import settings from another theme
- Nav menus Fast previewing not working with wp_get_nav_menu_items!
- Customizer Image-Picker Preview Not Working
- Correct was to customise theme using get_theme_mod in scripts
- How to get url image page the right way?
- Load get_page_templates into select menu
- Missing hashtag with theme customizer header color
- WordPress Customizer Help with FontAwesome Icon
- Customizer_register theme options not saving
- Create new sidebars trough admin post/page metabox
- WordPress Footer Widget Processing
- “No Data Received” error in Chrome every time i try to update the theme functions file
- Creating a Playlist of Widgets
- How to display only some widgets of a sidebar?
- Default calendar widget not showing up
- Option to show/hide widget depending on is_home?
- How do I make it super customisable?
- How to make a multilingual wordpress site to be translated one-to-one without much effort and without using translate?