WordPress.org

Ready to get started?Download WordPress

Forums

Removing the title "PAGES"? (4 posts)

  1. TRoskell
    Member
    Posted 7 years ago #

    Please could anyone with PHP knowledge help me out.
    In my navigation I would like to show the pages but not have the title "pages" is there anyway I can modify the PHP to do this

    <?php wp_list_pages('depth=3&title_li=<h2>' . __('Pages') . '</h2>' ); ?>

    Thank you

  2. moshu
    Member
    Posted 7 years ago #

  3. TRoskell
    Member
    Posted 7 years ago #

    Thanks but no its still seems to be there if I try that

  4. moshu
    Member
    Posted 7 years ago #

    Then you are not trying hard enough. This works for me everywhere:

    <ul>
    <?php
    wp_list_pages('title_li='); ?>
    </ul>

    No title (Pages) displayed.

    Edit. You can add any parameter before the title_li, separating them with the usual &

Topic Closed

This topic has been closed to new replies.

About this Topic