Got it.
Admittedly, this feels hacky but seems to do the job just fine.
In my existing customize_register
hook I set the following:
// Retreive the widget section in the Theme Customizer
// We need to cast the return of get_section to an object
// "the_widgets_section" in get_section is the ID of the registered widget area
$widget_area = (object) $wp_customize->get_section( 'sidebar-widgets-the_widgets_section' )
// The value of panel will be 'widgets', so we set it back to '' (top level panel)
$widget_area->panel="";
// If you're so inclined, we can change the title of it as well.
$widget_area->title = __( 'My Widgets', 'textdomain' );
Related Posts:
- Can a widget in the Customizer be “single-use” (i.e. disabled after 1 instance has been added)?
- Changes in widget customizer not triggering ‘save and publish’
- How to refresh Theme Customizer after change color inside wpColorPicker?
- Widgets not displaying in theme customizer
- Where to get the unsaved list of widgets in customizer?
- How to enable “shift-click to edit this widget” functionality on a custom widget?
- Remove the widgets tab from theme customizer
- Wp Customizer event for when a new widget has been added
- How to determine the number of widgets contained in a sidebar via customizer JS
- Sidebar not show customizer!
- Can’t see widget areas in my customizer
- Adding widgets with Featured Image via the Customizer run hundreds of queries
- Widget changes in customizer ajax error to many options?
- Color picker in widget appears twice when added via the Customizer
- WordPress Edit Button not appearing for widget in customizer
- Widget not appearing in customizer
- How do I enable the admin form for a custom widget that is called in a sidebar template, not to widget area?
- How to move widget area to another section in WordPress Customizer
- Force update widget customizer using js
- Add Control in Widgets Sub-Panel in Customizer
- Add Social Media icon widget to customizer
- Use customizer or sidebar for header settings?
- Using javascript on the new widget preview / customizer page
- Limit number of Widgets in Sidebars
- check if registered sidebar is active & has widget content
- Adding iframe Content to Sidebar Widget
- $post>ID displays wrong post ID
- Programmatically edit the text of a widget
- Video Embed in Sidebar Widget with Links to Others in Category
- Shortcode from a widget is wrapped in unwanted element
- How can I whitelist only specific shortcodes for processing in text widgets?
- Bookshelf plugin and/or widget [closed]
- How to update widget from widget() function?
- Add a banner to the Dashboard
- How to access widget data from outside widget?
- Unable to get Alert function to consistently work with backend widget with latest WP
- Widget options get
- add_page_menu to make shortcut to widgets
- Insert custom content before widget title/after widget opening tag
- Custom Menus, Widgets & Conditional Statements
- Dynamic widgets
- Show widget when not using SSL
- How/where is the global variable $wp_registered_widgets filled?
- Converting a WordPress widget to a block
- Change recent posts widget title
- How can I use AJAX to save/update a widget form?
- Display assigned terms with link
- Hide all Dashboard Widgets (not remove)
- Making footer widgets responsive
- Form link throwing website to main language
- Is there a way to extend the default image widget into a new custom widget and add additional fields to it?
- How to display first post thumbnail as a background image of a widget?
- Create widget in dashboard displaying a custom user field?
- Widget without DIV wrapper
- Widgets not displaying since 4.3
- How to update the widget form when the image is selected?
- displaying tags in a widget
- Displaying a WordPress widget by name
- How to use wordpress content class?
- How to use get_results() in widget front end?
- Proper approach to moving complete site from one domain to another AND preserve widgets
- Why custom widget won’t appear in Block editor (Gutenberg)?
- A/B test options at the widget level [closed]
- Static image for embedded YouTube video instead of blank player?
- Custom CSS for a particular text/html widget in WordPress
- Removing side bar widgets from GovPress theme
- Adding a single text input field to a custom Dashboard widget
- how to show only particular category post in archive widgets
- How to test if the widgetized area has any widgets?
- Saving widget gets an undefined variable
- Distinguish between different widgets of the same type
- How do I customize the positioning of WordPress widgets?
- Limit archive widget results
- How can I detemine the parameters needed by the_widget()?
- widgets in footer?
- Can you hide a widget based on its content?
- Fatal error: Uncaught Error: Class ‘WP_Widget’ not found
- Array showing all values of loop instead of specific value to post
- How can I remove WordPress element IDs and Class names in the HTML?
- Loop through Widgets in sidebar using widget array number?
- Widget settings disappear after refresh
- How to display author meta in a sidebar widget
- Recent Posts Widget URL / Domain change
- Make a widget to my footer
- How to change text of a widget depend on condition?
- Always show the widget title in a wordpress widget
- Display Posts by Views (Popular Posts Widget)
- Default WordPress widgets always appear
- Add space to the end on a widget
- Show editor widgets only on pages that use a specific template?
- Conditionally enable autoplay when using oEmbed in a custom widget
- Options page for widget
- user definable sidebar per page
- List.js inside WordPress widget
- Show or hide custom menu widget in side bar conditionally
- Post Thumbnails on Sidebar Widgets
- Widget which displays thumbnails, but links to urls?
- Using Conditional Tags to restrict something to 1 user?
- Problem on register/login widgets
- Classic widgets with 5.9+?