The id parameter in register_sidebar is not directly related to the html output. It is used to identify each sidebar when the $widget_object is built.
The class should be added to the before_widget markup.
http://core.trac.wordpress.org/browser/tags/3.4.1/wp-includes/widgets.php#L1128 is where the class gets parsed.
Related Posts:
- Registering Sidebars and Sidebar Widgets. Sidebar Widgets Not Displaying
- Should I use set_transient or update_option?
- HowTo: Add Class to Sidebar Widget List-Items
- 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’?
- Is it a good idea to make whole theme widgetized?
- How i can get widgets areas working in customizer?
- Widget Option is Missing
- Is it acceptable for a WordPress theme to not accept widgets?
- Register sidebar ‘before’ and ‘after’ html as div rather than li tags
- How can I hard code my sidebar?
- How to hide custom sidebar on mobile
- Text widget is placing everything side by side. I want to post it above
- Create new sidebars trough admin post/page metabox
- Best strategy for providing theme options using customizer
- What’s the policy for building a theme that doesn’t support widgets/menus?
- static front page ONLY for certain themes?
- showing all recent posts in theme
- How to add cropped custom header image?
- Is there a way to serve different resolution images to different devices?
- What is the difference between Twenty eleven & roots framework?
- Open portfolio image in light box
- iPad WordPress theme?
- Let visitors show/hide a type of content
- custom Background not showing after upgrade?
- Rolling your own WordPress Themes
- WordPress Themes Directory: Template which hits the standards?
- Best practice for implementing a blog page / section in wp_menu_nav()
- How to modify theme content in Thematic?
- How to make a function occurs for one time?
- List categories of a post hierarchically?
- How do I restructure the comment HTML layout?
- how to add a badge on product based on filter?
- How to change a local wordpress installation xml export file urls? and change them to what if you don’t have a live website?
- Any way to change/add to the theme name dynamically?
- Available widgets is not showing up?
- Trying to link to a php template file but its blank
- Is there a list of default generated Gutenberg block CSS? Unable to align video blocks
- Let user to upload multiple time
- How to copy page/post from one theme to another?
- Not sure how to debug this npm install error. This is a wordpress theme that comes with a built-in gulp/webpack task automation [closed]
- How to update mark-up of a gallery block in a custom theme?
- PHP Parse error: syntax error, unexpected ‘endwhile’ (T_ENDWHILE), expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF) on line 124
- How to change listing type permlink?
- Adding popup support to the theme
- Host Private Custom Theme
- Theme author.php transfer
- how to create/register menu items that can be added to menus later
- My wordpress theme name isn’t updating straight away
- Calling a WP Plugin Function’s Variable in Theme Template [duplicate]
- Why nav_menu_css_class doesn’t work with apply_filters?
- Custom Enfold theme tab layout not compatible with WPML
- Why front-page.php doesn’t show content of file instead shows loop
- WordPress and Semantic UI
- Customizer API Multi Sections in single Panel
- WordPress theme options checkbox default checked state
- Copying a modified theme from one wordpress site to another wordpress site [closed]
- How can I change this SVG shape that’s generated?
- How to make updatable custom WordPress theme?
- How can I access variables from theme in child theme? [closed]
- Theme does not allow shortcodes
- Theme: dropdown hover menu not showing up in IE/Edge
- Local variable name in setup_postdata()
- Creating a Single Page Theme correctly
- Problem with pagination link (error 404)
- How to display home page last modified date in anywhere of wordpress theme?
- Is it possible to echo a woocommerce prouct attribute discription?
- What is an alternative to not using child theme to customize a WordPress theme?
- Adding a second logo next to the main one in header
- How can I not disable my theme when I want to upload a new version of it?
- (Parent) theme Is Not Showing In Theme Selection Panel and Therefore Breaks Child Theme
- Are paginated comments required for publishing Themes?
- how to ensure responsiveness in wp themes? [closed]
- Child theme menu not appearing in Twenty Seventeen
- How can I fix my theme header for my CSS stylesheet?
- How to make menus, footer, sidebars multi language
- How do I remove header/page-title image in farvis theme? [closed]
- Different WP Rest API custom endpoints across different themes
- How to test another theme in a live WordPress website instead of live preview?
- Is hand coding required at all?
- How to show some of category in wordpress
- using themename_the_custom_logo() in template-tags?
- Avoiding do_shortcode() loops
- home is not working in wordpreess
- Creating a theme just to deploy a single page
- Menu names not getting translated
- Creating a Sub Category Template
- Is there a way to create sections under “Colors” panel in the Theme Customizer?
- is_active_sidebar() problem
- How to generate a rtl.css file for themes?
- Is a multipurpose theme an alternative to modifying or creating a theme from scratch?
- How to link post image to post link?
- Local theme changes upload on server but theme changes not showing
- WooCommerce – edit templates
- Get property of non-object on theme activation
- change wordpress website logo url [duplicate]
- Custom page template not showing on page creation
- WordPress Custom font not found
- WordPress uploads do not show up and I see the white screen of death in some cases