I'm currently setting a static parent name and dynamically retrieving the children pages, but what I would like to be able to use title_li to gather the parent name from WP instead of using title_li=PARENTNAME. I'm using this for my main page, which has 5 menu headings, for example:
<?php wp_list_pages("title_li=Programs&child_of=26"); ?>
<?php wp_list_pages("title_li=Faculty&child_of=18"); ?>
<?php wp_list_pages("title_li=Students&child_of=30"); ?>
Where you see Programs, Facutly, and Students, I have the exact same names in wordpress, so I would like to be able to make use of this incase someone decides to change the parent name--preventing them from directly editing the code. If they change the name of the parent in WP, the name will change here.
This site is nothing but a class assignment, so I slacked off and blasted a bunch of tables into the code to save time. I appreciate any help that someone can give me. Thanks in advance!
PS: I'm using WP 2.1.1