Remove "Pages" title (5 posts)

  1. harold marting
    Posted 7 years ago #

    I have been going nuts trying to figure out how to remove the "Pages" heading from the sidebar widget. I went into the sidebar code and changed the code from:
    <?php wp_list_pages('title_li=<h2>Pages</h2>'); ?>
    <?php wp_list_pages('title_li='); ?>

    Also removed 'title_li=' and replaced it with nothing, then ' then '' then ".
    Page title still there.
    Next step is white out on the computer screen.
    Help. Help. Help.

  2. Doodlebee
    Posted 7 years ago #

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

    That is correct.

  3. iridiax
    Posted 7 years ago #

    If you are not using widgets, then the above code should work.

    If you are using widgets, then in the dashboard, edit the title of the Pages widget to something else. I don't know if you can leave it blank or not, but you could try.

  4. traypup
    Posted 7 years ago #

    Unfortunately, leaving the title blank doesn't remove the "Pages" title when using the widget. Has anyone found a way to make this work?

    ETA: I hit the spacebar once in the "title" area in the widget and that worked!

  5. cbagdon
    Posted 6 years ago #

    I removed:

    <h2><?php the_title(); ?></h2>

    In the simpleX theme and it removed it perfectly.

Topic Closed

This topic has been closed to new replies.

About this Topic