WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!!!

share|improve this question
up vote 1 down vote accepted

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

share|improve this answer
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 '12 at 11:16
got it. did not set the page as a subpage in the "Pages" page. thanks! – max Aug 27 '12 at 11:17
Glad you got it. Things like that can be tough to debug! – shanem Aug 28 '12 at 13:44
I just want to point out that the answer is listing sub-pages, not sub menu items – Steven Feb 23 at 9:06

Your Answer


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.