WordPress.org

Ready to get started?Download WordPress

Forums

Social Sharing Toolkit
[resolved] Problem with twitter button + counter with the shortcode option (1 post)

  1. tassiatyler
    Member
    Posted 2 years ago #

    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.

    http://wordpress.org/extend/plugins/social-sharing-toolkit/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic