Turns out $wp_customize->get_section( 'sidebar-widgets-footer_widgets' )
was returning an Array, although a quick print_r()
makes it seem as though it was an Object.
Anyhow. Simple fix: cast it to an object.
$footer_widgets_section = (object) $wp_customize->get_section( 'sidebar-widgets-footer_widgets' );
$footer_widgets_section->panel="";
Related Posts:
- How do register_sidebar() and get_sidebar() work together?
- Widgets vs. Theme Mods
- Custom widget select options needs to stay selected after save
- Modify a theme to insert custom widgets?
- What changes we need to make to a theme so it can be installed as a MU Theme?
- How to narrow the area between buttons on Helium theme sidebar? [closed]
- How to get the Date Format and Time Format settings for use in my template?
- Where are Additional CSS files stored
- Update widget form after drag-and-drop (WP save bug)
- Prevent WordPress from automatically installing a new theme each year
- Is there a blank theme framework compatible with WP 3.0? [closed]
- how to override woocommerce specific loop or archive-product.php [closed]
- Looking for a lightweight theme using WP3 new tags and features (not 2010) [closed]
- How to enable edit button in the theme’s customize UI?
- Moving WordPress.com theme and widget settings to self-hosted site?
- switch theme on fly
- Show a WP 3.0 Custom Menu in an HTML Select with Auto-Navigation?
- Multisite: setting theme and options when a new blog is created
- 2 seperate installation 1 theme same server
- How to update widget from widget() function?
- FireFox Inspector :: find CSS file related to
- Widgets not working in Customizr but working in Appearance
- Custom editor field displaying HTML in Visual editor
- Get the sidebar ID in which the current widget was dropped
- How Can A Widget With Only One Instance Be Defined?
- get_theme_mod(); returns nothing
- How to exclude certain widget from showing up on home/front page? [duplicate]
- Create a customizable child theme
- Are there any ‘Coming Soon’ themes for WordPress 3.0?
- Make page template that is just an “include” of another?
- Customise search form in the Widget
- Themes VS Plugins [duplicate]
- Show attribute description when filtering by that attribute
- On Install, which code sets the ‘home’ option?
- Schedule cron event from widget
- How to Register and Display Widget for Custom taxonomy
- Widgets not showing in my custom theme
- register_sidebar ‘after_widget’ on custom-built widgets not implementing, caused nested widgets
- How can I & how do I change text displayed in comment via child theme
- Add ‘Right Now’ widget to custom dashboard
- How to use get_option() without any filter?
- Count widgets of a certain type
- Widget Javascript code (ajax)
- Custom Widget form function common elements
- Updating Widget options in custom install.php
- How do I copy all “extra” data (menus, widgets, etc) from one theme to another?
- woocommerce Add custom field set like billing fields
- $wp_customize->remove_section for customizer setting?
- Include user defined styles without including wp-load
- Cannot figure out how to center div in WordPress theme [closed]
- how can I change the background color of all posts on my server?
- How did I enable atom feeds in a fresh WP3 install?
- How to add “Read More…” link in twentytwenty
- Updating Existed RocketTheme Theme on WordPress
- How to save widget fields generated from an array?
- title, content, feature images
- How to update preview when custom setting changed in my custom widget
- Get page ID outside the loop, matching menu ID
- Child Theme – how to add new widget on a specific place?
- Putting tag outside tag on generated Menu
- How to customize core admin pages within a theme?
- Theme licensing and permission on changing content [closed]
- @font-face is not working in WordPress
- WordPress slugs and 404 handling takes preference over folders in site root?
- Updates for a private theme
- Adding custom field in all widgets, but at the top of the form, in admin area
- How to add custom page attributes in WordPress?
- How do I change the markup only of a built-in widget?
- Is it possible to make widget return only data (eg, array)?
- custom theme ,add media not showing images in media library
- Allow a Widget to be used one time only?
- Search widget will search everything in the site, how to limit to only search gallery name
- Theme Customization through admin panel. (Appearance-Customize)
- Disable widgets in customizer for sidebar
- For a specific theme, how do I build a list of all the possible theme modification names?
- Unable to edit the “customize” section and the “widget” section is populating unknown code
- Choose sidebars column in widgets.php page [closed]
- Can’t receive $args[ ] to my custom widget
- Navigation label for page in custom theme
- Organizing the position of widgetized areas in the backend
- how to convert Html block to dynamic widget?
- I’d like to move the Widgets Panel to the bottom of the list in Customizer
- Widget Option is Missing
- Installing new theme on running site
- Create small dashboard widget
- Is there a way to override require_once of the main theme on the child theme?
- Moving wp-content folder
- Widgets won’t save
- Customizing the Widget content markup
- Widget title markup in register_sidebar
- Sticky menu for WP custom menubars
- How to query details of images in gallery that is attached to a post
- WordPress broken after domain name change
- Edit value=”” of a button in child theme
- How to customize the WordPress 2014 theme, to have page using less horizontal margin?
- How to edit alternate inactive themes in “Appearance -> Customise” screen?
- How to create custom layouts and static pages in themes for clients
- How to append custom text to the output of ‘categories widget’?
- How to have multiple WordPress Menus
- Create a Page template selector page