modifying wp_list_pages() to use image for title
-
this function :
wp_list_pages();
lists my pages in this format :Pages page1 page2 page3
Well , i dont want it to show me the word “Pages“. Instead of “Pages” i want to add an image.
Image page1 page2 page3
I dont know where to edit. I selected the sidebar.php from the editor and there i have
<?php wp_list_pages(); ?>
but i cannot edit it from there. I want to get rid of “Pages” and use<img src="image.gif">
istead. I think i must edit some other files to make this possible.My screenshot explains the problem. I added an image for Categories, one for Search and one for Archive, but i cannot add an image to Pages.
https://img386.imageshack.us/img386/402/57980632qn0.jpg
Can you help ? Thanks.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘modifying wp_list_pages() to use image for title’ is closed to new replies.