sub pages in a jump menu
-
I’m using the following code to display a list of child pages within a child page…
<?php if($post->post_parent) $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); if ($children) { ?> <ul> <?php echo $children; ?> </ul> <?php } ?>
It works great but I’m wondering how to adjust it so it shows up as a jump menu instead of an ordered list.
Any help would be much appreciated.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘sub pages in a jump menu’ is closed to new replies.