Version Description
We have added the Big Total Sharing buttons and increased the range of social networks your users can share to.
=
Download this release
Release Info
Developer | joaoromao |
Plugin | Social Media Share Buttons |
Version | 2.1 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 2.1
- images/floating-bar-big-counter.png +0 -0
- images/social-bar-big-counter.png +0 -0
- lib/gs.php +8 -8
- readme.txt +16 -8
- tmpl/apps.php +14 -0
- wp-share-buttons-analytics-getsocial.php +18 -3
images/floating-bar-big-counter.png
ADDED
Binary file
|
images/social-bar-big-counter.png
ADDED
Binary file
|
lib/gs.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
|
3 |
class GS {
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
private $gs_url = "//localhost:3001";
|
9 |
-
private $gs_account = "http://localhost:3000/";
|
10 |
-
private $api_url = "http://localhost:3000/api/v1/";
|
11 |
|
12 |
function __construct($api_key, $identifier, $lang){
|
13 |
$this->api_key = $api_key;
|
@@ -18,7 +18,7 @@ class GS {
|
|
18 |
|
19 |
private function api($path) {
|
20 |
try {
|
21 |
-
$r = wp_remote_get($this->api_url.$path, array(
|
22 |
|
23 |
if(is_wp_error($r)):
|
24 |
return null;
|
1 |
<?php
|
2 |
|
3 |
class GS {
|
4 |
+
private $gs_url = "https://api.at.getsocial.io";
|
5 |
+
private $gs_url_api = "//api.at.getsocial.io";
|
6 |
+
private $gs_account = "http://getsocial.io/";
|
7 |
+
private $api_url = "http://getsocial.io/api/v1/";
|
8 |
+
// private $gs_url = "//localhost:3001";
|
9 |
+
// private $gs_account = "http://localhost:3000/";
|
10 |
+
// private $api_url = "http://localhost:3000/api/v1/";
|
11 |
|
12 |
function __construct($api_key, $identifier, $lang){
|
13 |
$this->api_key = $api_key;
|
18 |
|
19 |
private function api($path) {
|
20 |
try {
|
21 |
+
$r = wp_remote_get($this->api_url.$path, array());
|
22 |
|
23 |
if(is_wp_error($r)):
|
24 |
return null;
|
readme.txt
CHANGED
@@ -1,19 +1,19 @@
|
|
1 |
=== Share Buttons by GetSocial.io ===
|
2 |
-
Contributors:
|
3 |
Donate link:
|
4 |
-
Tags: share buttons, sharing buttons, share button, sharing button, sharing, share links, social buttons, social button, social sharing, social share, ecommerce, social analytics, addthis, sharethis, woocommerce, e-commerce, addtoany, admin, bookmark, bookmarking, bookmarks, button, Facebook, Facebook share, facebook like, google, google plus, google plus one, Like, linkedin, lockerz, pin, pin it, pinit, pinterest, plugin, plus 1, plus one, Post, posts, Reddit, save, seo, sexybookmarks, share, shareaholic, sharedaddy, sharethis, sharing, sidebar, sociable, social, social bookmarking, social bookmarks, statistics, stats, stumbleupon, tumblr, tweet, twitter, social media, widget, Sociable, Social Media Widget ,Really Simple Share ,Social Share Buttons for WordPress ,Slick Social Share Buttons ,Sharebar ,Socialize ,Trackable Social Share Icons ,Facebook Social Plugins ,Tilt Social Share Widget ,Artiss Social Share ,WP Socializer, Hupso Share Buttons for Twitter, Easy Facebook Share Thumbnail, Floating Social Media Links, Social Metrics, Socialize This
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
Share buttons with
|
12 |
|
13 |
== Upgrade Notice ==
|
14 |
|
15 |
-
= 2.
|
16 |
-
We have
|
17 |
|
18 |
== Description ==
|
19 |
|
@@ -21,6 +21,8 @@ We have updated our button’s design to make them look even better on your webs
|
|
21 |
|
22 |
GetSocial.io is the social media app-store for all your needs: from awareness to conversion. You can find more info about our product <a href="http://getsocial.io">here</a>. In this plugin, you'll find the following features:
|
23 |
|
|
|
|
|
24 |
<h4>Social Apps</h4>
|
25 |
|
26 |
* **Social media bar**: Add our floating social bar and get free social media tracking of the shares made on your website. This social media widget will help your users to do more social shares of your content.
|
@@ -32,8 +34,6 @@ GetSocial.io is the social media app-store for all your needs: from awareness to
|
|
32 |
|
33 |
<h4>Now with shortcodes!</h4>
|
34 |
|
35 |
-
With version **2.0.1** we've added the ability to insert shortcodes on your site. These allow you to insert our sharing bars in your Pages or in the middle of your Posts by adding a shortcode of your choice.
|
36 |
-
|
37 |
These are the shortcodes available:
|
38 |
|
39 |
* Sharing Bar
|
@@ -48,6 +48,10 @@ These are the shortcodes available:
|
|
48 |
|
49 |
`[getsocial app="custom_actions"]`
|
50 |
|
|
|
|
|
|
|
|
|
51 |
== Installation ==
|
52 |
|
53 |
For an automatic installation through WordPress:
|
@@ -101,6 +105,10 @@ Have more doubts? You can go to <a href="http://feedback.getsocial.io">Getsocial
|
|
101 |
|
102 |
== Changelog ==
|
103 |
|
|
|
|
|
|
|
|
|
104 |
**2.0.1**
|
105 |
|
106 |
- Added Shortcodes
|
1 |
=== Share Buttons by GetSocial.io ===
|
2 |
+
Contributors: joaoromao
|
3 |
Donate link:
|
4 |
+
Tags: share buttons, sharing buttons, share button, sharing button, sharing, share links, social buttons, social button, social sharing, social share, mobile sharing, mobile web shares, mobile shares, big counter, share counter, total shares, ecommerce, social analytics, addthis, sharethis, woocommerce, e-commerce, addtoany, admin, bookmark, bookmarking, bookmarks, button, Facebook, Facebook share, facebook like, google, google plus, google plus one, Like, linkedin, lockerz, pin, pin it, pinit, pinterest, plugin, plus 1, plus one, Post, posts, Reddit, save, seo, sexybookmarks, share, shareaholic, sharedaddy, sharethis, sharing, sidebar, sociable, social, social bookmarking, social bookmarks, statistics, stats, stumbleupon, tumblr, tweet, twitter, social media, widget, Sociable, Social Media Widget ,Really Simple Share ,Social Share Buttons for WordPress ,Slick Social Share Buttons ,Sharebar ,Socialize ,Trackable Social Share Icons ,Facebook Social Plugins ,Tilt Social Share Widget ,Artiss Social Share ,WP Socializer, Hupso Share Buttons for Twitter, Easy Facebook Share Thumbnail, Floating Social Media Links, Social Metrics, Socialize This
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 2.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Share buttons with big counters for Wordpress and Mobile. Increase traffic from Facebook, Twitter, Google+ and others. No code required.
|
12 |
|
13 |
== Upgrade Notice ==
|
14 |
|
15 |
+
= 2.1 =
|
16 |
+
We have added the Big Total Sharing buttons and increased the range of social networks your users can share to.
|
17 |
|
18 |
== Description ==
|
19 |
|
21 |
|
22 |
GetSocial.io is the social media app-store for all your needs: from awareness to conversion. You can find more info about our product <a href="http://getsocial.io">here</a>. In this plugin, you'll find the following features:
|
23 |
|
24 |
+
Also, there's a tutorial on how to install this plugin in your Wordpress Account: <a href="http://blog.getsocial.io/add-social-sharing-buttons-wordpress/">How to add free Social Sharing Buttons on WordPress</a>
|
25 |
+
|
26 |
<h4>Social Apps</h4>
|
27 |
|
28 |
* **Social media bar**: Add our floating social bar and get free social media tracking of the shares made on your website. This social media widget will help your users to do more social shares of your content.
|
34 |
|
35 |
<h4>Now with shortcodes!</h4>
|
36 |
|
|
|
|
|
37 |
These are the shortcodes available:
|
38 |
|
39 |
* Sharing Bar
|
48 |
|
49 |
`[getsocial app="custom_actions"]`
|
50 |
|
51 |
+
* Big Total Shares Horizontal
|
52 |
+
|
53 |
+
`[getsocial app="social_bar_big_counter"]`
|
54 |
+
|
55 |
== Installation ==
|
56 |
|
57 |
For an automatic installation through WordPress:
|
105 |
|
106 |
== Changelog ==
|
107 |
|
108 |
+
**2.1**
|
109 |
+
|
110 |
+
- Added Big Total Shares Floating and Horizontal new apps.
|
111 |
+
|
112 |
**2.0.1**
|
113 |
|
114 |
- Added Shortcodes
|
tmpl/apps.php
CHANGED
@@ -22,6 +22,20 @@
|
|
22 |
'href' => $GS->gs_account().'/sites/gs-wordpress/groups/new?api_key='.$GS->api_key.'&source=wordpress',
|
23 |
'desc' => "Use one of our templates or design your own social sharing bar. Customize size, shape & colour and pick from 15 social networks."
|
24 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
'Native Sharing Bar' => array(
|
26 |
'file' => 'native-bar',
|
27 |
'active' => $GS->is_active('native_bar'),
|
22 |
'href' => $GS->gs_account().'/sites/gs-wordpress/groups/new?api_key='.$GS->api_key.'&source=wordpress',
|
23 |
'desc' => "Use one of our templates or design your own social sharing bar. Customize size, shape & colour and pick from 15 social networks."
|
24 |
),
|
25 |
+
'Big Total Shares Horizontal' => array(
|
26 |
+
'file' => 'social-bar-big-counter',
|
27 |
+
'active' => $GS->is_active('social_bar_big_counter'),
|
28 |
+
'href' => $GS->gs_account().'/sites/gs-wordpress/big_counter_sharing_bar/new?api_key='.$GS->api_key.'&source=wordpress',
|
29 |
+
'pro' => true,
|
30 |
+
'desc' => "Increase engagement by showing the total number of shares in a big counter on the left of your horizontal share bar."
|
31 |
+
),
|
32 |
+
'Big Total Shares Floating' => array(
|
33 |
+
'file' => 'floating-bar-big-counter',
|
34 |
+
'active' => $GS->is_active('floating_bar_big_counter'),
|
35 |
+
'href' => $GS->gs_account().'/sites/gs-wordpress/big_counter_floating_bar/new?api_key='.$GS->api_key.'&source=wordpress',
|
36 |
+
'pro' => true,
|
37 |
+
'desc' => "Increase engagement by showing the total number of shares in a big counter on top of your floating share bar."
|
38 |
+
),
|
39 |
'Native Sharing Bar' => array(
|
40 |
'file' => 'native-bar',
|
41 |
'active' => $GS->is_active('native_bar'),
|
wp-share-buttons-analytics-getsocial.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Plugin Name: Share Buttons &
|
4 |
* Plugin URI: http://getsocial.io
|
5 |
-
* Description:
|
6 |
-
* Version: 2.
|
7 |
* Author: Getsocial, S.A.
|
8 |
* Author URI: http://getsocial.io
|
9 |
* License: GPL2
|
@@ -82,6 +82,7 @@ function on_content($content) {
|
|
82 |
$groups_active = $GS->is_active('sharing_bar');
|
83 |
$native_active = $GS->is_active('native_bar');
|
84 |
$custom_active = $GS->is_active('custom_actions');
|
|
|
85 |
//
|
86 |
$before_content = "";
|
87 |
$after_content = "";
|
@@ -120,6 +121,20 @@ function on_content($content) {
|
|
120 |
endif;
|
121 |
endif;
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
if($native_active):
|
124 |
$native = $GS->getCode('native_bar');
|
125 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Plugin Name: Share Buttons & Mobile Sharing by GetSocial.io
|
4 |
* Plugin URI: http://getsocial.io
|
5 |
+
* Description: Share buttons for Wordpress and Mobile. Increase traffic from Facebook, Twitter, Google+, Pinterest and others. No code required.
|
6 |
+
* Version: 2.1
|
7 |
* Author: Getsocial, S.A.
|
8 |
* Author URI: http://getsocial.io
|
9 |
* License: GPL2
|
82 |
$groups_active = $GS->is_active('sharing_bar');
|
83 |
$native_active = $GS->is_active('native_bar');
|
84 |
$custom_active = $GS->is_active('custom_actions');
|
85 |
+
$big_counter_bar_active = $GS->is_active('social_bar_big_counter');
|
86 |
//
|
87 |
$before_content = "";
|
88 |
$after_content = "";
|
121 |
endif;
|
122 |
endif;
|
123 |
|
124 |
+
if($big_counter_bar_active):
|
125 |
+
$big_counter = $GS->getCode('social_bar_big_counter');
|
126 |
+
|
127 |
+
$position = $GS->prop('social_bar_big_counter', 'position');
|
128 |
+
|
129 |
+
if($position == 'bottom' || $position == 'both'):
|
130 |
+
$after_content = $after_content.$big_counter;
|
131 |
+
endif;
|
132 |
+
|
133 |
+
if ( $position == 'top' || $position == 'both' ):
|
134 |
+
$before_content = $before_content.$big_counter.'<br/>';
|
135 |
+
endif;
|
136 |
+
endif;
|
137 |
+
|
138 |
if($native_active):
|
139 |
$native = $GS->getCode('native_bar');
|
140 |
|