WordPress.org

Ready to get started?Download WordPress

Forums

wp_list_pages with h2 (2 posts)

  1. Broomy
    Member
    Posted 8 years ago #

    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>
    <h2>Etc</h2>

    Thanks for any help.

  2. whooami
    Member
    Posted 8 years ago #

    bleh nm

Topic Closed

This topic has been closed to new replies.

About this Topic