Support » Fixing WordPress » 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.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘wp_list_pages with h2’ is closed to new replies.