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 have a photo site, and I take care to crested a logical nested hierarchy of pages.

e.g. for photos I just posted, I created the following pages:

site.com/2013/ site.com/2013/colorado/ site.com/2013/colorado/crested-butte/

the last of these is the one on which I placed my photos.

I want hierarchical menus that are easy to navigate/browse. How do I instruct Wordpress to automatically generate this?

share|improve this question
up vote 2 down vote accepted

The wp_list_pages() function will generate a hierarchical list of pages for you.

share|improve this answer

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.