Version Description
Download this release
Release Info
Developer | joaoromao |
Plugin | Social Media Share Buttons |
Version | 4.2.3 |
Comparing to | |
See all releases |
Code changes from version 4.2.2 to 4.2.3
- css/getsocial-style.css +78 -34
- init.php +3 -3
- lib/gs.php +1 -1
- readme.txt +6 -3
- tmpl/alerts.php +1 -1
- tmpl/apps.php +1 -1
- tmpl/apps_config.php +17 -17
- tmpl/apps_filters.php +1 -1
- tmpl/footer.php +1 -1
- tmpl/header.php +1 -1
- wp-share-buttons-analytics-getsocial.php +1 -1
css/getsocial-style.css
CHANGED
@@ -468,14 +468,15 @@ header #main-nav nav > ul > li a > i:not(.fa-angle-down) {
|
|
468 |
bottom: -1px;
|
469 |
}
|
470 |
header #main-nav nav > ul > li a.plan-one {
|
471 |
-
background: #
|
472 |
}
|
473 |
header #main-nav nav > ul > li a.plan-one:hover,
|
474 |
header #main-nav nav > ul > li a.plan-one:focus {
|
475 |
-
background: #
|
476 |
}
|
477 |
-
header #main-nav nav > ul > li a.plan-one:active
|
478 |
-
|
|
|
479 |
}
|
480 |
header #main-nav nav > ul > li a.plan-two {
|
481 |
background: #f29809;
|
@@ -631,16 +632,19 @@ header #main-nav nav > ul > li.submenu-link .submenu a[class*="badge-"] > span {
|
|
631 |
border-radius: 4px;
|
632 |
}
|
633 |
header #main-nav nav > ul > li.submenu-link .submenu a[class*="badge-"].badge-plan-one > span {
|
634 |
-
background: #
|
635 |
}
|
636 |
header #main-nav nav > ul > li.submenu-link .submenu a[class*="badge-"].badge-plan-two > span {
|
637 |
-
background: #
|
638 |
}
|
639 |
header #main-nav nav > ul > li.submenu-link .submenu a[class*="badge-"].badge-plan-three > span {
|
640 |
-
background: #
|
641 |
}
|
642 |
header #main-nav nav > ul > li.submenu-link .submenu a[class*="badge-"].badge-plan-four > span {
|
643 |
-
background: #
|
|
|
|
|
|
|
644 |
}
|
645 |
header #main-nav nav > ul > li#cta-nav + #user-nav {
|
646 |
margin-right: 0;
|
@@ -1312,41 +1316,65 @@ header #main-nav nav > ul > li#store-nav #site-collection > li:not(.tier-counter
|
|
1312 |
color: #fff;
|
1313 |
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.13);
|
1314 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1315 |
.alert-block.plan-two {
|
1316 |
-
background: #
|
1317 |
}
|
1318 |
.alert-block.plan-two .alert-info:before {
|
1319 |
-
content: "
|
1320 |
}
|
1321 |
.alert-block.plan-two .alert-info a {
|
1322 |
-
background: #
|
1323 |
}
|
1324 |
.alert-block.plan-two .alert-info a:hover {
|
1325 |
-
background: #
|
1326 |
}
|
1327 |
.alert-block.plan-three {
|
1328 |
-
background: #
|
1329 |
}
|
1330 |
.alert-block.plan-three .alert-info:before {
|
1331 |
content: "Growth";
|
1332 |
}
|
1333 |
.alert-block.plan-three .alert-info a {
|
1334 |
-
background: #
|
1335 |
}
|
1336 |
.alert-block.plan-three .alert-info a:hover {
|
1337 |
-
background: #
|
1338 |
}
|
1339 |
.alert-block.plan-four {
|
1340 |
-
background: #
|
1341 |
}
|
1342 |
.alert-block.plan-four .alert-info:before {
|
1343 |
-
content: "
|
1344 |
}
|
1345 |
.alert-block.plan-four .alert-info a {
|
1346 |
-
background: #
|
1347 |
}
|
1348 |
.alert-block.plan-four .alert-info a:hover {
|
1349 |
-
background: #
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1350 |
}
|
1351 |
.alert-block .close {
|
1352 |
width: 33px;
|
@@ -2744,11 +2772,20 @@ div.gs-form .extra-notes .fa-asterisk {
|
|
2744 |
color: #aaa;
|
2745 |
background: #eee;
|
2746 |
}
|
2747 |
-
.gs-button:not(.pricing-plan).plan-
|
2748 |
-
background: #
|
2749 |
}
|
2750 |
-
.gs-button:not(.pricing-plan).plan-
|
2751 |
-
background: #
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2752 |
}
|
2753 |
.gs-button:not(.pricing-plan).plan-two.trans {
|
2754 |
color: #f29809;
|
@@ -2933,22 +2970,22 @@ button.gs-button.dark:hover {
|
|
2933 |
a.gs-button.pricing-plan.plan-one:hover,
|
2934 |
input.gs-button.pricing-plan.plan-one:hover,
|
2935 |
button.gs-button.pricing-plan.plan-one:hover {
|
2936 |
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 0 0 3px #
|
2937 |
}
|
2938 |
a.gs-button.pricing-plan.plan-two:hover,
|
2939 |
input.gs-button.pricing-plan.plan-two:hover,
|
2940 |
button.gs-button.pricing-plan.plan-two:hover {
|
2941 |
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 0 0 3px #
|
2942 |
}
|
2943 |
a.gs-button.pricing-plan.plan-three:hover,
|
2944 |
input.gs-button.pricing-plan.plan-three:hover,
|
2945 |
button.gs-button.pricing-plan.plan-three:hover {
|
2946 |
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 0 0 3px #
|
2947 |
}
|
2948 |
a.gs-button.pricing-plan.plan-four:hover,
|
2949 |
input.gs-button.pricing-plan.plan-four:hover,
|
2950 |
button.gs-button.pricing-plan.plan-four:hover {
|
2951 |
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 0 0 3px #
|
2952 |
}
|
2953 |
a.gs-button.gs-primary:not(.trans):hover,
|
2954 |
input.gs-button.gs-primary:not(.trans):hover,
|
@@ -4039,7 +4076,7 @@ footer #backToTop:hover span {
|
|
4039 |
box-shadow: none;
|
4040 |
}
|
4041 |
.app-grid .app-link-wrapper .app-badge.plan-one {
|
4042 |
-
background: #
|
4043 |
}
|
4044 |
.app-grid .app-link-wrapper .app-badge.plan-two {
|
4045 |
background: #f29809;
|
@@ -4311,6 +4348,7 @@ footer #backToTop:hover span {
|
|
4311 |
}
|
4312 |
.app-grid .app-link-wrapper:hover .app-link .app-link-info p:not(.app-title) {
|
4313 |
opacity: 1;
|
|
|
4314 |
}
|
4315 |
.app-grid .app-link-wrapper:hover .app-link .app-badge.nocode {
|
4316 |
color: #fff;
|
@@ -4465,13 +4503,13 @@ h1.app-grid-titles.filter-on i {
|
|
4465 |
bottom: 1px;
|
4466 |
}
|
4467 |
h1.app-grid-titles.filter-on span.filter-two {
|
4468 |
-
color: #
|
4469 |
}
|
4470 |
h1.app-grid-titles.filter-on span.filter-two > div {
|
4471 |
-
background: #
|
4472 |
}
|
4473 |
h1.app-grid-titles.filter-on span.filter-two > div:before {
|
4474 |
-
border-color: transparent transparent #
|
4475 |
}
|
4476 |
h1.app-grid-titles.filter-on span.filter-nocode {
|
4477 |
color: #8db13d;
|
@@ -4637,8 +4675,14 @@ div.form textarea.code {
|
|
4637 |
.gs-tooltip {
|
4638 |
position: relative;
|
4639 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
4640 |
.gs-tooltip.plan-two > div {
|
4641 |
-
background: #
|
4642 |
}
|
4643 |
.gs-tooltip.plan-two > div:before {
|
4644 |
border-color: transparent transparent #d98908 transparent;
|
@@ -5359,12 +5403,12 @@ input[type=radio][name=gs-place]:checked:before, input[type=radio][name=gs-place
|
|
5359 |
background-color: #02b6b3;
|
5360 |
}
|
5361 |
|
5362 |
-
.alert-block.center.large
|
5363 |
width: 100%;
|
5364 |
text-align: center;
|
5365 |
}
|
5366 |
|
5367 |
-
.alert-block.center.large
|
5368 |
width: 140px;
|
5369 |
left: auto;
|
5370 |
right: -140px;
|
468 |
bottom: -1px;
|
469 |
}
|
470 |
header #main-nav nav > ul > li a.plan-one {
|
471 |
+
background: #00bba4;
|
472 |
}
|
473 |
header #main-nav nav > ul > li a.plan-one:hover,
|
474 |
header #main-nav nav > ul > li a.plan-one:focus {
|
475 |
+
background: #00a18e;
|
476 |
}
|
477 |
+
header #main-nav nav > ul > li a.plan-one:active,
|
478 |
+
header #main-nav nav > ul > li a.plan-one:focus {
|
479 |
+
background: #008877;
|
480 |
}
|
481 |
header #main-nav nav > ul > li a.plan-two {
|
482 |
background: #f29809;
|
632 |
border-radius: 4px;
|
633 |
}
|
634 |
header #main-nav nav > ul > li.submenu-link .submenu a[class*="badge-"].badge-plan-one > span {
|
635 |
+
background: #00bba4;
|
636 |
}
|
637 |
header #main-nav nav > ul > li.submenu-link .submenu a[class*="badge-"].badge-plan-two > span {
|
638 |
+
background: #5777d1;
|
639 |
}
|
640 |
header #main-nav nav > ul > li.submenu-link .submenu a[class*="badge-"].badge-plan-three > span {
|
641 |
+
background: #2c4aa1;
|
642 |
}
|
643 |
header #main-nav nav > ul > li.submenu-link .submenu a[class*="badge-"].badge-plan-four > span {
|
644 |
+
background: #8600f1;
|
645 |
+
}
|
646 |
+
header #main-nav nav > ul > li.submenu-link .submenu a[class*="badge-"].badge-plan-five > span {
|
647 |
+
background: #f5a623;
|
648 |
}
|
649 |
header #main-nav nav > ul > li#cta-nav + #user-nav {
|
650 |
margin-right: 0;
|
1316 |
color: #fff;
|
1317 |
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.13);
|
1318 |
}
|
1319 |
+
.alert-block.plan-one {
|
1320 |
+
background: #00bba4;
|
1321 |
+
}
|
1322 |
+
.alert-block.plan-one .alert-info:before {
|
1323 |
+
content: "Tools";
|
1324 |
+
}
|
1325 |
+
.alert-block.plan-one .alert-info a {
|
1326 |
+
background: #00a18e;
|
1327 |
+
}
|
1328 |
+
.alert-block.plan-one .alert-info a:hover {
|
1329 |
+
background: #008877;
|
1330 |
+
}
|
1331 |
.alert-block.plan-two {
|
1332 |
+
background: #5777d1;
|
1333 |
}
|
1334 |
.alert-block.plan-two .alert-info:before {
|
1335 |
+
content: "Start";
|
1336 |
}
|
1337 |
.alert-block.plan-two .alert-info a {
|
1338 |
+
background: #4367cb;
|
1339 |
}
|
1340 |
.alert-block.plan-two .alert-info a:hover {
|
1341 |
+
background: #3559c0;
|
1342 |
}
|
1343 |
.alert-block.plan-three {
|
1344 |
+
background: #2c4aa1;
|
1345 |
}
|
1346 |
.alert-block.plan-three .alert-info:before {
|
1347 |
content: "Growth";
|
1348 |
}
|
1349 |
.alert-block.plan-three .alert-info a {
|
1350 |
+
background: #27418d;
|
1351 |
}
|
1352 |
.alert-block.plan-three .alert-info a:hover {
|
1353 |
+
background: #213879;
|
1354 |
}
|
1355 |
.alert-block.plan-four {
|
1356 |
+
background: #8600f1;
|
1357 |
}
|
1358 |
.alert-block.plan-four .alert-info:before {
|
1359 |
+
content: "Expand";
|
1360 |
}
|
1361 |
.alert-block.plan-four .alert-info a {
|
1362 |
+
background: #7800d7;
|
1363 |
}
|
1364 |
.alert-block.plan-four .alert-info a:hover {
|
1365 |
+
background: #6a00be;
|
1366 |
+
}
|
1367 |
+
.alert-block.plan-five {
|
1368 |
+
background: #f5a623;
|
1369 |
+
}
|
1370 |
+
.alert-block.plan-five .alert-info:before {
|
1371 |
+
content: "Enterprise";
|
1372 |
+
}
|
1373 |
+
.alert-block.plan-five .alert-info a {
|
1374 |
+
background: #f39c0b;
|
1375 |
+
}
|
1376 |
+
.alert-block.plan-five .alert-info a:hover {
|
1377 |
+
background: #db8c0a;
|
1378 |
}
|
1379 |
.alert-block .close {
|
1380 |
width: 33px;
|
2772 |
color: #aaa;
|
2773 |
background: #eee;
|
2774 |
}
|
2775 |
+
.gs-button:not(.pricing-plan).plan-one:not(.trans) {
|
2776 |
+
background: #00bba4;
|
2777 |
}
|
2778 |
+
.gs-button:not(.pricing-plan).plan-one:not(.trans):hover {
|
2779 |
+
background: #008877;
|
2780 |
+
}
|
2781 |
+
.gs-button:not(.pricing-plan).plan-one.trans {
|
2782 |
+
color: #00bba4;
|
2783 |
+
}
|
2784 |
+
.gs-button:not(.pricing-plan).plan-one:not(.trans) {
|
2785 |
+
background: #00bba4;
|
2786 |
+
}
|
2787 |
+
.gs-button:not(.pricing-plan).plan-one:not(.trans):hover {
|
2788 |
+
background: #008877;
|
2789 |
}
|
2790 |
.gs-button:not(.pricing-plan).plan-two.trans {
|
2791 |
color: #f29809;
|
2970 |
a.gs-button.pricing-plan.plan-one:hover,
|
2971 |
input.gs-button.pricing-plan.plan-one:hover,
|
2972 |
button.gs-button.pricing-plan.plan-one:hover {
|
2973 |
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 0 0 3px #00bba4;
|
2974 |
}
|
2975 |
a.gs-button.pricing-plan.plan-two:hover,
|
2976 |
input.gs-button.pricing-plan.plan-two:hover,
|
2977 |
button.gs-button.pricing-plan.plan-two:hover {
|
2978 |
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 0 0 3px #5777d1;
|
2979 |
}
|
2980 |
a.gs-button.pricing-plan.plan-three:hover,
|
2981 |
input.gs-button.pricing-plan.plan-three:hover,
|
2982 |
button.gs-button.pricing-plan.plan-three:hover {
|
2983 |
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 0 0 3px #2c4aa1;
|
2984 |
}
|
2985 |
a.gs-button.pricing-plan.plan-four:hover,
|
2986 |
input.gs-button.pricing-plan.plan-four:hover,
|
2987 |
button.gs-button.pricing-plan.plan-four:hover {
|
2988 |
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 0 0 3px #8600f1;
|
2989 |
}
|
2990 |
a.gs-button.gs-primary:not(.trans):hover,
|
2991 |
input.gs-button.gs-primary:not(.trans):hover,
|
4076 |
box-shadow: none;
|
4077 |
}
|
4078 |
.app-grid .app-link-wrapper .app-badge.plan-one {
|
4079 |
+
background: #00bba4;
|
4080 |
}
|
4081 |
.app-grid .app-link-wrapper .app-badge.plan-two {
|
4082 |
background: #f29809;
|
4348 |
}
|
4349 |
.app-grid .app-link-wrapper:hover .app-link .app-link-info p:not(.app-title) {
|
4350 |
opacity: 1;
|
4351 |
+
font-weight: 500;
|
4352 |
}
|
4353 |
.app-grid .app-link-wrapper:hover .app-link .app-badge.nocode {
|
4354 |
color: #fff;
|
4503 |
bottom: 1px;
|
4504 |
}
|
4505 |
h1.app-grid-titles.filter-on span.filter-two {
|
4506 |
+
color: #00bba4;
|
4507 |
}
|
4508 |
h1.app-grid-titles.filter-on span.filter-two > div {
|
4509 |
+
background: #00bba4;
|
4510 |
}
|
4511 |
h1.app-grid-titles.filter-on span.filter-two > div:before {
|
4512 |
+
border-color: transparent transparent #00bba4 transparent;
|
4513 |
}
|
4514 |
h1.app-grid-titles.filter-on span.filter-nocode {
|
4515 |
color: #8db13d;
|
4675 |
.gs-tooltip {
|
4676 |
position: relative;
|
4677 |
}
|
4678 |
+
.gs-tooltip.plan-one > div {
|
4679 |
+
background: #00bba4;
|
4680 |
+
}
|
4681 |
+
.gs-tooltip.plan-one > div:before {
|
4682 |
+
border-color: transparent transparent #00bba4 transparent;
|
4683 |
+
}
|
4684 |
.gs-tooltip.plan-two > div {
|
4685 |
+
background: #00bba4;
|
4686 |
}
|
4687 |
.gs-tooltip.plan-two > div:before {
|
4688 |
border-color: transparent transparent #d98908 transparent;
|
5403 |
background-color: #02b6b3;
|
5404 |
}
|
5405 |
|
5406 |
+
.alert-block.center.large > .alert-info {
|
5407 |
width: 100%;
|
5408 |
text-align: center;
|
5409 |
}
|
5410 |
|
5411 |
+
.alert-block.center.large > .alert-info > a {
|
5412 |
width: 140px;
|
5413 |
left: auto;
|
5414 |
right: -140px;
|
init.php
CHANGED
@@ -171,7 +171,7 @@ if (get_option('gs-popup-showed') != "showed") {
|
|
171 |
</div>
|
172 |
</div>
|
173 |
<div class="form-button-group">
|
174 |
-
<a href="<?php echo $GS->gs_account() ?>/sites/gs-wordpress/billing/select_tier?api_key=<?php echo $GS->api_key ?>&source=wordpress<?php echo $GS->utms('pro_header') ?>" target="_blank" class="gs-button gs-success plan-
|
175 |
Upgrade to Tools
|
176 |
</a>
|
177 |
<a href="javascript:void(0)" class="gs-button gs-error trans modal-close">Cancel</a>
|
@@ -197,7 +197,7 @@ if (get_option('gs-popup-showed') != "showed") {
|
|
197 |
</div>
|
198 |
</div>
|
199 |
<div class="form-button-group">
|
200 |
-
<a href="<?php echo $GS->gs_account() ?>/sites/gs-wordpress/billing/select_tier?api_key=<?php echo $GS->api_key ?>&source=wordpress<?php echo $GS->utms('pro_header') ?>" target="_blank" class="gs-button gs-success plan-
|
201 |
Upgrade to Tools
|
202 |
</a>
|
203 |
<a href="javascript:void(0)" class="gs-button gs-error trans modal-close">Cancel</a>
|
@@ -222,7 +222,7 @@ if (get_option('gs-popup-showed') != "showed") {
|
|
222 |
</div>
|
223 |
</div>
|
224 |
<div class="form-button-group">
|
225 |
-
<a href="<?php echo $GS->gs_account() ?>/sites/gs-wordpress/billing/select_tier?api_key=<?php echo $GS->api_key ?>&source=wordpress<?php echo $GS->utms('pro_header') ?>" target="_blank" class="gs-button gs-success plan-
|
226 |
Upgrade to Tools
|
227 |
</a>
|
228 |
<a href="javascript:void(0)" class="gs-button gs-error trans modal-close">Cancel</a>
|
171 |
</div>
|
172 |
</div>
|
173 |
<div class="form-button-group">
|
174 |
+
<a href="<?php echo $GS->gs_account() ?>/sites/gs-wordpress/billing/select_tier?api_key=<?php echo $GS->api_key ?>&source=wordpress<?php echo $GS->utms('pro_header') ?>" target="_blank" class="gs-button gs-success plan-one">
|
175 |
Upgrade to Tools
|
176 |
</a>
|
177 |
<a href="javascript:void(0)" class="gs-button gs-error trans modal-close">Cancel</a>
|
197 |
</div>
|
198 |
</div>
|
199 |
<div class="form-button-group">
|
200 |
+
<a href="<?php echo $GS->gs_account() ?>/sites/gs-wordpress/billing/select_tier?api_key=<?php echo $GS->api_key ?>&source=wordpress<?php echo $GS->utms('pro_header') ?>" target="_blank" class="gs-button gs-success plan-one">
|
201 |
Upgrade to Tools
|
202 |
</a>
|
203 |
<a href="javascript:void(0)" class="gs-button gs-error trans modal-close">Cancel</a>
|
222 |
</div>
|
223 |
</div>
|
224 |
<div class="form-button-group">
|
225 |
+
<a href="<?php echo $GS->gs_account() ?>/sites/gs-wordpress/billing/select_tier?api_key=<?php echo $GS->api_key ?>&source=wordpress<?php echo $GS->utms('pro_header') ?>" target="_blank" class="gs-button gs-success plan-one">
|
226 |
Upgrade to Tools
|
227 |
</a>
|
228 |
<a href="javascript:void(0)" class="gs-button gs-error trans modal-close">Cancel</a>
|
lib/gs.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
class GS {
|
4 |
|
5 |
-
public $plugin_version = "4.2.
|
6 |
private $gs_account = "https://getsocial.io";
|
7 |
private $gs_url_api = "https://api.at.getsocial.io";
|
8 |
public $api_url = "https://getsocial.io/api/v1/";
|
2 |
|
3 |
class GS {
|
4 |
|
5 |
+
public $plugin_version = "4.2.3";
|
6 |
private $gs_account = "https://getsocial.io";
|
7 |
private $gs_url_api = "https://api.at.getsocial.io";
|
8 |
public $api_url = "https://getsocial.io/api/v1/";
|
readme.txt
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
=== Wordpress Social Share Buttons & Analytics Plugin – GetSocial.io ===
|
2 |
Plugin Name: Wordpress Social Share Buttons & Analytics Plugin
|
3 |
-
Version: 4.2.
|
4 |
Author: GetSocial.io
|
5 |
Author URI: https://getsocial.io/
|
6 |
Contributors: sharebuttons, socialsharing, socialshare, socialbuttons, socialtools, socialanalytics, GetSocial.io, joaoromao
|
7 |
Tags: share buttons, social sharing, social analytics, share, social media
|
8 |
Requires at least: 3.0
|
9 |
-
Tested up to: 5.2
|
10 |
-
Stable tag: 4.2.
|
11 |
Requires PHP: 5.2.4
|
12 |
License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
13 |
|
@@ -244,6 +244,9 @@ GetSocial services or applications subscriptions, advertising or any other kind
|
|
244 |
9. Analytics for your Social Bars
|
245 |
|
246 |
== Changelog ==
|
|
|
|
|
|
|
247 |
**4.2.2**
|
248 |
- Add SSL to all API calls
|
249 |
|
1 |
=== Wordpress Social Share Buttons & Analytics Plugin – GetSocial.io ===
|
2 |
Plugin Name: Wordpress Social Share Buttons & Analytics Plugin
|
3 |
+
Version: 4.2.3
|
4 |
Author: GetSocial.io
|
5 |
Author URI: https://getsocial.io/
|
6 |
Contributors: sharebuttons, socialsharing, socialshare, socialbuttons, socialtools, socialanalytics, GetSocial.io, joaoromao
|
7 |
Tags: share buttons, social sharing, social analytics, share, social media
|
8 |
Requires at least: 3.0
|
9 |
+
Tested up to: 5.2.1
|
10 |
+
Stable tag: 4.2.3
|
11 |
Requires PHP: 5.2.4
|
12 |
License: GPL v2 - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
13 |
|
244 |
9. Analytics for your Social Bars
|
245 |
|
246 |
== Changelog ==
|
247 |
+
**4.2.3**
|
248 |
+
- Update code to fit new GetSocial pricing plans
|
249 |
+
|
250 |
**4.2.2**
|
251 |
- Add SSL to all API calls
|
252 |
|
tmpl/alerts.php
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
<?php endif; ?>
|
14 |
|
15 |
<?php if (!$GS->is_pro() && get_option('gs-alert-msg')): ?>
|
16 |
-
<div class="alert-block center large plan-
|
17 |
<div class="alert-info">
|
18 |
<p class="alert-title"><?php echo get_option('gs-alert-msg') ?></p>
|
19 |
<a href="<?php echo $GS->gs_account() ?>/sites/gs-wordpress/billing/select_tier?api_key=<?php echo $GS->api_key ?>&source=wordpress<?php echo get_option('gs-alert-utm') ?>" target="_blank" class="gs-button"><?php echo get_option('gs-alert-cta') ?></a>
|
13 |
<?php endif; ?>
|
14 |
|
15 |
<?php if (!$GS->is_pro() && get_option('gs-alert-msg')): ?>
|
16 |
+
<div class="alert-block center large plan-one">
|
17 |
<div class="alert-info">
|
18 |
<p class="alert-title"><?php echo get_option('gs-alert-msg') ?></p>
|
19 |
<a href="<?php echo $GS->gs_account() ?>/sites/gs-wordpress/billing/select_tier?api_key=<?php echo $GS->api_key ?>&source=wordpress<?php echo get_option('gs-alert-utm') ?>" target="_blank" class="gs-button"><?php echo get_option('gs-alert-cta') ?></a>
|
tmpl/apps.php
CHANGED
@@ -34,7 +34,7 @@
|
|
34 |
<?php if ($settings['new']) { ?>
|
35 |
<div class="app-badge new">New</div>
|
36 |
<?php } ?>
|
37 |
-
<?php if ($plan_is_free && $settings['plan'] != '
|
38 |
<div class="app-badge plan-<?php echo $settings['plan']; ?>">
|
39 |
<?php echo plan_name($settings['plan']); ?>
|
40 |
</div>
|
34 |
<?php if ($settings['new']) { ?>
|
35 |
<div class="app-badge new">New</div>
|
36 |
<?php } ?>
|
37 |
+
<?php if ($plan_is_free && $settings['plan'] != 'zero') { ?>
|
38 |
<div class="app-badge plan-<?php echo $settings['plan']; ?>">
|
39 |
<?php echo plan_name($settings['plan']); ?>
|
40 |
</div>
|
tmpl/apps_config.php
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
$plan_is_free = get_option('gs-pro') ? false : true;
|
4 |
|
5 |
$plans = array(
|
6 |
-
'Free Plan' => '
|
7 |
-
'Tools Plan' => '
|
8 |
);
|
9 |
$categories = array(
|
10 |
'Sharing Apps' => 'sharing',
|
@@ -17,7 +17,7 @@
|
|
17 |
'file' => 'floating-bar',
|
18 |
'category' => 'sharing',
|
19 |
'new' => false,
|
20 |
-
'plan' => '
|
21 |
'active' => $GS->is_active('floating_bar') || $GS->is_active('floating_bar_big_counter'),
|
22 |
'only_activate' => false,
|
23 |
'href' => $GS->gs_account() . '/sites/gs-wordpress/floating_bar/new?api_key=' . $GS->api_key . '&source=wordpress' . $GS->utms('floating-bar'),
|
@@ -27,7 +27,7 @@
|
|
27 |
'file' => 'sharing-bar',
|
28 |
'category' => 'sharing',
|
29 |
'new' => false,
|
30 |
-
'plan' => '
|
31 |
'active' => $GS->is_active('sharing_bar') || $GS->is_active('social_bar_big_counter'),
|
32 |
'only_activate' => false,
|
33 |
'href' => $GS->gs_account() . '/sites/gs-wordpress/groups/new?api_key=' . $GS->api_key . '&source=wordpress' . $GS->utms('sharing-bar'),
|
@@ -37,7 +37,7 @@
|
|
37 |
'file' => 'mobile-bar',
|
38 |
'category' => 'sharing',
|
39 |
'new' => false,
|
40 |
-
'plan' => '
|
41 |
'active' => $GS->is_active('mobile_bar'),
|
42 |
'only_activate' => false,
|
43 |
'href' => $GS->gs_account() . '/sites/gs-wordpress/mobile_bar/new?api_key=' . $GS->api_key . '&source=wordpress' . $GS->utms('mobile-bar'),
|
@@ -47,7 +47,7 @@
|
|
47 |
'file' => 'image-sharing',
|
48 |
'category' => 'sharing',
|
49 |
'new' => false,
|
50 |
-
'plan' => '
|
51 |
'active' => $GS->is_active('image_sharing'),
|
52 |
'only_activate' => false,
|
53 |
'href' => $GS->gs_account() . '/sites/gs-wordpress/image_sharing/new?api_key=' . $GS->api_key . '&source=wordpress' . $GS->utms('hello_buddies'),
|
@@ -57,7 +57,7 @@
|
|
57 |
'file' => 'reaction_buttons',
|
58 |
'category' => 'sharing',
|
59 |
'new' => false,
|
60 |
-
'plan' => '
|
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 . '&source=wordpress' . $GS->utms('image-sharing'),
|
@@ -67,7 +67,7 @@
|
|
67 |
'file' => 'hello_buddy',
|
68 |
'category' => 'tracking',
|
69 |
'new' => false,
|
70 |
-
'plan' => '
|
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 . '&source=wordpress' . $GS->utms('image-sharing'),
|
@@ -77,7 +77,7 @@
|
|
77 |
'file' => 'address-tracker',
|
78 |
'category' => 'tracking',
|
79 |
'new' => false,
|
80 |
-
'plan' => '
|
81 |
'active' => $GS->is_active('address_tracking'),
|
82 |
'only_activate' => true,
|
83 |
'href' => $GS->api_url('sites/activate/' . get_option('gs-api-key') . '/address-tracker'),
|
@@ -87,7 +87,7 @@
|
|
87 |
'file' => 'native-bar',
|
88 |
'category' => 'sharing',
|
89 |
'new' => false,
|
90 |
-
'plan' => '
|
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 . '&source=wordpress' . $GS->utms('native-bar'),
|
@@ -97,7 +97,7 @@
|
|
97 |
'file' => 'follow-bar',
|
98 |
'category' => 'follow',
|
99 |
'new' => false,
|
100 |
-
'plan' => '
|
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 . '&source=wordpress' . $GS->utms('follow-bar'),
|
@@ -107,7 +107,7 @@
|
|
107 |
'file' => 'floating-follow-bar',
|
108 |
'category' => 'one',
|
109 |
'new' => false,
|
110 |
-
'plan' => '
|
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 . '&source=wordpress' . $GS->utms('floating-follow-bar'),
|
@@ -117,7 +117,7 @@
|
|
117 |
'file' => 'mobile-follow-bar',
|
118 |
'category' => 'follow',
|
119 |
'new' => false,
|
120 |
-
'plan' => '
|
121 |
'active' => $GS->is_active('mobile_follow_bar'),
|
122 |
'only_activate' => false,
|
123 |
'href' => $GS->gs_account() . '/sites/gs-wordpress/follow_mobile_bar/new?api_key=' . $GS->api_key . '&source=wordpress' . $GS->utms('mobile-follow-bar'),
|
@@ -127,7 +127,7 @@
|
|
127 |
'file' => 'welcome-bar',
|
128 |
'category' => 'tracking',
|
129 |
'new' => false,
|
130 |
-
'plan' => '
|
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 . '&source=wordpress' . $GS->utms('welcome-bar'),
|
@@ -137,7 +137,7 @@
|
|
137 |
'file' => 'subscriber-bar',
|
138 |
'category' => 'tracking',
|
139 |
'new' => false,
|
140 |
-
'plan' => '
|
141 |
'active' => $GS->is_active('subscriber_bar'),
|
142 |
'only_activate' => false,
|
143 |
'href' => $GS->gs_account() . '/sites/gs-wordpress/subscribe_bars/new?api_key=' . $GS->api_key . '&source=wordpress' . $GS->utms('subscriber-bar'),
|
@@ -147,7 +147,7 @@
|
|
147 |
'file' => 'ga_integration',
|
148 |
'category' => 'integrations',
|
149 |
'new' => false,
|
150 |
-
'plan' => '
|
151 |
'active' => $GS->is_active('ga_integration'),
|
152 |
'only_activate' => true,
|
153 |
'href' => $GS->api_url('sites/activate/' . get_option('gs-api-key') . '/ga_integration'),
|
@@ -157,7 +157,7 @@
|
|
157 |
'file' => 'mailchimp',
|
158 |
'category' => 'integrations',
|
159 |
'new' => false,
|
160 |
-
'plan' => '
|
161 |
'active' => $GS->is_active('mailchimp'),
|
162 |
'only_activate' => true,
|
163 |
'href' => $GS->gs_account() . '/auth/mailchimp',
|
3 |
$plan_is_free = get_option('gs-pro') ? false : true;
|
4 |
|
5 |
$plans = array(
|
6 |
+
'Free Plan' => 'zero',
|
7 |
+
'Tools Plan' => 'one'
|
8 |
);
|
9 |
$categories = array(
|
10 |
'Sharing Apps' => 'sharing',
|
17 |
'file' => 'floating-bar',
|
18 |
'category' => 'sharing',
|
19 |
'new' => false,
|
20 |
+
'plan' => 'zero',
|
21 |
'active' => $GS->is_active('floating_bar') || $GS->is_active('floating_bar_big_counter'),
|
22 |
'only_activate' => false,
|
23 |
'href' => $GS->gs_account() . '/sites/gs-wordpress/floating_bar/new?api_key=' . $GS->api_key . '&source=wordpress' . $GS->utms('floating-bar'),
|
27 |
'file' => 'sharing-bar',
|
28 |
'category' => 'sharing',
|
29 |
'new' => false,
|
30 |
+
'plan' => 'zero',
|
31 |
'active' => $GS->is_active('sharing_bar') || $GS->is_active('social_bar_big_counter'),
|
32 |
'only_activate' => false,
|
33 |
'href' => $GS->gs_account() . '/sites/gs-wordpress/groups/new?api_key=' . $GS->api_key . '&source=wordpress' . $GS->utms('sharing-bar'),
|
37 |
'file' => 'mobile-bar',
|
38 |
'category' => 'sharing',
|
39 |
'new' => false,
|
40 |
+
'plan' => 'one',
|
41 |
'active' => $GS->is_active('mobile_bar'),
|
42 |
'only_activate' => false,
|
43 |
'href' => $GS->gs_account() . '/sites/gs-wordpress/mobile_bar/new?api_key=' . $GS->api_key . '&source=wordpress' . $GS->utms('mobile-bar'),
|
47 |
'file' => 'image-sharing',
|
48 |
'category' => 'sharing',
|
49 |
'new' => false,
|
50 |
+
'plan' => 'one',
|
51 |
'active' => $GS->is_active('image_sharing'),
|
52 |
'only_activate' => false,
|
53 |
'href' => $GS->gs_account() . '/sites/gs-wordpress/image_sharing/new?api_key=' . $GS->api_key . '&source=wordpress' . $GS->utms('hello_buddies'),
|
57 |
'file' => 'reaction_buttons',
|
58 |
'category' => 'sharing',
|
59 |
'new' => false,
|
60 |
+
'plan' => 'zero',
|
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 . '&source=wordpress' . $GS->utms('image-sharing'),
|
67 |
'file' => 'hello_buddy',
|
68 |
'category' => 'tracking',
|
69 |
'new' => false,
|
70 |
+
'plan' => 'zero',
|
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 . '&source=wordpress' . $GS->utms('image-sharing'),
|
77 |
'file' => 'address-tracker',
|
78 |
'category' => 'tracking',
|
79 |
'new' => false,
|
80 |
+
'plan' => 'one',
|
81 |
'active' => $GS->is_active('address_tracking'),
|
82 |
'only_activate' => true,
|
83 |
'href' => $GS->api_url('sites/activate/' . get_option('gs-api-key') . '/address-tracker'),
|
87 |
'file' => 'native-bar',
|
88 |
'category' => 'sharing',
|
89 |
'new' => false,
|
90 |
+
'plan' => 'zero',
|
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 . '&source=wordpress' . $GS->utms('native-bar'),
|
97 |
'file' => 'follow-bar',
|
98 |
'category' => 'follow',
|
99 |
'new' => false,
|
100 |
+
'plan' => 'zero',
|
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 . '&source=wordpress' . $GS->utms('follow-bar'),
|
107 |
'file' => 'floating-follow-bar',
|
108 |
'category' => 'one',
|
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 . '&source=wordpress' . $GS->utms('floating-follow-bar'),
|
117 |
'file' => 'mobile-follow-bar',
|
118 |
'category' => 'follow',
|
119 |
'new' => false,
|
120 |
+
'plan' => 'one',
|
121 |
'active' => $GS->is_active('mobile_follow_bar'),
|
122 |
'only_activate' => false,
|
123 |
'href' => $GS->gs_account() . '/sites/gs-wordpress/follow_mobile_bar/new?api_key=' . $GS->api_key . '&source=wordpress' . $GS->utms('mobile-follow-bar'),
|
127 |
'file' => 'welcome-bar',
|
128 |
'category' => 'tracking',
|
129 |
'new' => false,
|
130 |
+
'plan' => 'zero',
|
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 . '&source=wordpress' . $GS->utms('welcome-bar'),
|
137 |
'file' => 'subscriber-bar',
|
138 |
'category' => 'tracking',
|
139 |
'new' => false,
|
140 |
+
'plan' => 'one',
|
141 |
'active' => $GS->is_active('subscriber_bar'),
|
142 |
'only_activate' => false,
|
143 |
'href' => $GS->gs_account() . '/sites/gs-wordpress/subscribe_bars/new?api_key=' . $GS->api_key . '&source=wordpress' . $GS->utms('subscriber-bar'),
|
147 |
'file' => 'ga_integration',
|
148 |
'category' => 'integrations',
|
149 |
'new' => false,
|
150 |
+
'plan' => 'one',
|
151 |
'active' => $GS->is_active('ga_integration'),
|
152 |
'only_activate' => true,
|
153 |
'href' => $GS->api_url('sites/activate/' . get_option('gs-api-key') . '/ga_integration'),
|
157 |
'file' => 'mailchimp',
|
158 |
'category' => 'integrations',
|
159 |
'new' => false,
|
160 |
+
'plan' => 'one',
|
161 |
'active' => $GS->is_active('mailchimp'),
|
162 |
'only_activate' => true,
|
163 |
'href' => $GS->gs_account() . '/auth/mailchimp',
|
tmpl/apps_filters.php
CHANGED
@@ -2,7 +2,7 @@
|
|
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 |
<?php if ($plan_is_free) { ?>
|
5 |
-
<a href="javascript:void(0)" class="gs-button plan-
|
6 |
<?php } ?>
|
7 |
<a href="javascript:void(0)" id="app-filter" class="gs-button gs-primary trans"><i class="fa fa-filter"></i> Category</a>
|
8 |
<div id="app-filter-dropdown">
|
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 |
<?php if ($plan_is_free) { ?>
|
5 |
+
<a href="javascript:void(0)" class="gs-button plan-one trans gs-tooltip" data-filter="two">Tools Plan<div>Apps that are only available in the <strong>Tools Plan</strong></div></a>
|
6 |
<?php } ?>
|
7 |
<a href="javascript:void(0)" id="app-filter" class="gs-button gs-primary trans"><i class="fa fa-filter"></i> Category</a>
|
8 |
<div id="app-filter-dropdown">
|
tmpl/footer.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
<a id="gs-backToTop" href="javascript:void(0)" class="gs-button gs-primary"><i class="fa fa-angle-up"></i> Back to Top</a>
|
4 |
<?php if (!$GS->is_pro()) { ?>
|
5 |
or
|
6 |
-
<a href="<?php echo $GS->gs_account() ?>/sites/gs-wordpress/billing/select_tier?api_key=<?php echo $GS->api_key ?>&source=wordpress" target="_blank" class="gs-button plan-
|
7 |
<?php } ?>
|
8 |
|
9 |
<div class="alert-block plan-free gs-primary alert-info" style="max-width: 600px; padding: 20px 30px; margin: 60px auto 0; border-radius: 4px;">
|
3 |
<a id="gs-backToTop" href="javascript:void(0)" class="gs-button gs-primary"><i class="fa fa-angle-up"></i> Back to Top</a>
|
4 |
<?php if (!$GS->is_pro()) { ?>
|
5 |
or
|
6 |
+
<a href="<?php echo $GS->gs_account() ?>/sites/gs-wordpress/billing/select_tier?api_key=<?php echo $GS->api_key ?>&source=wordpress" target="_blank" class="gs-button plan-one">Upgrade to TOOLS</a>
|
7 |
<?php } ?>
|
8 |
|
9 |
<div class="alert-block plan-free gs-primary alert-info" style="max-width: 600px; padding: 20px 30px; margin: 60px auto 0; border-radius: 4px;">
|
tmpl/header.php
CHANGED
@@ -79,7 +79,7 @@ wp_enqueue_script('gs-plugin');
|
|
79 |
</li>
|
80 |
<?php if (get_option('gs-api-key') != '' && !$GS->is_pro()): ?>
|
81 |
<li id="cta-nav" class="right-link">
|
82 |
-
<a href="<?php echo $GS->gs_account() ?>/sites/gs-wordpress/billing/select_tier?api_key=<?php echo $GS->api_key ?>&source=wordpress<?php echo $GS->utms('pro_header') ?>" target="_blank" class="plan-
|
83 |
Upgrade to TOOLS
|
84 |
</a>
|
85 |
</li>
|
79 |
</li>
|
80 |
<?php if (get_option('gs-api-key') != '' && !$GS->is_pro()): ?>
|
81 |
<li id="cta-nav" class="right-link">
|
82 |
+
<a href="<?php echo $GS->gs_account() ?>/sites/gs-wordpress/billing/select_tier?api_key=<?php echo $GS->api_key ?>&source=wordpress<?php echo $GS->utms('pro_header') ?>" target="_blank" class="plan-one">
|
83 |
Upgrade to TOOLS
|
84 |
</a>
|
85 |
</li>
|
wp-share-buttons-analytics-getsocial.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Social Share Buttons & Analytics by GetSocial.io
|
4 |
* Plugin URI: https://getsocial.io
|
5 |
* Description: Social Share Buttons & Analytics is a free WordPress plugin that enables you to add beautiful share buttons to your page in various formats. Upgrade to get analytics and track all social shares happening on your page. See how much traffic, conversions, and shares each post generated.
|
6 |
-
* Version: 4.2.
|
7 |
* Author: Getsocial, S.A.
|
8 |
* Author URI: http://getsocial.io
|
9 |
* License: GPL2
|
3 |
* Plugin Name: Social Share Buttons & Analytics by GetSocial.io
|
4 |
* Plugin URI: https://getsocial.io
|
5 |
* Description: Social Share Buttons & Analytics is a free WordPress plugin that enables you to add beautiful share buttons to your page in various formats. Upgrade to get analytics and track all social shares happening on your page. See how much traffic, conversions, and shares each post generated.
|
6 |
+
* Version: 4.2.3
|
7 |
* Author: Getsocial, S.A.
|
8 |
* Author URI: http://getsocial.io
|
9 |
* License: GPL2
|