I'm currently trying to show a drop down menu to select as the footer menu using the wordpress customizer API. Below is my add_control code

    new WP_Customize_Control(



            'label'    => __( 'Footer Services Pages', 'max' ),

'section'  => 'js_topbar_section',

'settings' => 'js_footer_service',

'type'     => 'select',

'choices' =>  array(


After the 'choices' section is where I am stuck. I don't know what function to call to display all the nav menus available on the site as dropdown.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.