I want to move this section ( menus ) into a new panel or section, in the wordpress customizer options.

enter image description here


  • Menus is one of the default options added by wp.
  • Header is one new panel created by me.

1 Answer 1


The customizer is divided into panels, then sections, then controls. You cannot move a panel inside another panel. However, you can move sections from one panel to another. In this case you can move the sections inside "Menus" to the "Header panel" like this:

$wp_customize->get_section ('AAA')->panel = 'BBB';

Where AAA is the slug of the section you want to move and BBB is the slug of the panel where you want it to show up. You can find the slugs in the ID's of the customizer html (use the browser's inspector)

Once a panel is empty, you can remove it with:

$wp_customize->remove_pange ('CCC')

The slug for the default menu panel is nav_menu.

  • Thank you. Unfortunately, this section is not possible to move. Nov 26, 2016 at 13:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.