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?
- Wp-admin wrongly redirecting on multisite
- Unable to change blog language in multisite
- Multisite logged into one wp-admin, move to another sites wp-admin asked to login again
- Why am I getting the login screen in wp-admin->Appearance->Customize?
- The wp-admin url for each site does not work on WordPress multisite
- Memory growth with new additions to WordPress Multisite
- Rewriting request to another site
- Enable HTTPS for AWS hosted multisite domain (with AWS purchased SSL) on already created Load Balancer?
- Downloading customized theme from wordpress
- I want to replicate my sub site similar to my primary site in WordPress Multisite Network
- Getting file errors in a WordPress Multisite ADMIN
- How to migrate post media from stand-alone to multisite build
- How to make the redirects right? IP to domain name folders
- Add new sites on the same level as the parent URL in a multisite
- Domain not redirected correctly with WordPress Multisite
- What is the optimal solution: WP Multisite vs InfiniteWP
- Best way to have multiple custom domains associated with a site within a multisite installation
- Multisite network admin login redirect
- Hook into ‘admin_url’ but only on Mysites admin bar menu
- Add file at the root of mapped domain in multisite
- Seeking solution to sync wordpress sites with Server
- How to post same content on multisite?
- Is there any hook to validate google recaptcha dislayed in wp-signup page [in WordPress Multisite]
- wp-cli core install –skip-email and –skip-config flags not working on MAMP unknown parameter
- How to add a link of “one” website in posts of “second” website in multisite WordPress
- Primary (root) blog of multisite installation forbidden (403)
- Themes are visible in Network, but invisible in sites
- Duplicate/Clone a Multi-site But Use Same Images & Resources?
- logging out with/without confirmation – single site, multisite
- How to disable Gutenberg editor from Multisite Admin panel?
- WordPress Multisite VMware copy for dev use not allowing loggin
- Multisite subdirecty added inside URL to uploaded files
- local wordpress multisite not working on AWS development server “error establishing database connection”
- Displaying Multisite ID number
- WP Multi Site – configure Sub domain pointing to parent sub directory
- Timber\Image an image from another site in network
- Redirect a user roll to a page after login in mutlisite network
- customize admin bar (desktop+ responsive)
- WordPress Multisite – Domain Mapping
- Register a user only to the root blog – WP Multisite
- Create multiple clones of site with different branding?