As the ticket says, input_attrs
is not working for:
checkboxes, textareas, and other non-fallthrough cases
to have the wrapper you would have to create your own custom control and add the div in the render part, or go the hackish way with JavaScript.
Related Posts:
- New WP_Customize API – how does it work under the hood?
- Disable Visible Edit Shortcuts in the Customizer
- How to Add Customizer Setting in Child Theme
- customize_register with Multiple controls/settings – how to get values?
- Manipulating post meta in the customizer
- Widgets not working in Customizr but working in Appearance
- In the new Theme Customizer API, how to send a value from the front back to the admin panel?
- get_theme_mod(); returns nothing
- How to get input_attrs in the sanitize function?
- How to change in customizer the “site identity” tab required capabilities
- Customizer image control default value showing in customizer but not on frontend
- Customizer: How do you add HTML to control labels?
- Add new Control to Customizer to modify Headings (h1, h2, h3…) Color
- How to extend nav-menu-item-control data in Appearance > Customize?
- What will happen to the additional CSS when the theme is updated?
- Convert an theme options page to use in customize.php also?
- Add more then one site logo – custom-logo theme support
- Hide devices selection from customizer?
- Fatal error in wp-admin/customize.php after fresh install due to null $wp_customize
- Enabling Additional CSS / custom-css
- Can not sanitize select control in customize api
- Bind JS event to WordPress control customizer
- For a specific theme, how do I build a list of all the possible theme modification names?
- Save & Publish disabled for two dimensional array Customizer
- Allow guests to use WP Customizer but disable save button
- How do I remove a customiser option from a parent theme in a child theme?
- How to add css option to Header Image customizer?
- Trigger Customizer Publish (save) Action
- How to edit alternate inactive themes in “Appearance -> Customise” screen?
- Is it necessary to prefix theme_mod, section id and panel id in the customizer?
- Hide Customizer’s Widget Choices From The List
- theme customizer – can a single option pass multiple values?
- How to remove Customizer’s Section and move Control straight to Panel using Child Theme
- Remove Customizer Control Choices (Type: Radio Array) using Child Themes
- Dynamic Control in customiser
- Is it possible to rename a customizer control heading?
- Is it possible to add custom badges to product attributes conditionally, based on custom field?
- Will WordPress updates remove Gutenberg Additional Classes?
- Easily add custom HTML outside the main container?
- Customizer options limited to specific user roles?
- Can’t Customize WordPress Page
- WordPress Customizer: Check for value of CSS selector and replace it
- Apply `the_content’ filter to theme customisation live preview
- retrieve theme custom settings
- Multiple Customizers
- Which IDE best for WordPress Development? [closed]
- Refresh Customize Section (not preview)
- Do i need to use PHP in customizer api?
- Where did I put this one line of css?
- How to use more than 256MB of memory in the admin?
- How to get current_cat in navbar, in single post
- When using the block.getSaveElement hook can you output different markup based on whether or not you are in the edit view or the live page view?
- Selecting An image from the Media LIbrary on the frontend
- WordPress audio player has two different styles
- How wp_ajax_nopriv since WordPress 3.1
- Set user loggin status?
- Intercept invalid email during lost_password
- Only append custom classes to nav menu items
- redirect product-category to a custom page
- WP-Admin gives 403 Forbidden after login on CentOS 7
- Custom Taxonomy Archive not displaying entries
- How to redirect WooCommerce shop URL?
- Show posts on a page based on a category and tag(s)
- Any tools for quickly grabbing comments / comment count?
- Custom WP_Query with no posts to output
- Adding Page Attributes and Page Templates to Custom Post Type WP 4.7.3
- How to remove the search fields in Twentytwelve
- syntax highlighting for theme-editor.php?
- adding homework to a school’s website
- Resizing of a header/div in a website through css in wordpress [closed]
- Prepopulating a specific page template with HTML/CSS
- Is there a way to by-pass the pagination function on one custom template?
- Where in code to replace content before display of page?
- Changes in my child theme from customizer not appearing in style.css?
- Custom SELECT Query With Multiple Meta Values (Ordering Problem)
- Change Successful password reset message
- White letters in header
- How I can directly add drop-down in my product on shop page as show in below image
- How do I hide an article element so only logged out users see it
- How to request container_class from wp_nav_menu
- Replace a ‘Title’ tag with a Custom Field
- Is “get_template_part” hierarchy possible?
- Is it possible to integrate a custom login feature with wordpress?
- Dynamic Sections
- How to make conditional statement in WpBakery (formarly Visual Composer)
- Widget recent comment filter by post meta_value
- Latest update broke my custom login CSS
- Remove specific javascript when viewing page in Customizer?
- Removing fields and buttons from admin dashboard?
- Disable post-new.php (default Post type)?
- How to serve an already coded html page in a WP page, to assign a simpler url
- Use another theme template in my theme
- Pulling posts into static site (wordpress as subdirectory)
- Call a duplicate registration form with other url
- WP Customizer – what types of fields is it capable of supporting?
- How to make my wordpress site responds for 2 domains
- How to answer, and we aren’t using WordPress to manage your site? [closed]
- User Query Multiple Orderby Clause
- How to display product variations on same row
- Create a page for each database table entries