{ $instance = wp_parse_args((array) $instance, array('widget_title' => '')); echo ' <p> <label for="' . $this->get_field_id('widget_title') . '">' . __('Title') . ':</label> <input class="widefat" id="' . $this->get_field_id('widget_title') . '" name="' . $this->get_field_name('widget_title') . '" value="' . $instance['widget_title'] . '" /> </p> <p> ' . __('Further configuration is done via the', 'mr_social_sharing_toolkit') . ' <a href="options-general.php?page=mr_social_sharing#tab_4">' . __('plugin admin screen', 'mr_social_sharing_toolkit') . '</a>. </p>'; } } $MR_Social_Sharing_Toolkit = new MR_Social_Sharing_Toolkit(); add_action('wp_print_styles', array($MR_Social_Sharing_Toolkit, 'prepare_styles')); add_action('wp_print_scripts', array($MR_Social_Sharing_Toolkit, 'prepare_scripts')); if ($MR_Social_Sharing_Toolkit->should_print_opengraph()) { add_action('wp_head', array($MR_Social_Sharing_Toolkit, 'print_opengraph'), 1); } if ($MR_Social_Sharing_Toolkit->should_linkify_content()) { add_filter('the_content', array($MR_Social_Sharing_Toolkit, 'linkify')); } if ($MR_Social_Sharing_Toolkit->should_linkify_comments()) { add_filter('comment_text', array($MR_Social_Sharing_Toolkit, 'linkify')); } if ($MR_Social_Sharing_Toolkit->should_share_excerpt()) { add_filter('the_excerpt', array($MR_Social_Sharing_Toolkit, 'share_excerpt')); } if ($MR_Social_Sharing_Toolkit->should_share_content()) { add_filter('the_content', array($MR_Social_Sharing_Toolkit, 'share')); } if ($MR_Social_Sharing_Toolkit->should_use_shortcode()) {