Support » Fixing WordPress » Remove “Pages” title

  • 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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • <?php wp_list_pages(‘title_li=’); ?>

    That is correct.

    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.

    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!



    I removed:

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

    In the simpleX theme and it removed it perfectly.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove “Pages” title’ is closed to new replies.