wp_list_pages – Options?
I saw that wp_lists_pages is available in the latest nighly build (I
was surprised, I never knew it existed). Now I’ve been scrambling to
figure it out and can’t really find any documentation on it.
I guess I’m just the type of impatient person who finds something like
this and wants to roll with it. I tried tweaking the template line to
get it to only show “1” depth level and changed it to read:
‘<?php wp_list_pages(‘title_li=<h2>’ . ‘depth=1’ . __(‘Pages’) . ‘</h2>’ ); ?>’
and it did nothing. (I was hoping it would just show the “top level” pages… for instance:
Does that make sense?
- The topic ‘wp_list_pages – Options?’ is closed to new replies.