WordPress.org

Forums

YOP Poll
[resolved] silly question: how to remove "Yop Poll Widget" title? (4 posts)

  1. GillesGgagnon007
    Member
    Posted 1 year ago #

    I'm using the genesis framework, if this makes a diff. but for the life of me I can't seem to remove the title of the widget.

    I have it blank in the WP backend where I included the widget in the sidebar.

    Any clues as to what I've missed?
    Cheers,
    G

    https://wordpress.org/plugins/yop-poll/

  2. YOP
    Member
    Plugin Author

    Posted 1 year ago #

    Hi G,

    Edit inc/widget.php and at the end of widget function you can comment this line: echo $before_title . $title . $after_title;

    Regards,

    YOP Team

  3. GillesGgagnon007
    Member
    Posted 1 year ago #

    Thanks!

  4. kia
    Member
    Posted 1 year ago #

    ... or you could also find:

    $title = ( $instance['title'] ) ? esc_attr( $instance['title'] ) : __( 'YOP Poll Widget', 'yop_poll' );

    and remove the title to:

    $title = ( $instance['title'] ) ? esc_attr( $instance['title'] ) : __( '', 'yop_poll' );

    I used it on http://shalaweb.com!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic