wp_list_pages with h2
Hi, Is there a way that I can output the pages of
<?php wp_list_pages('depth=1&title_li='); ?>with h2 tags? I would like each of the posts to be in a h2 tag such as:
<h2>Page number 1</h2>
<h2>Page number 2</h2>
<h2>Page number 3</h2>
Thanks for any help.
- The topic ‘wp_list_pages with h2’ is closed to new replies.