Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

Thanks

share|improve this question

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.

share|improve this answer
    
Hi MidunN,How to do this without the plugin. Thanks –  B L Praveen Mar 26 '13 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 '13 at 11:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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