you can create function for theme customizer with all the settings you need:
to remove “widgets” we will need to remove the “widgets” panel.
put this code in function.php
function your_customizer( $wp_customize ) {
$wp_customize->remove_panel( 'widgets' );
}
add_action( 'customize_register', 'your_customizer' );
or if you have your own function just add:
$wp_customize->remove_panel( 'widgets' );
Related Posts:
- Can a widget in the Customizer be “single-use” (i.e. disabled after 1 instance has been added)?
- Changes in widget customizer not triggering ‘save and publish’
- How to refresh Theme Customizer after change color inside wpColorPicker?
- Widgets not displaying in theme customizer
- Where to get the unsaved list of widgets in customizer?
- How to enable “shift-click to edit this widget” functionality on a custom widget?
- Wp Customizer event for when a new widget has been added
- How to determine the number of widgets contained in a sidebar via customizer JS
- Sidebar not show customizer!
- Can’t see widget areas in my customizer
- Adding widgets with Featured Image via the Customizer run hundreds of queries
- Widget changes in customizer ajax error to many options?
- Color picker in widget appears twice when added via the Customizer
- WordPress Edit Button not appearing for widget in customizer
- Make single widget area top level in 4.0 Customize Panel
- Widget not appearing in customizer
- How do I enable the admin form for a custom widget that is called in a sidebar template, not to widget area?
- How to move widget area to another section in WordPress Customizer
- Force update widget customizer using js
- Add Control in Widgets Sub-Panel in Customizer
- Add Social Media icon widget to customizer
- Use customizer or sidebar for header settings?
- Using javascript on the new widget preview / customizer page
- How to Remove All Widgets from Dashboard?
- How do I rebind event after widget save
- Calling static method in the Widget Class
- What is the best way to include a widget in a Page?
- Difference between widget form code variables
- Custom shortcode in widget forced to top of widget
- How to process content in a widget? [duplicate]
- How to retrive widget title/data
- Separate backend “Widgets” page for each language
- How do I embed in a text widget?
- Where (what direcory) are the default WordPress Widget Codes stored?
- check for shortcode in post/pages AND widgets AND template files
- WordPress Widget multiple use
- Contact Form in sidebar [closed]
- Display the date before the post title in recent posts widget
- Why won’t my custom widget stay in the sidebar after a reload?
- How to “pair” two widgets side by side in one sidebar [closed]
- How to change text widget title h2 to h1
- Widget code is not working on WordPress.com Hosted Blogs
- Show tags selection similar to category selection in WordPress
- Why can’t I see “Widgets” in my Apperance menu?
- Widgets not activated alert after using get_sidebar()
- Image Uploader API
- Is there any way to parse blocks inside widget area?
- How to output only blockquotes content from recent posts in a widget?
- WordPress Widget Multiselect Issue
- How to show all the filters with woocommerce layered nav filter widget
- Trying to create dynamic widget area using post ID
- How to modify single widget in child theme?
- Programmatically add widgets to sidebars
- Dashboard Widget drawn before opening HTML tag
- How to fix wordpress site url attaching to social media links in the widget?
- Insert widgets into loop/custom query at every nth position
- Twenty Fourteen: how do they populate by default the sidebar?
- register_sidebar fails when using a include within functions.php
- get_the_title and get_permalink outside of the Loop
- How to load a stylesheet into wp_head from a custom widget?
- how to add the same Widget twice to a sidebar?
- WordPress archives widget causes Bing bot 404 errors
- WordPress widget not appearing in editors widget list
- How to insert widgets into a post?
- Widget’s Content Mssing in Child Theme
- My widget not printing before_widgets and after widgets
- Enqueue script only when side widget is used
- wrapper div for widgets not showing with all widgets
- Address automatically generated ids in css [closed]
- Widget page stopped loading
- latest posts-widget displays all posts on archive page but works great anywhere else
- looping widgets to organize bootstrap grids
- How to get class from widget area
- How to change widget’s form color in admin?
- In widget, the value of select field doesn’t get updated, changes after saving
- Removing widget without using unregister_widget
- Text Widget to Show database fields based on post
- SELECT field options disappear when saving widget
- WordPress text filed input only inter value?
- Widget constructor: about $id_base and $options
- Need to delete the sidebar widget area and have the page a full page rather than just have a blank widget area
- Searching for a one page overview widget
- Adding pagination to my theme [closed]
- Creating a simple button inside of a widget
- Stop ‘extends WP_Widget’ displaying the (backend) form, frontend?
- How to add WooCommerce Add to Cart button in widget?
- How to place a widget beside a div/text so that they display as a continuous line
- Editor Widget Role
- How can I build a widget area widget using the built in WordPress functionalities?
- How to Activate WordPress Widgets
- WordPress wiget admin panel
- Filter “widget_comments_args” won’t work
- How to display a widget available for all themes
- How to output built-in widgets with number in range as class?
- widgets in contacts only
- How to hide sidebar widgets in all pages except Hompage?
- Extending Widgets – Exclude # of posts field from Recent Posts Widget
- Widget block editor: Unable to collect checkbox values inside widget update() method
- Issue with customizer and widget page
- Theme Widget Area Defaults