Pages Widget Can I have no Title? (3 posts)

  1. moonliner
    Posted 7 years ago #

    Is there a way to have no title/header for the Pages widget? (Just list the page links). If I leave it blank it displays "Pages."

  2. chrisdoth
    Posted 6 years ago #

    Some outdated advice here, http://askowen.info/2007/05/how-do-i-display-a-wordpress-widget-without-a-title/

    other than that only this hack which still leaves a blank space;


  3. AdrianApan
    Posted 6 years ago #

    You can modify this directly in the core of WP. Just go the /wp-includes directory and open default-widgets.php

    On line 25 you will find the function related to this default WP plugin. Make your changes there save and upload to your server.

    Default code:

    $title = apply_filters('widget_title', empty( $instance['title'] ) ? __( 'Pages' ) : $instance['title'], $instance, $this->id_base);

    Change to this:

    $title = apply_filters('widget_title', empty( $instance['title'] ) ? __( '' ) : $instance['title'], $instance, $this->id_base);

    This should do the job.

Topic Closed

This topic has been closed to new replies.

About this Topic