i would like to show the submenu of my page in a custom page template on the left side in a Sidebar-area. Does any know the code for showing the submenu. Wordpress 3.4.1

Thanks a lot!!!

1 Answer 1


If you are trying to code this yourself, all the info you need is in the Wordpress Codex - http://codex.wordpress.org/Template_Tags/wp_list_pages#List_Sub-Pages

Alternatively you could use a widget like the BE Subpages Widget

  • thanks a lot. but nothing happens. either self made or with the plugin. Under Appearance - Menues i drag'nDropped the submenu items a bit besides the top menu item to the right. do i have to edit sth in the functions.php so he recognizes it as a submenu?
    – Max
    Aug 27, 2012 at 11:16
  • got it. did not set the page as a subpage in the "Pages" page. thanks!
    – Max
    Aug 27, 2012 at 11:17
  • Glad you got it. Things like that can be tough to debug!
    – shanem
    Aug 28, 2012 at 13:44
  • 1
    I just want to point out that the answer is listing sub-pages, not sub menu items
    – Steven
    Feb 23, 2016 at 9:06

Your Answer

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

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