I want to get custom menu in my top level page and the sub pages which are not child of the top level pages.

I got many examples using wp_list_pages but it requires the sub pages should be the child of the top level page.

How do use the wp_get_nav_menu_items function to show the custom menu in child page and the toplevel page


1 Answer 1


Try using the widget "custom menu" in the widgets. Create a custom menu with the pages you need and give that menu to this widget.

  • Hi MidunN,How to do this without the plugin. Thanks Mar 26, 2013 at 10:43
  • Its not a plugin..This widget will be defult with your theme. You dont need to install another plugin for this.
    – MidhuN
    Mar 26, 2013 at 11:21

Your Answer

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

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