[Plugin: Social Sharing Toolkit] Problem with twitter button counter with the shortcode option
-
I downloaded the plugin and I needed the shortcode option for my layout. The problem is that the any Twitter “+ counter” button just don’t work when you add the plugin via shortcode.
So, after trying everyting, I found out that there is a line missing on this file: social_sharing_toolkit.php
This is the solution:
On line 397, find this:
if ($this->options['mr_social_sharing_buttons']['tw_tweet']['type'] == 'horizontal' || $this->options['mr_social_sharing_buttons']['tw_tweet']['type'] == 'vertical' || $this->options['mr_social_sharing_widget_buttons']['tw_tweet']['type'] == 'horizontal' || $this->options['mr_social_sharing_widget_buttons']['tw_tweet']['type'] == 'vertical' || $this->options['mr_social_sharing_follow_buttons']['tw_tweet']['type'] == 'none' || $this->options['mr_social_sharing_follow_buttons']['tw_tweet']['type'] == 'horizontal') {
And replace with this:
if ($this->options['mr_social_sharing_buttons']['tw_tweet']['type'] == 'horizontal' || $this->options['mr_social_sharing_buttons']['tw_tweet']['type'] == 'vertical' || $this->options['mr_social_sharing_widget_buttons']['tw_tweet']['type'] == 'horizontal' || $this->options['mr_social_sharing_shortcode_buttons']['tw_tweet']['type'] == 'horizontal' || $this->options['mr_social_sharing_shortcode_buttons']['tw_tweet']['type'] == 'vertical' || $this->options['mr_social_sharing_widget_buttons']['tw_tweet']['type'] == 'vertical' || $this->options['mr_social_sharing_follow_buttons']['tw_tweet']['type'] == 'none' || $this->options['mr_social_sharing_follow_buttons']['tw_tweet']['type'] == 'horizontal') {
And there it is! Solved.
- The topic ‘[Plugin: Social Sharing Toolkit] Problem with twitter button counter with the shortcode option’ is closed to new replies.