• Hello guys,

    i need to add a <h2> tag in menu <li>, whitch is built by:

    <?php wp_list_pages("title_li=&exclude=".$exclude."&depth=".$depth); ?>

    I tried <?php wp_list_pages("title_li=<h2>&exclude=".$exclude."&depth=".$depth)</h2>; ?> but there is an error.

    Could anyone help me solve this?

    George.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp_list_pages function need to add a h2’ is closed to new replies.