Found the answer elsewhere:
//Remove all Twenty Eleven Sidebars
add_action( 'after_setup_theme','remove_twentyeleven_all_widgets', 100 );
function remove_twentyeleven_all_widgets() {
remove_filter( 'widgets_init', 'twentyeleven_widgets_init' );
}
Related Posts:
- How to replace default rotating header images with my own
- How to override excerpt length in child theme of Twenty Eleven?
- How can I set a different specific header image on each page?
- Location of twentyeleven theme’s option filters?
- Is it possible to change the image in the default theme ‘Twenty Eleven’?
- Two scrollbars in popup window
- Where are the images for the theme Twenty Eleven 1.2?
- In theme Twenty Eleven, do the default images rotate randomly?
- the_content not working
- Changing where “posted on” text is located in TwentyEleven?
- Twenty Eleven theme header images manual next previous buttons
- Add Post Format Support to Twentyeleven Child Theme
- How to change the URL of a clickable banner?
- Navigation that Runs Above and Below Header Image
- Twenty Eleven Theme Adjusts for iPhones. How to stop this feature?
- IE7 compatible twentyeleven
- How do I eliminate header image from subpages in WordPress Twenty Eleven Theme?
- How do you add a custom excerpt length in twenty eleven child theme?
- Twenty-Eleven Theme and Automatic Picture Resizing
- Twenty Eleven header resize
- TwentyEleven horizontal submenu
- get_the_category_list or get_the_tag_list for custom post types and taxonomies?
- How do I add nested categories to drop-down menu in twenty-eleven?
- Why to check if function doesn’t exists in functions.php?
- Optimal approach for replacing the 8 header images in a child theme?
- Hide Twenty Eleven Theme From Themes Page
- How do I override template-tags.php in twentyseventeen theme
- Why max-width:97.5% on content images?
- why does twenty eleven theme mix up the css measurement units?
- custom, static home page / landing page with Twenty Eleven theme?
- How to force content refresh of a page that has been loaded previously by the user? [closed]
- WordPress twenty eleven sidebar on Pages
- jQuery Hoverintent plugin in TwentyEleven Menu [closed]
- Edit Comments Form in TwentyEleven
- Make “sidebar template” the default template for new pages
- What is the WordPress Pinecone sitting on top of? [closed]
- Twenty Eleven theme- have custom landing page, change nav “home” link
- theme options echoing multiple times
- Display trackbacks separately from comments in twentyeleven
- How to determine which custom header image is being shown
- How to remove header image on subpages in Twenty Eleven (default theme)?
- Conditional Statement – Best Way to Remove Nav on Contact Page
- How to Edit the style of header title of Twenty Eleven Theme?
- post edit button on front end
- CSS Twentyeleven / Sidebar has to be changed IN the CSS Stylesheet. Sidebar on the left side
- Clean install – Changing permalinks in twentyeleven give 404
- How can I hide Home in my menu in a specific page?
- Add an option to a Child theme of Twenty Eleven
- How do I add a function on a specific post category?
- Removing permalink from post thumb in twentyeleven
- How to create my own sidebar in Twenty Eleven child theme?
- new page sidebar-template by default
- How to put a Worpdpress theme in spanish (having the po file)?
- twentyeleven_content_nav hook no longer outputs navigation link after 3.5 upgrade
- How to remove header image in Twenty Eleven theme?
- How do I display an image before the first post of the loop when I’m using get_template_part?
- How to properly create a child theme
- How to hide ‘Home’ button from appearing on supages – twenty eleven theme
- theme upgrade failing
- do_shortcode() in twentyeleven theme
- Three Questions with Twenty Eleven theme
- Do I have anything to worry about when switching to a default theme to test for plugin conflictions?
- Blog post not showing title
- Extending Twenty Eleven Theme
- Change Twentyeleven Search Form Text
- New custom menu created. how to apply it?
- How to reverse engineer the Twenty Eleven background image uploader?
- Custom header image, and content, on Posts Page in twentyeleven with Static Front Page
- WordPress Twenty Eleven PhP – forcing php code to skip first post on homepage?
- How do I get the Social Media Plugin to show up in my Twenty Eleven child theme’s header?
- What is the difference between Twenty eleven & roots framework?
- WordPress upgrade from 2.7 to 3.3 Permalink problem
- Twenty ten or Twenty eleven as base for responsive child theme
- Enable featured image but not have it show up?
- When replacing #site-title with an image – why must it be located in root?
- Can the Twenty Eleven theme have a Main Sidbar at all?
- Can I decide what categories show on my posts page?
- featured images twenty eleven theme
- Does anyone know what’s the plugin for this Comment Section?
- Creating a second menu on Twenty Eleven aligned right from the first
- making my own “related pages” / “pages you might like” section
- Twenty Eleven: Home Page, View full post of most recent post & Summary of the rest
- .current_page_ancestor broken in Twenty Eleven
- Auto Changing Text Case
- WordPress Child Theme – twentyeleven
- Site blocked by WebSense on fresh WP Install
- Modify Twentyeleven child theme CSS – How to change body font size?
- How to reduce Header at the top of the page
- Twenty Eleven NOT valid
- Chat window hiding behind Twenty Eleven header
- How do I show how many products are remaining from the bought package
- Twenty Eleven theme, how to change style to a specific “format”
- Changing 2011 theme header image based on user dropdown
- Where are Sessions are being started? [closed]
- Converting HTML5 to XHTML
- Is Twenty Eleven Theme Responsive ? any update? [closed]
- Different coloured navigation links in Twenty Eleven themes
- How do I remove blog entries from home page Twenty Eleven child theme?
- Is it possible to animate the Twenty Eleven menu? [closed]
- Post interior margin in twenty eleven theme