Add this to your functions.php file:
function jpb_unregister_widgets(){
unregister_widget('WP_Widget_Pages');
unregister_widget('WP_Widget_Calendar');
unregister_widget('WP_Widget_Archives');
unregister_widget('WP_Widget_Links');
unregister_widget('WP_Widget_Meta');
unregister_widget('WP_Widget_Search');
unregister_widget('WP_Widget_Text');
unregister_widget('WP_Widget_Categories');
unregister_widget('WP_Widget_Recent_Posts');
unregister_widget('WP_Widget_Recent_Comments');
unregister_widget('WP_Widget_RSS');
unregister_widget('WP_Widget_Tag_Cloud');
unregister_widget('WP_Nav_Menu_Widget');
}
add_action( 'widgets_init', 'jpb_unregister_widgets' );
This will get rid of all default widgets. If you want to keep a certain widget, remove that line from the function above.
Related Posts:
- How to remove Broken Link Checker widget from admin menu
- Create mobile site with same content just different theme
- Sharing Dynamic Sidebars across Multisite Blogs
- How can I diagnose a slow WordPress admin?
- How to enable a site administrator to edit users in a WordPress network/ multisite setup?
- WP-Admin not working properly at WordPress multisite with subdirectories
- Security in WordPress plugin development
- Hide a theme on list of themes in wp-admin without editing core files
- Difference Between Admin and Super Admin in Database
- wp-admin slow in multisite
- Don’t allow access to wp-admin but allow admin-ajax requests to be fulfilled on frontend?
- Timeout While Upgrading Network in Multi-site
- Uploading Images to Multi-Site Causes Failure to HTTP Error
- Multisite wp-admin redirect loop
- WordPress network (multisite) /wp-admin/ redirect loop (ERR_TOO_MANY_REDIRECTS)
- How to automatically register widgets on new blog?
- Copy posts from one blog to another in multisite environment
- My subsites accidentally went from one multisite network to another. How do I change it back?
- Redirect loop (only for multisite network admin)
- Manipulate list of themes in wp-admin
- Creating a Post form outside of the Admin
- Subsites in Multisite installation throwing 404 error on wp-admin in IIS 7
- How to set Active plugins as the default screen?
- Why can’t I delete original user in multisite? Options for manual removal
- Multisite network admin – URL / redirect error
- Cookie nonce is invalid – Multisite
- Trouble with switch_to_blog()
- WordPress mutisite migration
- Why does the My Site dropdown show only a single domain?
- Super admin access to a forgotten WP instance?
- Iframe being removed only for some users when publishing a page
- WP Multisite with Domain Mapping : Preventing User Access to Dashboard
- 2 website 1 database… Local to online
- Assign default widgets to all sites in a multisite network
- Moving wp-admin folder to a different host in a multisite environment
- Site’s admin created with wpmu_create_blog accessible only on 2nd attempt
- Making a Multisite Dashboard Widget
- Is There A Plugin to Create WP Multisite Installs programatically
- Can’t log in to wp-admin after setting up Multisite
- Infamous admin login redirect
- How to automate setup of theme, pages, widgets, etc for a new site in multi-site?
- WordPress multisite second site admin resulting in too many redirects error
- URLs for (MultiSite) link images are always relative
- Multisite wp-admin redirecting to main wp-admin using NGINX
- Is it better to embed widgets on posts or pages?
- WordPress Multisite: Login to all subsites at once
- How to Add Super Admin for WordPress multi-site
- network admin pages not linked to correctly
- Multisite – cannot remove specific sub-menu its parent menu. All sub-menus disappear
- How to have same admin login for more than one site?
- WP Admin Panel for Multi-site install not loading JavaScript for one Subdomain
- Backend freezing on certain pages of a subsite
- Multilingual multisite > customisable footer across different sites with widgets?
- Admin user getting redirected to /wp-admin/user
- WPMU widget use sitewide
- Pages redirect me to the homepage
- Some widgets on Multisite not showing up in template for particular theme
- Many big issues in the website, WP_Debug not showing
- What could be changing my WP password and blocking plugins from installing?
- How to run an activation function when plugin is network activated on multisite?
- Specific upload folder for PDFs in custom Post type in WP multisite
- Transfer Subdomain site to Multisite setup
- WP REST API – Multisite – get posts from all sites
- Get source from the_post_thumbnail
- Remove/Add widgets from/to the Available Widgets pool
- Login on Multiple Sub-Domains without Multisite
- Prevent images on self-hosted WordPress from being served from WordPress.com
- WordPress multisite fails to create a new site in the network
- Viewing / Editing A Multisite website after domain has expired
- How to show different sub sites based on Member’s user name In word press?
- Debugging unserialize errors [closed]
- new site admin not able to browse categories in wordpress multisite
- Multisite / Network – Stable?
- Eliminate MultiSite Network Splogs
- Copy user role on multisite so the user can access subsites with same role
- Multisite 404 for pages in includes subdirectory
- Multisite infinite redirect loop
- WordPress Multisite Dilemma!
- Certain lines added to our wp-config.php file are being removed, every day
- WordPress multisite installation subdomains not working properly
- How to use the same users table on multiple wordpress sites
- My Sites link in multisite is incorrect
- local wordpress multisite not working on AWS development server “error establishing database connection”
- WP Multi Site – configure Sub domain pointing to parent sub directory
- WordPress Multisite – Auto enable theme
- Network redirect issues
- WordPress Multisite subdomains and sharing the same upload folder
- How to create child/sub user under parent user
- Network created blogs URL
- Make different sites on multisite reference same script
- Problem with paging on Multisite
- How can I set up a completely separate (not multisite) WordPress installation as a subdirectory of an existing WordPress blog?
- WP3.6: PHP Fatal error: Call to undefined function wpmu_delete_user()
- 404 error in dashboard of subdomain of multisite
- Single installation with sub-domains for admin and separate domains for sites
- WordPress Multisites
- The wpmu_blogs_columns filter is not working
- Map WP Multisite blog.example.com to anotherdomain.com/blog?
- get_category_link() or get_tag_link() return wrong category/tag base in wordpress multisite
- Multisite subdomain microsite on secondary domain