Support » Plugin: Crafty Social Buttons » Does not adapt to theme.

  • Resolved JMRC


    I just downloaded the plugin and it looks very promising. The combination of following and sharing in one is very convenient.

    I was wondering if you were planning on making the widget adapt to the parameters of register_sidebar(), specifically before_widget, after_widget, before_title and after_title.

    Adding support for HTML in captions would also be great, right?


Viewing 3 replies - 1 through 3 (of 3 total)
  • JMRC


    It’s this code

    $before_widget = isset($instance['$before_widget']) ? $instance['$before_widget'] : '<div class="widget widget_crafty_social_buttons">';
    $after_widget = isset($instance['$after_widget']) ? $instance['$after_widget'] : '</div>';

    Shouldn’t it be like this.

    $before_widget = isset($args['before_widget']) ? $args['before_widget'] : '<div class="widget widget_crafty_social_buttons">';
    $after_widget = isset($args['after_widget']) ? $args['after_widget'] : '</div>';

    I’m going to wrap the shortcode in a custom widget, since I like how fast the buttons load.

    Plugin Author Sarah


    I am releasing an update today that has this change. Hope it helps.

    Thank you for taking this in account.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Does not adapt to theme.’ is closed to new replies.