It’s easy to remove a default widget from WordPress. Just add this to your functions.php file:
function remove_calendar_widget() {
unregister_widget('WP_Widget_Calendar');
}
add_action( 'widgets_init', 'remove_calendar_widget' );
See more here: http://codex.wordpress.org/Function_Reference/unregister_widget
Related Posts:
- Limit number of Widgets in Sidebars
- check if registered sidebar is active & has widget content
- Adding iframe Content to Sidebar Widget
- Storing custom dashboard widget options in wordpress
- $post>ID displays wrong post ID
- Programmatically edit the text of a widget
- Video Embed in Sidebar Widget with Links to Others in Category
- Shortcode from a widget is wrapped in unwanted element
- How can I whitelist only specific shortcodes for processing in text widgets?
- Bookshelf plugin and/or widget [closed]
- How to update widget from widget() function?
- Manual display of widget
- Add a banner to the Dashboard
- How to access widget data from outside widget?
- Unable to get Alert function to consistently work with backend widget with latest WP
- How to add a description to Widgets?
- Widget options get
- add_page_menu to make shortcut to widgets
- Insert custom content before widget title/after widget opening tag
- Custom Menus, Widgets & Conditional Statements
- Dynamic widgets
- Show widget when not using SSL
- How/where is the global variable $wp_registered_widgets filled?
- Converting a WordPress widget to a block
- Change recent posts widget title
- Color Picker Showing Twice When Widget Added to Sidebar
- How can I use AJAX to save/update a widget form?
- Display assigned terms with link
- Hide all Dashboard Widgets (not remove)
- How to get “Widget Logic” plugin’s input value in a custom widget code (to display on the Widget admin page)
- Extending WP_Widget throws error when Monster Widget used
- Making footer widgets responsive
- Custom html widget with a Joomla-style assigment
- Form link throwing website to main language
- Is there a way to extend the default image widget into a new custom widget and add additional fields to it?
- Query in query for Widget
- How to display first post thumbnail as a background image of a widget?
- Create widget in dashboard displaying a custom user field?
- Widget without DIV wrapper
- Widgets not displaying since 4.3
- Custom widget with WYSIWYG
- How to update the widget form when the image is selected?
- How to overload the update() of existings widgets?
- Override WordPress Widget CSS Classes?
- displaying tags in a widget
- Displaying a WordPress widget by name
- How to use wordpress content class?
- How to use get_results() in widget front end?
- Proper approach to moving complete site from one domain to another AND preserve widgets
- Different widgets in sidebar on sub-children pages?
- Why custom widget won’t appear in Block editor (Gutenberg)?
- A/B test options at the widget level [closed]
- Static image for embedded YouTube video instead of blank player?
- Random sidebar/widget background
- event organiser not loading in main content area
- Any available action to add content before and after sidebar?
- Creating a widget that displays the content of a page
- How to place my g+ or fb plugin at the bottom of post or page?
- WordPress widget value not save?
- Countdown Widget
- recent comments filter by author, page, category
- Display Most Recent Post Widget Title On Page
- How do I get my custom widget to show on live site?
- How can I add a widget area to the top of the Dashboard?
- How do I enable the admin form for a custom widget that is called in a sidebar template, not to widget area?
- Accessing WooCommerce product categories before initialising widget areas
- Create a new recent post widget
- How do I add footer widgets to the StudioPress Monochrome Pro theme?
- How to prevent Widget from echoing to wrong position in DOM
- Search box displaying just title → Default WordPress Widget for Search Box
- Need two sidebar (right and left)in Twenty Seven theme
- wp_enqueue_media(); in multiple widgets
- Add Control in Widgets Sub-Panel in Customizer
- How to get sidebar widgets in leftsidebar template
- How to get number of posts in same category as current post?
- conditional widget title
- Create a setting at backend,to print only selected categries at front-end
- Widget Admin page and Javascript enqueuing
- three sidebars showing without call
- Widget stuck at particular point when dragging to bottom
- How to add/save/retrieve additional fields to all available widgets?
- Change Widget that display posts from categories to tags
- How to Make widget area on place of comment
- Registered widget is showing up collapsed in the dashboard
- Using AJAX in WordPress Widget
- Create a widget to display image and Title?
- Transform php shortcode into a widget [duplicate]
- How can I get the sidebar id on the current page?
- How add short description Featured Products or Related Products
- call coupon press advanced search widget anywhere in theme?
- Tabbed navigation in widget backend
- Show or hide custom menu widget in side bar conditionally
- Custom tabs widget don’t work in google chrome, is blocked, do not change the tabs. Why?
- Post Thumbnails on Sidebar Widgets
- Widget which displays thumbnails, but links to urls?
- Using Conditional Tags to restrict something to 1 user?
- Problem on register/login widgets
- Classic widgets with 5.9+?
- Theme Widget Area Defaults
- How to add the “page” post type to Recent Activity widget displayed in admin?