Social Media Share Buttons - Version 4.0.4

Version Description

Download this release

Release Info

Developer joaoromao
Plugin Icon 128x128 Social Media Share Buttons
Version 4.0.4
Comparing to
See all releases

Code changes from version 4.0.3 to 4.0.4

lib/gs.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  class GS {
4
 
5
- public $plugin_version = "4.0.3";
6
  private $gs_url = "https://api.at.getsocial.io";
7
  private $gs_account = "https://getsocial.io";
8
  private $gs_url_api = "//api.at.getsocial.io";
@@ -74,7 +74,7 @@ class GS {
74
 
75
  function apps($app_name) {
76
  $apps = json_decode(get_option('gs-apps'), true);
77
-
78
  if ($apps == null) {
79
  return false;
80
  } else {
@@ -98,7 +98,7 @@ class GS {
98
 
99
  function prop($app_name, $prop) {
100
  $app = $this->apps($app_name);
101
-
102
  return $app[$prop];
103
  }
104
 
@@ -117,7 +117,7 @@ EOF;
117
 
118
 
119
  function getCode($app_name, $post_url = null, $post_title = null, $post_image = null, $price = null, $currency = null, $add_custom_tags = false) {
120
-
121
  $gs_custom_tags = '';
122
 
123
  if ($add_custom_tags) {
2
 
3
  class GS {
4
 
5
+ public $plugin_version = "4.0.4";
6
  private $gs_url = "https://api.at.getsocial.io";
7
  private $gs_account = "https://getsocial.io";
8
  private $gs_url_api = "//api.at.getsocial.io";
74
 
75
  function apps($app_name) {
76
  $apps = json_decode(get_option('gs-apps'), true);
77
+
78
  if ($apps == null) {
79
  return false;
80
  } else {
98
 
99
  function prop($app_name, $prop) {
100
  $app = $this->apps($app_name);
101
+
102
  return $app[$prop];
103
  }
104
 
117
 
118
 
119
  function getCode($app_name, $post_url = null, $post_title = null, $post_image = null, $price = null, $currency = null, $add_custom_tags = false) {
120
+
121
  $gs_custom_tags = '';
122
 
123
  if ($add_custom_tags) {
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: GetSocial.io, joaoromao
3
  Tags: share buttons, social media, social, share, sharing, analytics, button, facebook share, facebook button, like button, tweet button, twitter share, pinterest share, pin button, floating buttons, share, share button, share links, shareaholic, sharethis, social analytics, social media, social bookmarking, social buttons, social plugin, social share buttons, social sharing, mobile share bar, mobile sharing, top bar, welcome bar, hello bar, follow buttons, instagram, youtube, increase followers, increase shares, increase traffic, copy paste shares, google analytics integration, yummly, flickr, rss, mailchimp, popup, list builder, infusion soft, bitly, exit intent, time on page, automatic popup, fly-in, exit popup, popup builder, share popup, wordpress popup, subscribe popup, popup on exit, reaction buttons, reactions, reaction bar, virality alerts, alerts, dark social, scheduling, scheduler, automatic social media, automation, automatic facebook, addthis, addtoany
4
  Requires at least: 3.0
5
- Tested up to: 4.9.1
6
- Stable tag: 4.0.3
7
 
8
  Share Buttons & Analytics for desktop & mobile. Used by small websites & Fortune 500 companies. No code required.
9
 
@@ -69,7 +69,7 @@ With GetSocial you get **social share buttons** to increase your reach and boost
69
 
70
  * **Google Analytics Integration:** Merge the data obtain by GetSocial with the powerful Google Analytics so you can track your conversions from when someone clicks a friend’s share to the moment a purchase or objective is met.
71
 
72
- <a href="https://www.youtube.com/watch?v=wDZvmwHk6FA">On this video</a> you can find a step by step tutorial on how to install this plugin in your WordPress Account. We also provide a text-based tutorial here: <a href="https://getsocial.io/tutorials/wordpress">How to add free Social Share Buttons on WordPress</a>
73
 
74
  == Installation ==
75
 
@@ -103,7 +103,7 @@ Through our WordPress Plugin, all apps are available code free, which means you'
103
  All our Test users have limited support via email. Paying customers receive priority support and we strive to answer all tickets as soon as we can. Why do we prioritize support? Because we're a small company. When you reach out to us, you talk to people who've built GetSocial. Being a small team means that we can't fix all problems at once. However, we always strive to respond to every inquiry as soon as possible.
104
 
105
  **Is there someone I can talk about GetSocial?**
106
-
107
  Sure, we’re always here to help. You can contact us at support@getsocial.io or check our <a href="http://help.getsocial.io/">Knowledge Base</a>.
108
 
109
  **Are there any short codes available?**
@@ -122,7 +122,7 @@ Sure, we’re always here to help. You can contact us at support@getsocial.io or
122
 
123
  **What is the difference between the Tools Plan and the Expand Plans?**
124
 
125
- The Tools plan is focused on providing professional share buttons to your website and a range of other marketing technology assists. The Expand plans helps you manage your social media strategy by providing you powerful social analytics, scheduling tools, alerts and even Facebook Automation.
126
 
127
 
128
  <h4>List of Features</h4>
@@ -150,19 +150,19 @@ We do. Depending on the plan you selected, your website will be subject to a spe
150
 
151
  **Standard Plan:** The Standard plan is the first of our plans with social analytics. It has a limit of 500,000 visits/month and costs $185 per month. This plan is great for small websites that want to invest on social media and content.
152
 
153
- **Expand Plan:** The expand plan has unlimited visits and you can contact us for a quick quote on it.
154
 
155
  **How much do the paid versions cost?**
156
 
157
- Our pricing is very transparent. We sell **monthly and annual subscriptions** of our product, starting at $9 per month.
158
 
159
  Price for monthly plans:
160
- **Tools Plan:** $9/month;
161
  **Standard Plan:** $185/month;
162
  **Expand Plan:** Custom;
163
 
164
  Price for annual plans:
165
- **Tools Plan:** $99/year;
166
  **Standard Plan:** $2,220/year;
167
  **Expand Plan:** Custom;
168
 
@@ -211,7 +211,7 @@ GetSocial services or applications subscriptions, advertising or any other kind
211
 
212
  **Is there a free plan?**
213
 
214
- No, there is not.
215
 
216
  == Screenshots ==
217
 
@@ -226,6 +226,10 @@ No, there is not.
226
  9. Analytics for your Social Bars
227
 
228
  == Changelog ==
 
 
 
 
229
  **4.0.3**
230
 
231
  - Add support to Wordpress 4.9.1
2
  Contributors: GetSocial.io, joaoromao
3
  Tags: share buttons, social media, social, share, sharing, analytics, button, facebook share, facebook button, like button, tweet button, twitter share, pinterest share, pin button, floating buttons, share, share button, share links, shareaholic, sharethis, social analytics, social media, social bookmarking, social buttons, social plugin, social share buttons, social sharing, mobile share bar, mobile sharing, top bar, welcome bar, hello bar, follow buttons, instagram, youtube, increase followers, increase shares, increase traffic, copy paste shares, google analytics integration, yummly, flickr, rss, mailchimp, popup, list builder, infusion soft, bitly, exit intent, time on page, automatic popup, fly-in, exit popup, popup builder, share popup, wordpress popup, subscribe popup, popup on exit, reaction buttons, reactions, reaction bar, virality alerts, alerts, dark social, scheduling, scheduler, automatic social media, automation, automatic facebook, addthis, addtoany
4
  Requires at least: 3.0
5
+ Tested up to: 4.9.4
6
+ Stable tag: 4.0.4
7
 
8
  Share Buttons & Analytics for desktop & mobile. Used by small websites & Fortune 500 companies. No code required.
9
 
69
 
70
  * **Google Analytics Integration:** Merge the data obtain by GetSocial with the powerful Google Analytics so you can track your conversions from when someone clicks a friend’s share to the moment a purchase or objective is met.
71
 
72
+ <a href="https://www.youtube.com/watch?v=wDZvmwHk6FA">On this video</a> you can find a step by step tutorial on how to install this plugin in your WordPress Account. We also provide a text-based tutorial here: <a href="https://getsocial.io/tutorials/wordpress">How to add free Social Share Buttons on WordPress</a>
73
 
74
  == Installation ==
75
 
103
  All our Test users have limited support via email. Paying customers receive priority support and we strive to answer all tickets as soon as we can. Why do we prioritize support? Because we're a small company. When you reach out to us, you talk to people who've built GetSocial. Being a small team means that we can't fix all problems at once. However, we always strive to respond to every inquiry as soon as possible.
104
 
105
  **Is there someone I can talk about GetSocial?**
106
+
107
  Sure, we’re always here to help. You can contact us at support@getsocial.io or check our <a href="http://help.getsocial.io/">Knowledge Base</a>.
108
 
109
  **Are there any short codes available?**
122
 
123
  **What is the difference between the Tools Plan and the Expand Plans?**
124
 
125
+ The Tools plan is focused on providing professional share buttons to your website and a range of other marketing technology assists. The Expand plans helps you manage your social media strategy by providing you powerful social analytics, scheduling tools, alerts and even Facebook Automation.
126
 
127
 
128
  <h4>List of Features</h4>
150
 
151
  **Standard Plan:** The Standard plan is the first of our plans with social analytics. It has a limit of 500,000 visits/month and costs $185 per month. This plan is great for small websites that want to invest on social media and content.
152
 
153
+ **Expand Plan:** The expand plan has unlimited visits and you can contact us for a quick quote on it.
154
 
155
  **How much do the paid versions cost?**
156
 
157
+ Our pricing is very transparent. We sell **monthly and annual subscriptions** of our product, starting at $9 per month.
158
 
159
  Price for monthly plans:
160
+ **Tools Plan:** $9/month;
161
  **Standard Plan:** $185/month;
162
  **Expand Plan:** Custom;
163
 
164
  Price for annual plans:
165
+ **Tools Plan:** $99/year;
166
  **Standard Plan:** $2,220/year;
167
  **Expand Plan:** Custom;
168
 
211
 
212
  **Is there a free plan?**
213
 
214
+ No, there is not.
215
 
216
  == Screenshots ==
217
 
226
  9. Analytics for your Social Bars
227
 
228
  == Changelog ==
229
+ **4.0.4**
230
+
231
+ - Changes for the new GetSocial Pricing Plans
232
+
233
  **4.0.3**
234
 
235
  - Add support to Wordpress 4.9.1
tmpl/apps.php CHANGED
@@ -1,6 +1,6 @@
1
  <div class="app-grid">
2
  <?php $i = 0; ?>
3
- <?php if ($plan_is_free) {
4
  $boxes_array = $plan_class;
5
  } else {
6
  $boxes_array = $plan_categories;
@@ -9,28 +9,28 @@
9
  <?php $count = 0; ?>
10
  <?php
11
  foreach ($apps as $app => $settings) {
12
- if ($settings['category'] == $cat) {
13
- $count++;
14
  }
15
- if ($settings['plan'] == $cat) {
16
- $count++;
17
  }
18
  }
19
  ?>
20
  <div class="app-group active">
21
  <div class="app-group-title">
22
- <h2><?php echo $plan_is_free ? $plan_name[$i] : $plan_categories_name[$i] ?> <span>(<?php echo $count; echo $count > 1 ? ' Apps' : ' App' ?>)</span></h2>
23
  <a class="app-group-toggle" href="javascript:void(0)">
24
  <i class="fa fa-minus-square"></i><span>Open</span>
25
  </a>
26
- </div>
27
  <div class="app-group-body gs-clearfix">
28
  <?php foreach($apps as $app => $settings) { ?>
29
- <?php $current_box = $plan_is_free ? $settings['plan'] : $settings['category']; ?>
30
  <?php if($current_box == $cat) { ?>
31
  <div class="app-link-wrapper filter-<?php echo $settings['plan']; ?> filter-<?php echo $settings['category']; ?>">
32
  <div class="app-link">
33
- <div class="app-badge-group">
34
  <?php if ($settings['new']) { ?>
35
  <div class="app-badge new">New</div>
36
  <?php } ?>
@@ -43,7 +43,7 @@
43
  <?php echo plan_name($settings['plan']); ?>
44
  </div>
45
  <?php } ?>
46
- </div>
47
  <div class="app-image">
48
  <?php if ($settings['active']) { ?>
49
  <div class="installed">
@@ -63,7 +63,7 @@
63
  <div>
64
  <?php if (!$settings['only_activate'] || (isset($settings['only_activate']) && !$settings['active'])) { ?>
65
  <?php // Show modals when user is free and apps are activate only ?>
66
- <?php if (!$GS->is_pro() && $settings['only_activate']) { ?>
67
  <?php if ($app == 'Copy Paste Share Tracking') { ?>
68
  <a id="install-copy-and-share" href="#" class="gs-button gs-primary trans border getsocial-tab only-activate">
69
  Install App
@@ -80,7 +80,7 @@
80
  </a>
81
  <?php // Non Free users can install everything ?>
82
  <?php } else { ?>
83
- <?php
84
  // Prevent instalation of mailchimp app without Price Alert or Subscriber Bar
85
  $prevent_install = "";
86
 
@@ -88,7 +88,7 @@
88
  $prevent_install = 'prevent="true"';
89
  } ?>
90
  <a href="<?php echo $settings['href'] ?>" target="<?php echo ($settings['only_activate'] && $app != 'MailChimp' ? '' : '_blank') ?>" class="gs-button gs-primary trans border getsocial-tab <?php echo ($settings['only_activate'] ? 'only-activate' : ''); ?>" <?php echo $prevent_install; ?>>
91
-
92
  <?php echo ($settings['active']) ? 'Edit App' : 'Install App' ?>
93
 
94
  <?php // show woocommerce toogle in price alert ?>
@@ -116,6 +116,6 @@
116
  </div>
117
  </div>
118
 
119
- <?php $i++; ?>
120
  <?php } ?>
121
  </div>
1
  <div class="app-grid">
2
  <?php $i = 0; ?>
3
+ <?php if (false) {
4
  $boxes_array = $plan_class;
5
  } else {
6
  $boxes_array = $plan_categories;
9
  <?php $count = 0; ?>
10
  <?php
11
  foreach ($apps as $app => $settings) {
12
+ if ($settings['category'] == $cat) {
13
+ $count++;
14
  }
15
+ if ($settings['plan'] == $cat) {
16
+ $count++;
17
  }
18
  }
19
  ?>
20
  <div class="app-group active">
21
  <div class="app-group-title">
22
+ <h2><?php echo $plan_categories_name[$i] ?> <span>(<?php echo $count; echo $count > 1 ? ' Apps' : ' App' ?>)</span></h2>
23
  <a class="app-group-toggle" href="javascript:void(0)">
24
  <i class="fa fa-minus-square"></i><span>Open</span>
25
  </a>
26
+ </div>
27
  <div class="app-group-body gs-clearfix">
28
  <?php foreach($apps as $app => $settings) { ?>
29
+ <?php $current_box = $settings['category']; ?>
30
  <?php if($current_box == $cat) { ?>
31
  <div class="app-link-wrapper filter-<?php echo $settings['plan']; ?> filter-<?php echo $settings['category']; ?>">
32
  <div class="app-link">
33
+ <!-- <div class="app-badge-group">
34
  <?php if ($settings['new']) { ?>
35
  <div class="app-badge new">New</div>
36
  <?php } ?>
43
  <?php echo plan_name($settings['plan']); ?>
44
  </div>
45
  <?php } ?>
46
+ </div> -->
47
  <div class="app-image">
48
  <?php if ($settings['active']) { ?>
49
  <div class="installed">
63
  <div>
64
  <?php if (!$settings['only_activate'] || (isset($settings['only_activate']) && !$settings['active'])) { ?>
65
  <?php // Show modals when user is free and apps are activate only ?>
66
+ <?php if (!$GS->is_pro() && $settings['only_activate']) { ?>
67
  <?php if ($app == 'Copy Paste Share Tracking') { ?>
68
  <a id="install-copy-and-share" href="#" class="gs-button gs-primary trans border getsocial-tab only-activate">
69
  Install App
80
  </a>
81
  <?php // Non Free users can install everything ?>
82
  <?php } else { ?>
83
+ <?php
84
  // Prevent instalation of mailchimp app without Price Alert or Subscriber Bar
85
  $prevent_install = "";
86
 
88
  $prevent_install = 'prevent="true"';
89
  } ?>
90
  <a href="<?php echo $settings['href'] ?>" target="<?php echo ($settings['only_activate'] && $app != 'MailChimp' ? '' : '_blank') ?>" class="gs-button gs-primary trans border getsocial-tab <?php echo ($settings['only_activate'] ? 'only-activate' : ''); ?>" <?php echo $prevent_install; ?>>
91
+
92
  <?php echo ($settings['active']) ? 'Edit App' : 'Install App' ?>
93
 
94
  <?php // show woocommerce toogle in price alert ?>
116
  </div>
117
  </div>
118
 
119
+ <?php $i++; ?>
120
  <?php } ?>
121
  </div>
tmpl/apps_config.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
-
3
  $plan_is_free = get_option('gs-pro') ? false : true;
4
 
5
  $plans = array(
@@ -7,7 +7,7 @@
7
  'Paid Apps' => 'two'
8
  );
9
  $categories = array(
10
- 'Sharing Apps' => 'sharing',
11
  'Tracking & Engagement Tools' => 'tracking',
12
  'Follow Apps' => 'follow',
13
  'Integrations' => 'integrations'
@@ -17,7 +17,7 @@
17
  'file' => 'floating-bar',
18
  'category' => 'sharing',
19
  'new' => false,
20
- 'plan' => 'one',
21
  'active' => $GS->is_active('floating_bar'),
22
  'only_activate' => false,
23
  'href' => $GS->gs_account() . '/sites/gs-wordpress/floating_bar/new?api_key=' . $GS->api_key . '&amp;source=wordpress' . $GS->utms('floating-bar'),
@@ -27,7 +27,7 @@
27
  'file' => 'sharing-bar',
28
  'category' => 'sharing',
29
  'new' => false,
30
- 'plan' => 'one',
31
  'active' => $GS->is_active('sharing_bar'),
32
  'only_activate' => false,
33
  'href' => $GS->gs_account() . '/sites/gs-wordpress/groups/new?api_key=' . $GS->api_key . '&amp;source=wordpress' . $GS->utms('sharing-bar'),
@@ -57,7 +57,7 @@
57
  'file' => 'reaction_buttons',
58
  'category' => 'sharing',
59
  'new' => false,
60
- 'plan' => 'one',
61
  'active' => $GS->is_active('reaction_buttons'),
62
  'only_activate' => false,
63
  'href' => $GS->gs_account() . '/sites/gs-wordpress/reaction_buttons/new?api_key=' . $GS->api_key . '&amp;source=wordpress' . $GS->utms('image-sharing'),
@@ -67,7 +67,7 @@
67
  'file' => 'hello_buddy',
68
  'category' => 'tracking',
69
  'new' => false,
70
- 'plan' => 'one',
71
  'active' => $GS->is_active('hello_buddy'),
72
  'only_activate' => false,
73
  'href' => $GS->gs_account() . '/sites/gs-wordpress/hello_buddies/new?api_key=' . $GS->api_key . '&amp;source=wordpress' . $GS->utms('image-sharing'),
@@ -87,7 +87,7 @@
87
  'file' => 'native-bar',
88
  'category' => 'sharing',
89
  'new' => false,
90
- 'plan' => 'one',
91
  'active' => $GS->is_active('native_bar'),
92
  'only_activate' => false,
93
  'href' => $GS->gs_account() . '/sites/gs-wordpress/native_bar/new?api_key=' . $GS->api_key . '&amp;source=wordpress' . $GS->utms('native-bar'),
@@ -97,7 +97,7 @@
97
  'file' => 'follow-bar',
98
  'category' => 'follow',
99
  'new' => false,
100
- 'plan' => 'one',
101
  'active' => $GS->is_active('follow_bar'),
102
  'only_activate' => false,
103
  'href' => $GS->gs_account() . '/sites/gs-wordpress/follow_bar/new?api_key=' . $GS->api_key . '&amp;source=wordpress' . $GS->utms('follow-bar'),
@@ -107,7 +107,7 @@
107
  'file' => 'floating-follow-bar',
108
  'category' => 'follow',
109
  'new' => false,
110
- 'plan' => 'one',
111
  'active' => $GS->is_active('floating_follow_bar'),
112
  'only_activate' => false,
113
  'href' => $GS->gs_account() . '/sites/gs-wordpress/follow_floating_bar/new?api_key=' . $GS->api_key . '&amp;source=wordpress' . $GS->utms('floating-follow-bar'),
@@ -127,7 +127,7 @@
127
  'file' => 'welcome-bar',
128
  'category' => 'tracking',
129
  'new' => false,
130
- 'plan' => 'one',
131
  'active' => $GS->is_active('welcome_bar'),
132
  'only_activate' => false,
133
  'href' => $GS->gs_account() . '/sites/gs-wordpress/welcome_bars/new?api_key=' . $GS->api_key . '&amp;source=wordpress' . $GS->utms('welcome-bar'),
@@ -208,4 +208,4 @@
208
  global $categories;
209
  return array_search($category_key, $categories);
210
  }
211
- ?>
1
  <?php
2
+
3
  $plan_is_free = get_option('gs-pro') ? false : true;
4
 
5
  $plans = array(
7
  'Paid Apps' => 'two'
8
  );
9
  $categories = array(
10
+ 'Sharing Apps' => 'sharing',
11
  'Tracking & Engagement Tools' => 'tracking',
12
  'Follow Apps' => 'follow',
13
  'Integrations' => 'integrations'
17
  'file' => 'floating-bar',
18
  'category' => 'sharing',
19
  'new' => false,
20
+ 'plan' => 'two',
21
  'active' => $GS->is_active('floating_bar'),
22
  'only_activate' => false,
23
  'href' => $GS->gs_account() . '/sites/gs-wordpress/floating_bar/new?api_key=' . $GS->api_key . '&amp;source=wordpress' . $GS->utms('floating-bar'),
27
  'file' => 'sharing-bar',
28
  'category' => 'sharing',
29
  'new' => false,
30
+ 'plan' => 'two',
31
  'active' => $GS->is_active('sharing_bar'),
32
  'only_activate' => false,
33
  'href' => $GS->gs_account() . '/sites/gs-wordpress/groups/new?api_key=' . $GS->api_key . '&amp;source=wordpress' . $GS->utms('sharing-bar'),
57
  'file' => 'reaction_buttons',
58
  'category' => 'sharing',
59
  'new' => false,
60
+ 'plan' => 'two',
61
  'active' => $GS->is_active('reaction_buttons'),
62
  'only_activate' => false,
63
  'href' => $GS->gs_account() . '/sites/gs-wordpress/reaction_buttons/new?api_key=' . $GS->api_key . '&amp;source=wordpress' . $GS->utms('image-sharing'),
67
  'file' => 'hello_buddy',
68
  'category' => 'tracking',
69
  'new' => false,
70
+ 'plan' => 'two',
71
  'active' => $GS->is_active('hello_buddy'),
72
  'only_activate' => false,
73
  'href' => $GS->gs_account() . '/sites/gs-wordpress/hello_buddies/new?api_key=' . $GS->api_key . '&amp;source=wordpress' . $GS->utms('image-sharing'),
87
  'file' => 'native-bar',
88
  'category' => 'sharing',
89
  'new' => false,
90
+ 'plan' => 'two',
91
  'active' => $GS->is_active('native_bar'),
92
  'only_activate' => false,
93
  'href' => $GS->gs_account() . '/sites/gs-wordpress/native_bar/new?api_key=' . $GS->api_key . '&amp;source=wordpress' . $GS->utms('native-bar'),
97
  'file' => 'follow-bar',
98
  'category' => 'follow',
99
  'new' => false,
100
+ 'plan' => 'two',
101
  'active' => $GS->is_active('follow_bar'),
102
  'only_activate' => false,
103
  'href' => $GS->gs_account() . '/sites/gs-wordpress/follow_bar/new?api_key=' . $GS->api_key . '&amp;source=wordpress' . $GS->utms('follow-bar'),
107
  'file' => 'floating-follow-bar',
108
  'category' => 'follow',
109
  'new' => false,
110
+ 'plan' => 'two',
111
  'active' => $GS->is_active('floating_follow_bar'),
112
  'only_activate' => false,
113
  'href' => $GS->gs_account() . '/sites/gs-wordpress/follow_floating_bar/new?api_key=' . $GS->api_key . '&amp;source=wordpress' . $GS->utms('floating-follow-bar'),
127
  'file' => 'welcome-bar',
128
  'category' => 'tracking',
129
  'new' => false,
130
+ 'plan' => 'two',
131
  'active' => $GS->is_active('welcome_bar'),
132
  'only_activate' => false,
133
  'href' => $GS->gs_account() . '/sites/gs-wordpress/welcome_bars/new?api_key=' . $GS->api_key . '&amp;source=wordpress' . $GS->utms('welcome-bar'),
208
  global $categories;
209
  return array_search($category_key, $categories);
210
  }
211
+ ?>
tmpl/apps_filters.php CHANGED
@@ -1,7 +1,7 @@
1
  <div id="app-grid-filters">
2
  <div class="app-grid-filter-holder">
3
  <a href="javascript:void(0)" id="clear-filter" class="gs-button gs-error trans" style="display: none"><i class="fa fa-times-circle"></i> Clear filter</a>
4
- <a href="javascript:void(0)" class="gs-button plan-two trans gs-tooltip" data-filter="two">Tools Plan<div>Apps that are only available in the <strong>Tools Plan</strong></div></a>
5
  <a href="javascript:void(0)" id="app-filter" class="gs-button gs-primary trans"><i class="fa fa-filter"></i> Category</a>
6
  <div id="app-filter-dropdown">
7
  <a href="javascript:void(0)" class="gs-button gs-primary trans filter-btn js-app-one" data-filter="sharing">Sharing Apps</a>
@@ -10,4 +10,4 @@
10
  <a href="javascript:void(0)" class="gs-button gs-primary trans filter-btn js-app-nocode" data-filter="integrations">Integrations</a>
11
  </div>
12
  </div>
13
- </div>
1
  <div id="app-grid-filters">
2
  <div class="app-grid-filter-holder">
3
  <a href="javascript:void(0)" id="clear-filter" class="gs-button gs-error trans" style="display: none"><i class="fa fa-times-circle"></i> Clear filter</a>
4
+ <!-- <a href="javascript:void(0)" class="gs-button plan-two trans gs-tooltip" data-filter="two">Tools Plan<div>Apps that are only available in the <strong>Tools Plan</strong></div></a> -->
5
  <a href="javascript:void(0)" id="app-filter" class="gs-button gs-primary trans"><i class="fa fa-filter"></i> Category</a>
6
  <div id="app-filter-dropdown">
7
  <a href="javascript:void(0)" class="gs-button gs-primary trans filter-btn js-app-one" data-filter="sharing">Sharing Apps</a>
10
  <a href="javascript:void(0)" class="gs-button gs-primary trans filter-btn js-app-nocode" data-filter="integrations">Integrations</a>
11
  </div>
12
  </div>
13
+ </div>
wp-share-buttons-analytics-getsocial.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Share Buttons & tools to grow traffic by GetSocial.io
4
  * Plugin URI: http://getsocial.io
5
  * Description: Share Buttons by GetSocial.io is a freemium WordPress plugin that enables you to track social shares on Wordpress. Provide beautiful wordpress sharing buttons, track how many shares were made in each post and see how much traffic, conversions and shares each post generated. Optimize your SEO and increase social shares with GetSocial.io.
6
- * Version: 4.0.3
7
  * Author: Getsocial, S.A.
8
  * Author URI: http://getsocial.io
9
  * License: GPL2
@@ -24,13 +24,13 @@ function gs_getsocial_menu() {
24
  update_option("gs-popup-showed", "showed");
25
  }
26
 
27
-
28
  add_action( 'admin_init', 'register_gs_settings' );
29
  }
30
 
31
  function slug_path($s) {
32
  $main_slug = 'wp-share-buttons-analytics-by-getsocial/';
33
-
34
  return ($main_slug.$s);
35
  }
36
 
@@ -134,7 +134,7 @@ function change_excerpt($content) {
134
  $after_content = $after_content . $groups;
135
  endif;
136
  endif;
137
-
138
  if ($big_counter_bar_active):
139
  $big_counter = $GS->getCode('social_bar_big_counter', get_permalink(), get_the_title(), wp_get_attachment_url( get_post_thumbnail_id($post->ID)), null, null, true);
140
 
@@ -161,7 +161,7 @@ function on_post_content($content) {
161
 
162
  function add_buttons_to_content($content, $woocomerce, $wooposition = null) {
163
  global $post;
164
-
165
  $getsocial_meta = get_post_custom();
166
 
167
  if (isset($getsocial_meta['_my_meta_getsocialio_hide'])) {
@@ -171,7 +171,7 @@ function add_buttons_to_content($content, $woocomerce, $wooposition = null) {
171
  return $content;
172
  }
173
  }
174
-
175
  if (is_singular('page') && $post->post_type != 'page') {
176
  return $content;
177
  }
@@ -185,7 +185,7 @@ function add_buttons_to_content($content, $woocomerce, $wooposition = null) {
185
  $condition = true;
186
 
187
  if ($places == null || $places == 'place-all'):
188
-
189
  if (function_exists('is_shop')) {
190
  $shop_page = is_shop();
191
  } else {
@@ -349,7 +349,7 @@ function add_buttons_to_content($content, $woocomerce, $wooposition = null) {
349
  $after_content = $after_content . $groups;
350
  endif;
351
  endif;
352
-
353
  if ($big_counter_bar_active):
354
  $big_counter = $GS->getCode('social_bar_big_counter', get_permalink(), get_the_title(), wp_get_attachment_url( get_post_thumbnail_id($post->ID)), null, null, true);
355
 
@@ -360,9 +360,9 @@ function add_buttons_to_content($content, $woocomerce, $wooposition = null) {
360
  endif;
361
  endif;
362
  endif;
363
-
364
  $custom_content = $before_content . $custom_content . $after_content;
365
-
366
  return $custom_content;
367
  }
368
 
@@ -496,7 +496,7 @@ function add_popup_scripts_method() {
496
 
497
  try {
498
  $url = plugins_url( '/lib/onboarding_popup.php' , __FILE__ );
499
-
500
  wp_enqueue_script( 'jquery-form');
501
  wp_enqueue_script('gs-popover', plugins_url( '/js/create_popover.js' , __FILE__ ), array('jquery'));
502
  wp_localize_script( 'gs-popover', 'GETSOCIAL_ONBOARDING_PATH', $url );
3
  * Plugin Name: Share Buttons & tools to grow traffic by GetSocial.io
4
  * Plugin URI: http://getsocial.io
5
  * Description: Share Buttons by GetSocial.io is a freemium WordPress plugin that enables you to track social shares on Wordpress. Provide beautiful wordpress sharing buttons, track how many shares were made in each post and see how much traffic, conversions and shares each post generated. Optimize your SEO and increase social shares with GetSocial.io.
6
+ * Version: 4.0.4
7
  * Author: Getsocial, S.A.
8
  * Author URI: http://getsocial.io
9
  * License: GPL2
24
  update_option("gs-popup-showed", "showed");
25
  }
26
 
27
+
28
  add_action( 'admin_init', 'register_gs_settings' );
29
  }
30
 
31
  function slug_path($s) {
32
  $main_slug = 'wp-share-buttons-analytics-by-getsocial/';
33
+
34
  return ($main_slug.$s);
35
  }
36
 
134
  $after_content = $after_content . $groups;
135
  endif;
136
  endif;
137
+
138
  if ($big_counter_bar_active):
139
  $big_counter = $GS->getCode('social_bar_big_counter', get_permalink(), get_the_title(), wp_get_attachment_url( get_post_thumbnail_id($post->ID)), null, null, true);
140
 
161
 
162
  function add_buttons_to_content($content, $woocomerce, $wooposition = null) {
163
  global $post;
164
+
165
  $getsocial_meta = get_post_custom();
166
 
167
  if (isset($getsocial_meta['_my_meta_getsocialio_hide'])) {
171
  return $content;
172
  }
173
  }
174
+
175
  if (is_singular('page') && $post->post_type != 'page') {
176
  return $content;
177
  }
185
  $condition = true;
186
 
187
  if ($places == null || $places == 'place-all'):
188
+
189
  if (function_exists('is_shop')) {
190
  $shop_page = is_shop();
191
  } else {
349
  $after_content = $after_content . $groups;
350
  endif;
351
  endif;
352
+
353
  if ($big_counter_bar_active):
354
  $big_counter = $GS->getCode('social_bar_big_counter', get_permalink(), get_the_title(), wp_get_attachment_url( get_post_thumbnail_id($post->ID)), null, null, true);
355
 
360
  endif;
361
  endif;
362
  endif;
363
+
364
  $custom_content = $before_content . $custom_content . $after_content;
365
+
366
  return $custom_content;
367
  }
368
 
496
 
497
  try {
498
  $url = plugins_url( '/lib/onboarding_popup.php' , __FILE__ );
499
+
500
  wp_enqueue_script( 'jquery-form');
501
  wp_enqueue_script('gs-popover', plugins_url( '/js/create_popover.js' , __FILE__ ), array('jquery'));
502
  wp_localize_script( 'gs-popover', 'GETSOCIAL_ONBOARDING_PATH', $url );