In my custom widgets, I had omitted adding the ID to ‘before_widget’ markup, as I wasn’t using the IDs for styling. Turns out this is what the Customizer JS is using to target the widgets. (duh)
So, including the proper ID in the widget output makes everything work as it should.
Related Posts:
- Can a widget in the Customizer be “single-use” (i.e. disabled after 1 instance has been added)?
- Enabling jquery when dragging available widget to sidebar area
- 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
- How do I rebind event after widget save
- How to listen to color changes on the color picker?
- Where to get the unsaved list of widgets in customizer?
- Ban certain widgets from certain sidebars
- Widget “Save” resetting jQuery hidden fields
- jQuery does not work in widget backend
- Trigger Submit Event when Widget is added to Sidebar
- Using jQuery in widget development
- Remove the widgets tab from theme customizer
- cannot drag and drop widgets since wordpress 3.2.1
- AJAX Contact Form Issue
- 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!
- jQuery UI inside widget on admin page
- WP_enqueue_script() loads them always in wp_footer()?
- Can’t see widget areas in my customizer
- Adding widgets with Featured Image via the Customizer run hundreds of queries
- Wrap the widget content with a div and get the widget title outside? [closed]
- Widget changes in customizer ajax error to many options?
- Color picker in widget appears twice when added via the Customizer
- Sorting widget control
- Access Customizer widget instance form
- How i can widget ID get after drag for wordpress with jquery?
- wordpress widget missing jquery
- WordPress Edit Button not appearing for widget in customizer
- Making jQuery .change() event persistent after widget save
- Make single widget area top level in 4.0 Customize Panel
- Jquery checkbox -show posts with checked tags
- 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 AJAX in WordPress Widget
- Using javascript on the new widget preview / customizer page
- Custom tabs widget don’t work in google chrome, is blocked, do not change the tabs. Why?
- Multiple widgets in wordpress
- jQuery “on” handler does not fire on newly inserted widgets [closed]
- Using AJAX in a Widget to Sort items [closed]
- $post>ID displays wrong post ID
- Video Embed in Sidebar Widget with Links to Others in Category
- Shortcode from a widget is wrapped in unwanted element
- Bookshelf plugin and/or widget [closed]
- How to update widget from widget() function?
- Add a banner to the Dashboard
- Unable to get Alert function to consistently work with backend widget with latest WP
- Widget options get
- Latest/Recent posts widget title link
- Insert Widget option into mark-up with register_sidebar
- Widgets not expanding on wordpress 3.3 widget dashbord
- Removing default theme widgets
- wp_register_sidebar_widget() disappered my Widgets submenu – what am I doing wrong?
- How to conditionally display widgetized areas in theme customizer?
- How to list all custom post types in a custom widget?
- How can I assign widgets from WP to appear in bbpress?
- get_option returns undesired blank instance of a widget
- escaping and sanitizing input for custom widget form fields
- Dynamic created widget id value of multi-instance in jQuery
- How to select multiple media files for a widget form?
- Create an extra Widget Areas in WordPress TwentyTwelve
- Apply code for all else first block
- Turn off “This is the Primary Sidebar Widget Area” message
- Adding a WordPress Widget to a settings page
- How to change “Call To +1800090098” in TopStore pro theme [closed]
- How to dynamically add the the input text field in widget?
- Header Sidebar Won’t Move Lower – Want to Align with Header Logo [closed]
- How to call custom jQuery plugins into the customizer controls
- Is there a way to use get_sidebar() when no widgets are activated?
- Is there any tab widget plugin supporting third party widgets? [closed]
- Add footer widgets
- 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
- Limit archive widget results
- How can I detemine the parameters needed by the_widget()?
- 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
- Make a widget to my footer
- How to change text of a widget depend on condition?
- 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?
- 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
- Using Conditional Tags to restrict something to 1 user?
- Problem on register/login widgets