Version Description
- Official support for WooCommerce!
Download this release
Release Info
Developer | shareaholic |
Plugin | WordPress Social Tools, Related Posts, Monetization – Shareaholic |
Version | 7.6.0.0 |
Comparing to | |
See all releases |
Code changes from version 7.5.1.0 to 7.6.0.0
- admin.php +1 -1
- assets/css/main.css +3 -3
- readme.txt +8 -1
- shareaholic.php +3 -3
- templates/terms_of_service_modal.php +2 -0
- utilities.php +1 -1
admin.php
CHANGED
@@ -61,7 +61,7 @@ class ShareaholicAdmin {
|
|
61 |
* Adds meta boxes for post and page options
|
62 |
*/
|
63 |
public static function add_meta_boxes() {
|
64 |
-
$screens = array( 'post', 'page' );
|
65 |
foreach ($screens as $screen) {
|
66 |
add_meta_box(
|
67 |
'shareaholic',
|
61 |
* Adds meta boxes for post and page options
|
62 |
*/
|
63 |
public static function add_meta_boxes() {
|
64 |
+
$screens = array( 'post', 'page', 'product' );
|
65 |
foreach ($screens as $screen) {
|
66 |
add_meta_box(
|
67 |
'shareaholic',
|
assets/css/main.css
CHANGED
@@ -183,7 +183,7 @@ s,m,l,n = small(5px),medium(10px),large(20px),none(0px)
|
|
183 |
.prn,.phn,.pan{padding-right:0px !important}
|
184 |
.prs,.phs,.pas{padding-right:5px !important}
|
185 |
.prm,.phm,.pam{padding-right:10px !important}
|
186 |
-
.prl,.phl,.pal{padding-right:
|
187 |
.pbn,.pvn,.pan{padding-bottom:0px !important}
|
188 |
.pbs,.pvs,.pas{padding-bottom:5px !important}
|
189 |
.pbm,.pvm,.pam{padding-bottom:10px !important}
|
@@ -191,7 +191,7 @@ s,m,l,n = small(5px),medium(10px),large(20px),none(0px)
|
|
191 |
.pln,.phn,.pan{padding-left:0px !important}
|
192 |
.pls,.phs,.pas{padding-left:5px !important}
|
193 |
.plm,.phm,.pam{padding-left:10px !important}
|
194 |
-
.pll,.phl,.pal{padding-left:
|
195 |
.mtn,.mvn,.man{margin-top:0px !important}
|
196 |
.mts,.mvs,.mas{margin-top:5px !important}
|
197 |
.mtm,.mvm,.mam{margin-top:10px !important}
|
@@ -232,7 +232,7 @@ s,m,l,n = small(5px),medium(10px),large(20px),none(0px)
|
|
232 |
line-height: 16pt;
|
233 |
box-shadow: 0px 0px 52px rgba(0,0,0,0.32);
|
234 |
padding: 0;
|
235 |
-
height:
|
236 |
}
|
237 |
|
238 |
.api-key-modal{
|
183 |
.prn,.phn,.pan{padding-right:0px !important}
|
184 |
.prs,.phs,.pas{padding-right:5px !important}
|
185 |
.prm,.phm,.pam{padding-right:10px !important}
|
186 |
+
.prl,.phl,.pal{padding-right:10px !important}
|
187 |
.pbn,.pvn,.pan{padding-bottom:0px !important}
|
188 |
.pbs,.pvs,.pas{padding-bottom:5px !important}
|
189 |
.pbm,.pvm,.pam{padding-bottom:10px !important}
|
191 |
.pln,.phn,.pan{padding-left:0px !important}
|
192 |
.pls,.phs,.pas{padding-left:5px !important}
|
193 |
.plm,.phm,.pam{padding-left:10px !important}
|
194 |
+
.pll,.phl,.pal{padding-left:10px !important}
|
195 |
.mtn,.mvn,.man{margin-top:0px !important}
|
196 |
.mts,.mvs,.mas{margin-top:5px !important}
|
197 |
.mtm,.mvm,.mam{margin-top:10px !important}
|
232 |
line-height: 16pt;
|
233 |
box-shadow: 0px 0px 52px rgba(0,0,0,0.32);
|
234 |
padding: 0;
|
235 |
+
height: 510px;
|
236 |
}
|
237 |
|
238 |
.api-key-modal{
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: shareaholic
|
|
3 |
Tags: sexybookmarks, shareaholic, shareholic, facebook, twitter, linkedin, URL Shortener, bitly, tinyurl, Goo.gl, Google+1, Google Analytics, Google Plus, Google, Instapaper, Wish List, Digg, Gmail, Google Bookmarks, Translate, Tumblr, AIM, Yahoo Messenger, Delicious, StumbleUpon, mister wong, evernote, add this, addtoany, share this, sharethis, share and follow, share and enjoy, sharing is sexy, sharing is caring, yahoo, reddit, hackernews, tweet button, twitter button, fark, buffer, myspace, orkut, netlog, hubspot, weheartit, printfriendly, yammer, wanelo, pinterest, google translate, bookmarks, social, email button, social share, socialize, sociable, sharebar, bookmark button, share button, social bookmarking, bookmarks menu, bookmarking, share, seo, analytics, stats, sharing, facebook like, facebook recommend, WPMU, mutisite, sumome, shortcode, yaarp, yarpp, nrelate, outbrain, linkwithin, related content, related posts, related, popular posts, popular, thumbnails, recommendations
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 4.0
|
6 |
-
Stable tag: 7.
|
7 |
|
8 |
Adds an attractive social bookmarking menu and related content widget to your posts, pages, index, or any combination of the three.
|
9 |
|
@@ -159,6 +159,9 @@ Please see here: [Usage & Installation Instructions](http://support.shareaholic.
|
|
159 |
|
160 |
== Changelog ==
|
161 |
|
|
|
|
|
|
|
162 |
= 7.5.1.0 =
|
163 |
* Tweak: Added Cache-Control headers to Related Content and Share Count API's (3 minutes)
|
164 |
* New: Affiliate Linking App - Now you can earn money from your existing product links with zero additional effort. ([learn more](https://blog.shareaholic.com/introducing-shareaholic-affiliate-links/))
|
@@ -1137,6 +1140,10 @@ Please see here: [Usage & Installation Instructions](http://support.shareaholic.
|
|
1137 |
|
1138 |
== Upgrade Notice ==
|
1139 |
|
|
|
|
|
|
|
|
|
1140 |
= 7.5.1.0 =
|
1141 |
|
1142 |
Caching improvements, new affiliate linking app, post share window and localization updates!
|
3 |
Tags: sexybookmarks, shareaholic, shareholic, facebook, twitter, linkedin, URL Shortener, bitly, tinyurl, Goo.gl, Google+1, Google Analytics, Google Plus, Google, Instapaper, Wish List, Digg, Gmail, Google Bookmarks, Translate, Tumblr, AIM, Yahoo Messenger, Delicious, StumbleUpon, mister wong, evernote, add this, addtoany, share this, sharethis, share and follow, share and enjoy, sharing is sexy, sharing is caring, yahoo, reddit, hackernews, tweet button, twitter button, fark, buffer, myspace, orkut, netlog, hubspot, weheartit, printfriendly, yammer, wanelo, pinterest, google translate, bookmarks, social, email button, social share, socialize, sociable, sharebar, bookmark button, share button, social bookmarking, bookmarks menu, bookmarking, share, seo, analytics, stats, sharing, facebook like, facebook recommend, WPMU, mutisite, sumome, shortcode, yaarp, yarpp, nrelate, outbrain, linkwithin, related content, related posts, related, popular posts, popular, thumbnails, recommendations
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 4.0
|
6 |
+
Stable tag: 7.6.0.0
|
7 |
|
8 |
Adds an attractive social bookmarking menu and related content widget to your posts, pages, index, or any combination of the three.
|
9 |
|
159 |
|
160 |
== Changelog ==
|
161 |
|
162 |
+
= 7.6.0.0 =
|
163 |
+
* Official support for WooCommerce!
|
164 |
+
|
165 |
= 7.5.1.0 =
|
166 |
* Tweak: Added Cache-Control headers to Related Content and Share Count API's (3 minutes)
|
167 |
* New: Affiliate Linking App - Now you can earn money from your existing product links with zero additional effort. ([learn more](https://blog.shareaholic.com/introducing-shareaholic-affiliate-links/))
|
1140 |
|
1141 |
== Upgrade Notice ==
|
1142 |
|
1143 |
+
= 7.6.0.0 =
|
1144 |
+
|
1145 |
+
Official support for WooCommerce!
|
1146 |
+
|
1147 |
= 7.5.1.0 =
|
1148 |
|
1149 |
Caching improvements, new affiliate linking app, post share window and localization updates!
|
shareaholic.php
CHANGED
@@ -3,14 +3,14 @@
|
|
3 |
* The main file!
|
4 |
*
|
5 |
* @package shareaholic
|
6 |
-
* @version 7.
|
7 |
*/
|
8 |
|
9 |
/*
|
10 |
Plugin Name: Shareaholic | share buttons, analytics, related content
|
11 |
Plugin URI: https://shareaholic.com/publishers/
|
12 |
Description: Whether you want to get people sharing, grow your fans, make money, or know who's reading your content, Shareaholic will help you get it done. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for more settings.
|
13 |
-
Version: 7.
|
14 |
Author: Shareaholic
|
15 |
Author URI: https://shareaholic.com
|
16 |
Text Domain: shareaholic
|
@@ -63,7 +63,7 @@ if (!class_exists('Shareaholic')) {
|
|
63 |
const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
|
64 |
const REC_API_URL = 'http://recommendations.shareaholic.com';
|
65 |
|
66 |
-
const VERSION = '7.
|
67 |
|
68 |
/**
|
69 |
* Starts off as false so that ::get_instance() returns
|
3 |
* The main file!
|
4 |
*
|
5 |
* @package shareaholic
|
6 |
+
* @version 7.6.0.0
|
7 |
*/
|
8 |
|
9 |
/*
|
10 |
Plugin Name: Shareaholic | share buttons, analytics, related content
|
11 |
Plugin URI: https://shareaholic.com/publishers/
|
12 |
Description: Whether you want to get people sharing, grow your fans, make money, or know who's reading your content, Shareaholic will help you get it done. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for more settings.
|
13 |
+
Version: 7.6.0.0
|
14 |
Author: Shareaholic
|
15 |
Author URI: https://shareaholic.com
|
16 |
Text Domain: shareaholic
|
63 |
const CM_API_URL = 'https://cm-web.shareaholic.com'; // uses static IPs for firewall whitelisting
|
64 |
const REC_API_URL = 'http://recommendations.shareaholic.com';
|
65 |
|
66 |
+
const VERSION = '7.6.0.0';
|
67 |
|
68 |
/**
|
69 |
* Starts off as false so that ::get_instance() returns
|
templates/terms_of_service_modal.php
CHANGED
@@ -20,6 +20,8 @@
|
|
20 |
<a id='get_started' class="btn_main"><?php echo sprintf(__('Get Started »', 'shareaholic')); ?></a>
|
21 |
<p><small><?php echo sprintf(__('By clicking "Get Started" you agree to Shareholic\'s %sTerms of Service%s and %sPrivacy Policy%s.', 'shareaholic'), '<a href="https://shareaholic.com/terms/?src=wp_admin" target="_new">', '</a>', '<a href="https://shareaholic.com/privacy/?src=wp_admin" target="_new">', '</a>'); ?></small>
|
22 |
</p>
|
|
|
|
|
23 |
</div>
|
24 |
</div>
|
25 |
</div>
|
20 |
<a id='get_started' class="btn_main"><?php echo sprintf(__('Get Started »', 'shareaholic')); ?></a>
|
21 |
<p><small><?php echo sprintf(__('By clicking "Get Started" you agree to Shareholic\'s %sTerms of Service%s and %sPrivacy Policy%s.', 'shareaholic'), '<a href="https://shareaholic.com/terms/?src=wp_admin" target="_new">', '</a>', '<a href="https://shareaholic.com/privacy/?src=wp_admin" target="_new">', '</a>'); ?></small>
|
22 |
</p>
|
23 |
+
|
24 |
+
<p><small style="font-size:10px; line-height: 17px; display: block; font-weight:normal;"><?php echo sprintf(__('Note: Shareaholic incorporates trusted 3rd party services like Google Analytics to enhance social analytics and service reliability, and is an integral part of how Shareaholic functions.', 'shareaholic')); ?> <?php echo sprintf(__('However, you can toggle this and any other setting under "Advanced Settings" at any time.', 'shareaholic')); ?></small></p>
|
25 |
</div>
|
26 |
</div>
|
27 |
</div>
|
utilities.php
CHANGED
@@ -351,7 +351,7 @@ class ShareaholicUtilities {
|
|
351 |
return 'page';
|
352 |
} elseif (is_single()) {
|
353 |
return 'post';
|
354 |
-
} elseif (is_category() || is_author() || is_tag() || is_date()) {
|
355 |
return 'category';
|
356 |
}
|
357 |
}
|
351 |
return 'page';
|
352 |
} elseif (is_single()) {
|
353 |
return 'post';
|
354 |
+
} elseif (is_category() || is_author() || is_tag() || is_date() || is_product_category() || is_product_tag()) {
|
355 |
return 'category';
|
356 |
}
|
357 |
}
|