the title of the widget did not appear in the sidebar on my site.
So I did change in CtwWidget.php:
– In line 13, I delete extract ($ args);
and
– in line 15 I’m added
echo $ args [ 'before_widget'];
if (! empty ($ title))
echo $ args [ 'before_title']. $ Title. $ Args [ 'after_title'];
echo $ args [ 'after_widget'];
So now it looks like this:
/** @see WP_Widget::widget */
`public function widget($args, $instance) {
$title = apply_filters(‘widget_title’, $instance[‘title’]);
echo $args[‘before_widget’];
if ( ! empty( $title ) )
echo $args[‘before_title’] . $title . $args[‘after_title’];
echo $args[‘after_widget’];
?`
The title of the widget is now visible and everything else works fine.
I hope that this will help someone who has a similar problem.
Fantastic plugin – well done on making a twitter feed widget that is actually customisable (rather than just regurgitating the limited options that the official embed code offers, which is what most plugins do).
How do I change the images (reply, retweet, favourite)? They seem to be hardcoded with white-background jpgs. (The tool tips could also do with changing, as when you hover over the images retweet is ‘Do retweet’ and Favorite is ‘Set tweet como fav’ – would be better as just ‘Retweet’ and ‘Favorite’)
Thanks for putting the plugin together.
(P.S. For some reason the css editor within the plugin didn’t work but when I changed the rules in the main stylesheet, it worked fine)
(P.P.S. The widget heading didn’t show – but I added a plain text box above it to do that, so no worries there)
]]>This installs OK but you cannot add the widget in 4.4.1 as it doesn’t exist for drag/drop. It doesn’t show in customiser either.
I think it needs a slight update…shame as I wanted to use it bad!
]]>