WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

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'm trying to make a custom index menu on the sidebar for an editorial multisite wordpress website. Suppose my pages are as follows:

Level 1
     Level 2
        Level 3
        Level 3
     Level 2
        Level 3
Level 1
Level 1

what I ultimately want to achieve is to display in the following manner for all the pages:

Level 1 (Title)
   Level 3 (Title)
     Level 2 (Title)
   Level 3 (Excerpt)

so it would look something like this:

Genre Name (Level 1 Title)
   Article Name (Level 3 Title)
     BY: Author (Level 2 Title)
   Excerpt of the article goes here...(Level 2 Excerpt)

I really would like to not use a plugin for this as I'd like to copy and paste for a new issue (subpage on the multisite) of the editorial site without much work on my client side. I'm hoping it can just be a php code I can plug in on sidebar.php unless of course you have something really good in mind. Thanks so much for your help in advance!

share|improve this question
Your question is confusing. Is Level 2 a child page of Level 1 or do they have any other kind of relation between them? – sakibmoon Feb 13 '14 at 1:14
thanks for your comment. sorry for the confusion. yes, they are children – user3191930 Feb 13 '14 at 1:54
Do they share any kind of information between them? Why Level 1 title a Genre Name, Whereas Level 2 is Author name? Why are you organizing your page this way? What will happen if a page doesn't have Level 2 and Level 3 sub-page? It will be better if you can explain what you are trying to achieve with this. – sakibmoon Feb 13 '14 at 3:39

Your Answer


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

Browse other questions tagged or ask your own question.