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

1 Answer 1

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.