Forums
Home / Plugin: YOP Poll / silly question: how to remove "Yop Poll Widget" title?
(@gillesggagnon007)
10 years 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/
(@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
Thanks!
(@kia-soroush)
9 years, 11 months 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!