there is this line of code in my sidebar:
<?php wp_list_pages(); ?>
This is doing a fine job displaying my menu, except that it is inserting the word “Pages” above the menu. I want to get rid of the word “Pages” that is automatically inserted.
I found I can change the word from “Pages” to something else by using this format:
<?php wp_list_pages('title_li=Menu'); ?>
But when I remove the title_li definition, it goes to the default “Pages”.
I tried making it invisible like this:
<?php wp_list_pages(‘title_li=<font color=”white”>Menu</font>’); ?>
This almost works, but there is a bullet next to the invisible text, which I don’t want.
Somewhere the wp_list_pages function has to be defined, where it is inserting “Pages” as the default, putting the LI tags around it, and defining the style of the li tag.
I’ve looked all over my stylesheet and can’t find anything that helps.
Does anyone know where I might be able to find where the wp_list_pages is defined, so I can remove the “Pages” at the top of the menu listing, and also the LI tag that is forcing the bullet?
Please let me know….
gary in vermont
- The topic ‘Where is “wp_list_pages()” defined?’ is closed to new replies.