• Resolved GillesGgagnon007

    (@gillesggagnon007)


    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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YOP

    (@yourownprogrammer)

    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

    Thread Starter GillesGgagnon007

    (@gillesggagnon007)

    Thanks!

    kia

    (@kia-soroush)

    … 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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘silly question: how to remove "Yop Poll Widget" title?’ is closed to new replies.