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:
- home
- portfolio
- photos
- home
- portfolio
- photos
- cycling
- weddings
and not
<ul submenu>
Does that make sense?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘wp_list_pages – Options?’ is closed to new replies.