Assuming you are trying to remove the default nav_menus
panel, you have the id wrong. Also, you’ll need to add a priority of at least 20 to the customize_register
hook, assuming you’re using that hook.
function remove_customizer_settings( $wp_customize ){
$wp_customize->remove_panel('nav_menus');
}
add_action( 'customize_register', 'remove_customizer_settings', 20 );
Related Posts:
- How to remove admin menu pages inserted by plugins?
- Where are Additional CSS files stored
- Prevent WordPress from automatically installing a new theme each year
- Is there a blank theme framework compatible with WP 3.0? [closed]
- How do register_sidebar() and get_sidebar() work together?
- how to override woocommerce specific loop or archive-product.php [closed]
- Looking for a lightweight theme using WP3 new tags and features (not 2010) [closed]
- switch theme on fly
- Show a WP 3.0 Custom Menu in an HTML Select with Auto-Navigation?
- 2 seperate installation 1 theme same server
- Modify custom Users Manage page
- FireFox Inspector :: find CSS file related to
- Widgets vs. Theme Mods
- get_theme_mod(); returns nothing
- Create a customizable child theme
- Are there any ‘Coming Soon’ themes for WordPress 3.0?
- Make page template that is just an “include” of another?
- How to get value from custom backend menu
- Show attribute description when filtering by that attribute
- Retrieve and display data from custom db table in admin area?
- How to add another page in appearance tab of admin panel?
- How can I & how do I change text displayed in comment via child theme
- How do I copy all “extra” data (menus, widgets, etc) from one theme to another?
- woocommerce Add custom field set like billing fields
- Modify a theme to insert custom widgets?
- Cannot figure out how to center div in WordPress theme [closed]
- Admin Panel – Custom Menu Sub-Item LINK
- how can I change the background color of all posts on my server?
- How to add “Read More…” link in twentytwenty
- Updating Existed RocketTheme Theme on WordPress
- title, content, feature images
- Get page ID outside the loop, matching menu ID
- Putting tag outside tag on generated Menu
- How to customize core admin pages within a theme?
- Warning: Creating default object… when altering Customize panels
- Theme licensing and permission on changing content [closed]
- @font-face is not working in WordPress
- What changes we need to make to a theme so it can be installed as a MU Theme?
- Updates for a private theme
- How to add custom page attributes in WordPress?
- custom theme ,add media not showing images in media library
- Theme Customization through admin panel. (Appearance-Customize)
- For a specific theme, how do I build a list of all the possible theme modification names?
- Navigation label for page in custom theme
- Installing new theme on running site
- Is there a way to override require_once of the main theme on the child theme?
- Moving wp-content folder
- How to query details of images in gallery that is attached to a post
- WordPress broken after domain name change
- Edit value=”” of a button in child theme
- How to customize the WordPress 2014 theme, to have page using less horizontal margin?
- How to edit alternate inactive themes in “Appearance -> Customise” screen?
- add an option to the read page
- How to remove admin menu pages inserted by plugins and themes in the top admin bar?
- How to create custom layouts and static pages in themes for clients
- How to have multiple WordPress Menus
- Create a Page template selector page
- Is “get_template_part” hierarchy possible?
- How to add WordPress JS Script Links
- Usage of custom post types in a custom admin menu
- Mimicking admin panel menu from wordpress 3.0.1
- Prevent WordPress from automatically installing a new theme each year
- Change default Video Player without Plugin
- Custom admin menu items
- How do I run a web app in my WordPress theme without the “wp-content/theme/…/webapp” in URL?
- Add helper text in custom-header section in admin
- Lost customization after switching the WordPress theme
- Customized Blog/Latest Posts Page
- remove screenshot.png via dashboard
- Allow WP users to sort search result on a videos site
- How replace theme styles?
- Add a menu item to admin dashboard which isn’t a link? [duplicate]
- Delete page titles
- Issue with navigation bar in child theme
- How to fix custom add menu page preventing media library from loading
- How to narrow the area between buttons on Helium theme sidebar? [closed]
- How do I target this page specifically?
- admin aoolbar add_node() and pulling in my post slug
- How do I change the content of an element for a theme without losing the styling?
- My connecting URL form in html to PHP does not work
- How to Password Protect whole site except for some subdirectories
- Unable to write error_log output… but only from a certain function
- How do I move my sites to a child theme without loosing customisation?
- Removing comma from ‘entry-date’ in Twenty-Sixteen theme
- call get_header() function from different theme
- Use another theme template in my theme
- How do I change text of a product template in a WooCommerce theme? [closed]
- Why, when it comes to custom background and image, does ‘The first value registered’ win?
- Integrate Woocommerce to a custom theme
- Custom CSS File wont work on second Page
- How to add custom page using them in wordpress 3.5
- Consolidate ‘add-to-cart’ buttons into one ‘add-all-to-cart’ button
- customizing a theme [closed]
- I have one page in my WordPress site with a table that needs to be super compact and simple
- Changes to code not displaying
- How to use more than 256MB of memory in the admin?
- Selecting An image from the Media LIbrary on the frontend
- Theme-Config tab in admin Pannel?
- redirect post id to post full url
- Problems with setting up a subdomain to serve images and scripts