Cheers for the plugin.
One improvement suggestion.
Text widgets in WP get ‘widgets_text’ class added to them by default. And that is being used by various themes to style widget’s elements.
Your widget is missing that class, so styling for widget elements is missing in many themes.
Any chance in adding that class to the widget your plugin generates, please?
So it should be this:
class=”widget widget_text classic-textwidget”
instead of only what we currently have in your widget:
For now I have added it myself by modifying line 20 in class-classic-wp-widget-text.php from:
$widget_ops = array( 'classname' => 'classic-textwidget', 'description' => __('The classic text widget for arbitrary html or text.', 'classic-text-widget') );
$widget_ops = array( 'classname' => 'widget_text classic-textwidget', 'description' => __('The classic text widget for arbitrary html or text.', 'classic-text-widget') );
- The topic ‘Missing widget_text class’ is closed to new replies.