WordPress Social Tools, Related Posts, Monetization – Shareaholic - Version 8.6.1

Version Description

New option to show or hide share buttons, related content, etc on excerpts

Download this release

Release Info

Developer shareaholic
Plugin Icon 128x128 WordPress Social Tools, Related Posts, Monetization – Shareaholic
Version 8.6.1
Comparing to
See all releases

Code changes from version 8.6.0 to 8.6.1

admin.php CHANGED
@@ -400,11 +400,30 @@ JQUERY;
400
  $_POST[$app] = array();
401
  }
402
  }
403
-
 
 
 
 
 
 
 
 
 
 
 
404
  ShareaholicUtilities::update_options(array(
405
  'share_buttons' => $_POST['share_buttons'],
406
- 'recommendations' => $_POST['recommendations'],
407
  ));
 
 
 
 
 
 
 
 
408
 
409
  ShareaholicUtilities::log_event("UpdatedSettings");
410
  // clear cache after settings update
400
  $_POST[$app] = array();
401
  }
402
  }
403
+
404
+ foreach (array('share_buttons_display_on_excerpts', 'recommendations_display_on_excerpts') as $setting) {
405
+ if (isset($settings[$setting]) &&
406
+ !isset($_POST['shareaholic'][$setting]) &&
407
+ $settings[$setting] == 'on') {
408
+ $_POST['shareaholic'][$setting] = 'off';
409
+ } elseif (!isset($_POST['shareaholic'][$setting])) {
410
+ $_POST['shareaholic'][$setting] = array();
411
+ }
412
+ }
413
+
414
+ // Save "Locations" related preferences
415
  ShareaholicUtilities::update_options(array(
416
  'share_buttons' => $_POST['share_buttons'],
417
+ 'recommendations' => $_POST['recommendations']
418
  ));
419
+
420
+ // Save "Excerpts" related preferences
421
+ if (isset($_POST['shareaholic']['share_buttons_display_on_excerpts'])) {
422
+ ShareaholicUtilities::update_options(array('share_buttons_display_on_excerpts' => $_POST['shareaholic']['share_buttons_display_on_excerpts']));
423
+ }
424
+ if (isset($_POST['shareaholic']['recommendations_display_on_excerpts'])) {
425
+ ShareaholicUtilities::update_options(array('recommendations_display_on_excerpts' => $_POST['shareaholic']['recommendations_display_on_excerpts']));
426
+ }
427
 
428
  ShareaholicUtilities::log_event("UpdatedSettings");
429
  // clear cache after settings update
assets/img/circle_green.png DELETED
Binary file
assets/img/circle_yellow.png DELETED
Binary file
public.php CHANGED
@@ -330,7 +330,7 @@ class ShareaholicPublic {
330
  }
331
 
332
  /**
333
- * This static function inserts the shareaholic canvas at the end of the post
334
  *
335
  * @param string $content the wordpress content
336
  * @return string the content
@@ -340,23 +340,26 @@ class ShareaholicPublic {
340
  $settings = ShareaholicUtilities::get_settings();
341
  $page_type = ShareaholicUtilities::page_type();
342
  foreach (array('share_buttons', 'recommendations') as $app) {
 
 
 
 
 
 
 
343
  if (!get_post_meta($post->ID, "shareaholic_disable_{$app}", true)) {
344
- if (isset($settings[$app]["{$page_type}_above_content"]) &&
345
- $settings[$app]["{$page_type}_above_content"] == 'on') {
346
- // share_buttons_post_above_content
347
  $id = $settings['location_name_ids'][$app]["{$page_type}_above_content"];
348
  $content = self::canvas($id, $app, "{$page_type}_above_content") . $content;
349
  }
350
-
351
- if (isset($settings[$app]["{$page_type}_below_content"]) &&
352
- $settings[$app]["{$page_type}_below_content"] == 'on') {
353
- // share_buttons_post_below_content
354
  $id = $settings['location_name_ids'][$app]["{$page_type}_below_content"];
355
  $content .= self::canvas($id, $app, "{$page_type}_below_content");
356
  }
357
  }
358
  }
359
-
360
  // something that uses the_content hook must return the $content
361
  return $content;
362
  }
330
  }
331
 
332
  /**
333
+ * This static function inserts the shareaholic canvas in a post
334
  *
335
  * @param string $content the wordpress content
336
  * @return string the content
340
  $settings = ShareaholicUtilities::get_settings();
341
  $page_type = ShareaholicUtilities::page_type();
342
  foreach (array('share_buttons', 'recommendations') as $app) {
343
+
344
+ // check Excerpt prefs
345
+ if ('the_excerpt' == current_filter() && isset($settings["{$app}_display_on_excerpts"]) && $settings["{$app}_display_on_excerpts"] == 'off') {
346
+ return $content;
347
+ }
348
+
349
+ // check individual post prefs
350
  if (!get_post_meta($post->ID, "shareaholic_disable_{$app}", true)) {
351
+ // check if ABOVE location is turned on
352
+ if (isset($settings[$app]["{$page_type}_above_content"]) && $settings[$app]["{$page_type}_above_content"] == 'on') {
 
353
  $id = $settings['location_name_ids'][$app]["{$page_type}_above_content"];
354
  $content = self::canvas($id, $app, "{$page_type}_above_content") . $content;
355
  }
356
+ // check if BELOW location is turned on
357
+ if (isset($settings[$app]["{$page_type}_below_content"]) && $settings[$app]["{$page_type}_below_content"] == 'on') {
 
 
358
  $id = $settings['location_name_ids'][$app]["{$page_type}_below_content"];
359
  $content .= self::canvas($id, $app, "{$page_type}_below_content");
360
  }
361
  }
362
  }
 
363
  // something that uses the_content hook must return the $content
364
  return $content;
365
  }
readme.txt CHANGED
@@ -1,94 +1,106 @@
1
- === Shareaholic | share buttons, related posts, social analytics & more ===
2
  Contributors: shareaholic
3
- Tags: share buttons, related content, cookie compliance, eu cookie law, shareaholic, shareholic, sexybookmarks, recommendations, cookie consent, email button, social sharing, social bookmarking, share image, image sharing, follow buttons, floated share buttons, floating share buttons, analytics, social media, social plugin, GDPR compliance, GDPR, facebook, twitter, google plus, google bookmarks, gmail, linkedin, pinterest, reddit, tumblr, evernote, digg, delicious, stumbleupon, printfriendly, fancy, amazon, xing, vk, yahoo, mister wong, viadeo, odnoklassniki box.net, diigo, yammer, ycombinator, hotmail, instapaper, mixi, arto, whatsapp, hootsuite, inbound.org, plurk, aim, buffer, meneame, pinboard.in, stumpedia, bitly, blogger, yummly, izeby, kaboodle, weibo, instagram, tinyurl, typepad, weheartit, flipboard, pocket, wanelo, fark, wykop, symphony, kindle, houzz, youtube, sms, onenote, google classroom, disqus, spotify, zillow, feedly, kik, line, livejournal, baidu
4
  Requires at least: 3.0
5
  Tested up to: 4.9
6
- Stable tag: 8.6.0
 
 
7
 
8
- World's leading all-in-one Content Amplification Platform that helps grow your site traffic, engagement, conversions & monetization for FREE.
9
 
10
  == Description ==
11
 
12
- Shareaholic is the world's leading **all-in-one Content Amplification Platform**, which includes related content recommendations, social sharing, following, social analytics and site monetization apps such as promoted content, native ads and affiliate links. This module makes it a snap for any website — big or small — to engage and grow their traffic, market their content, gain insights, and monetize their audience, all from one powerful but easy-to-use dashboard. All our Apps are designed to work well together, on any website.
13
 
 
14
 
15
- = Recent Updates =
16
 
17
- * Social Share Count Recovery ([learn more](https://support.shareaholic.com/hc/en-us/articles/115002083586-))
18
- * Google Analytics integration ([setup guide](http://support.shareaholic.com/hc/en-us/articles/205181045-))
19
- * [Promoted Content](http://support.shareaholic.com/hc/en-us/articles/202657036)
20
- * [Post-Share Follow Buttons](https://blog.shareaholic.com/post-share-follow-buttons/)
21
- * [EU / UK Cookie Compliance Banner App](https://blog.shareaholic.com/cookie-consent-banner-app/)
22
- * [Shareaholic Teams](https://blog.shareaholic.com/shareaholic-teams-work-together-to-manage-your-website/)
23
- * Localized in 15+ languages
24
- * Official support for WooCommerce
25
 
26
- > <strong>Support</strong><br>
27
- > One on one email support is available. Visit our [Support Center](http://support.shareaholic.com/). Rest easy knowing real people are ready to help you. Everyone on our Customer Care team is an experienced Shareaholic user.
28
-
29
- = Share Buttons =
30
 
31
- Make it 1-click easy for your visitors to share your content with their friends with Shareaholic's award winning Share Buttons. This is the ultimate Social Media Widget for your website.
32
 
33
- * Vector share & follow buttons (SVG icons)
34
- * Official Share Counters for Twitter, Facebook, LinkedIn, Pinterest, Buffer, Google Plus, and more
35
- * Official support for Google's URL shortener (goo.gl) and Google Analytics
36
- * Supported URL Shorteners: Bitly (including custom tracking), J.mp, TinyURL, Goo.gl, Shr.lc
37
- * Full support for: Facebook, Twitter, Pinterest, Google Plus, Reddit, LinkedIn, Gmail, Delicious, OneNote, Evernote, Stumbleupon, Digg, Tumblr, Hootsuite, Buffer, Fancy, Wanelo, Yummly, WeHeartIt, Flipboard, Printfriendly, Amazon Wishlist, Instapaper, Pocket, Odnoklassniki, Houzz, Hacker News, Inbound.org, Vk, etc
38
- * Automatic Google Analytics integration ([setup guide](http://support.shareaholic.com/hc/en-us/articles/205181045-))
39
- * Supports theme features such as HTML5 & XHTML, widgets, infinite scroll, post formats
40
 
41
- [Share Buttons](https://shareaholic.com/publishers/sharing/) (demo)
42
 
43
- = Share Buttons for Images (Pinterest "pin it" button for images) =
 
44
 
45
- Get more shares and viral traffic by adding smart share buttons to the images on your website and making them easy to share.
46
 
47
- [Learn more](https://blog.shareaholic.com/image-share-buttons/)
 
 
48
 
49
  = Floating Share Buttons =
50
 
51
- Increase sharing engagement by 2x or more by Share Buttons that hover on the side of the page, rather than in the page content.
52
-
53
- [Learn more](https://blog.shareaholic.com/floating-share-buttons/)
54
 
55
  = Related Content =
56
 
57
- Increases pageviews, engagement and time on site by highlighting relevant content that may not otherwise be discovered from across your site. Shareaholic is not just yet another related posts content plugin. It involves a simple installation that's easy to update and tweak. You'll be using well-engineered and optimized code that won't slow or block your pages from loading.
58
-
59
- * Choose between several themes to seamlessly match your site's theme, design and personality. and customize every pixel if you'd like
60
- * Make money by displaying sponsored content, at the bottom of your posts, in the sidebar, or both
61
- * Easily promote your product or service on thousands of blogs and websites
62
- * Automatically utilizes post keywords specified in the "All in One SEO Pack", "WordPress SEO by Yoast", "Add Meta Tags", and other plugins
63
- * Optimized for mobile devices like the iPhone, iPod touch, iPad, Android mobile phones, and more
64
 
65
  = Social Analytics =
66
 
67
- Provides you with important actionable metrics including insights into popular pages on your website, referral channels, and who are making referrals and spreading your webpages on the internet on your behalf bringing you back more traffic and new visitors.
68
-
69
- [Learn more](https://shareaholic.com/publishers/analytics)
70
-
71
- = Affiliate Links =
72
-
73
- Automagically turn your site’s existing links into rewards. Clicks that turn into purchases from our ever-expanding universe of 35,000+ retailers, turn into commissions for you with zero additional effort.
74
-
75
- [Learn more](http://support.shareaholic.com/hc/en-us/articles/202938373-How-does-the-Affiliate-Links-app-work-)
76
 
77
  = Follow Buttons =
78
 
79
- Will help you get more followers and grow your social influence on Facebook, Twitter, Pinterest, Instagram and many other social networks.
 
 
80
 
81
- Supported services include: Facebook, Twitter, Vine, Pinterest, YouTube, Google+, LinkedIn, SlideShare, Instagram, VK, RSS feed, Github, Stackoverflow, Dribbble, Behance, 500px, iTunes, Houzz, Flickr, Foursquare, Yelp, Bloglovin, Etsy, TripAdvisor, About.me, Polyvore, Soundcloud, eBay, Better Business Bureau (BBB), Skype, Zillow, Disqus, Spotify, Feedly, LiveJournal
82
 
83
- [Learn more](https://shareaholic.com/publishers)
 
 
84
 
85
  = Additional features =
86
 
87
  * **100% Customizable** - Choose from several themes to match your site’s design or personalize your own to create a custom look.
88
  * **Mobile Optimized** - Responsive and retina display friendly. Shareaholic will work and look great on all mobile devices and tablets.
89
- * **Built for Scale** - It doesn't matter if your website generates 1 view or 100 million. Shareaholic scales to any size and will work just as well.
90
- * **Generate Revenue** - Make money with minimal effort while retaining full control at all times.
91
- * **[Fast & Secure](http://support.shareaholic.com/hc/en-us/articles/204339849-)** - We use industry best practices to make our code as fast and unobtrusive as possible, meaning - for example - that the performance impact is comparable to adding Google Analytics to your site. Because all of the processing and collection runs on our servers and not yours, it doesn't cause any additional load on your hosting account. In addition, our JavaScript is hosted on Amazon's CDN to make fetching it as blazing fast and reliable as possible. In fact, it's one of the fastest proven analytics system, hosted or not hosted, that you can use.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
 
93
  = You're in Great Company =
94
 
@@ -125,17 +137,23 @@ Shareaholic is used all over the world. Our goal is to support Shareaholic in th
125
  * Spanish - Spain (es_ES) by [David Marco Busto](http://alfabetadigital.com)
126
  * Romanian (ro_RO)
127
  * Malay – Bahasa Melayu (ms_MY) by [Lela Iskandar Suhaimi](http://www.jomjalan.com.my/)
128
- * Contribute a translation! -- we would appreciate your help in translating Shareaholic into even more languages! It doesn’t take much to get started. Instructions: https://shareaholic.com/tools/wordpress/translate
 
 
 
 
 
 
129
 
130
  == Screenshots ==
131
 
132
- 1. An 100% integrated and customizable approach - all the tools and apps you need in one robust plugin! Whether you want to get people sharing, grow your fans, make money, or know who's reading your content, we'll help you get it done. De-clutter your WordPress installation.
133
- 2. Related Content configuration panel - Drive pageviews and increase time on site with this tool.
134
- 3. Share Buttons configuration panel - Make it easy for your visitors to share your site's content via social networks, email, blogs, IM, and more.
135
- 4. You're in great company - Gizmo Gadget
136
- 5. You're in great company - Your Lighter Side
137
- 6. You're in great company - Guilty Kitchen
138
- 7. You're in great company - Career Girl
139
 
140
  == Installation ==
141
 
@@ -195,6 +213,9 @@ Please see here: [Shareaholic Helpdesk](http://support.shareaholic.com/hc/en-us)
195
  Please see here: [Usage & Installation Instructions](http://support.shareaholic.com/hc/en-us/categories/200101476-WordPress-Plugin)
196
 
197
  == Changelog ==
 
 
 
198
  = 8.6.0 (2017-11-03) =
199
  * Huge localization update! We (and the entire WordPress community) would appreciate your help in translating Shareaholic into your language! It is quite simple and fast. ([How-To Instructions here](https://translate.wordpress.org/projects/wp-plugins/shareaholic))
200
 
@@ -678,10 +699,12 @@ Please see here: [Usage & Installation Instructions](http://support.shareaholic.
678
  * Show Related Posts data status
679
 
680
  == Upgrade Notice ==
 
 
 
681
  = 8.6.0 =
682
  Huge localization update!
683
 
684
-
685
  = 8.5.3 =
686
  Some hosting companies are incorrectly flagging "index.html" as malware. This is a standard file and there is absolutely no reason to panic or be concerned. This update fixes the cause of the false positive. Please upgrade ASAP as a precaution.
687
 
@@ -722,4 +745,4 @@ Various bug fixes and enhancements
722
  New Tools Badge! Introducing a brand new way to launch the Shareaholic Console without ever leaving your website! Contains quick-links to your site analytics, help center, and much more to help you manage your site with greater ease. If you'd rather hide this badge or change its location, you can do so from your settings. It is 100% configurable.
723
 
724
  = 8.0.1 =
725
- Version 8 is here bringing with it a brand new revamped and streamlined UI!
1
+ === WordPress Social Tools, Related Content, Monetization - Shareaholic ===
2
  Contributors: shareaholic
3
+ Tags: Social Tools, Related Posts, Google Analytics, Share Buttons, Social Sharing, Image Sharing, Related Content, woocommerce, typepad, amazon, analytics, arto, baidu, bitly, blogger, buffer, cookie compliance, cookie consent, delicious, digg, diigo, disqus, email button, eu cookie law, evernote, facebook, facebook sharing, fancy, fark, feedly, flipboard, floated share buttons, floating share buttons, follow buttons, GDPR, gmail, google bookmarks, google classroom, google plus, hootsuite, hotmail, houzz, inbound.org, instagram, instagram sharing, instapaper, izeby, kaboodle, kik, kindle, line, linkedin, livejournal, meneame, mister wong, mixi, odnoklassniki, box.net, onenote, pinboard.in, pinterest, pinterest sharing, plurk, pocket, printfriendly, recommendations, reddit, sexybookmarks, share buttons, share image, shareaholic, shareholic, sms, social bookmarking, social media, social plugin, social share buttons, spotify, stumbleupon, stumpedia, symphony, tinyurl, tumblr, twitter, viadeo, vk, wanelo, weheartit, weibo, whatsapp, wykop, xing, yahoo, yammer, ycombinator, hacker news, youtube, yummly, zillow
4
  Requires at least: 3.0
5
  Tested up to: 4.9
6
+ Stable tag: 8.6.1
7
+
8
+ Consolidate plugins with a high-speed suite of social tools: social share buttons, related content, related posts, ad monetization & Google Analytics.
9
 
 
10
 
11
  == Description ==
12
 
13
+ Shareaholic is the **world's leading suite of social, analytics, monetization, and share button tools**. Included in the plugin are related content and related post recommendations, social share buttons, Google Analytics social data, and a variety of ad monetization options.
14
 
15
+ Our plugin and suite of tools make it easy for any website — big or small — to engage and grow their traffic, market their content, gain insight, and monetize their audience. And it all lives in one simple dashboard. Built on lightweight JavaScript, our functionality is highly customizable, without hurting your page load speed. In fact, we’re recognized by WP Engine as being a [“Essential Speed Friendly Social Media & SEO Toolkit”](https://wpengine.com/solution-center/shareaholic-the-essential-social-media-toolkit/).
16
 
17
+ Our single plugin combines the functionality of many social, content, and monetization plugins including: JetPack, Contextual Related Posts (CRP), SocialWarfare, Yet Another Related Posts Plugin (YARPP), AddThis, AddToAny, and many others.
18
 
19
+ = Social Media Share Buttons =
 
 
 
 
 
 
 
20
 
21
+ Make it easy for your visitors to share social content with their friends with Shareaholic’s award-winning Social Media Share Buttons. This is the ultimate set of Social Tools for your website.
 
 
 
22
 
23
+ [Demo](https://shareaholic.com/publishers/sharing/)
24
 
25
+ * [Free] Official Share Counters and Share Buttons for Twitter, Facebook, LinkedIn, Pinterest, Buffer, Google Plus, and more
26
+ * [Free] [Automatic & official integration](http://support.shareaholic.com/hc/en-us/articles/205181045-) with Google Analytics and URL shortener
27
+ * [Free] Full support for: Facebook share sharing, Twitter sharing, Pinterest sharing, Instagram sharing, Google Plus sharing, Reddit sharing, LinkedIn sharing, Gmail sharing, Delicious sharing, OneNote sharing, Evernote sharing, Stumbleupon sharing, Digg sharing, Tumblr sharing, Hootsuite sharing, Buffer sharing, Fancy sharing, Wanelo sharing, Yummly sharing, WeHeartIt sharing, Flipboard sharing, Printfriendly sharing, Amazon Wishlist sharing, Instapaper sharing, Pocket sharing, Odnoklassniki sharing, Houzz sharing, Hacker News sharing, Inbound.org sharing, Vk sharing, etc
28
+ * [Free] Supports theme features such as HTML5 & XHTML, widgets, plugins, infinite scroll, post formats, and mobile optimization
29
+ * [Free] Supported URL Shorteners: Bitly (including custom tracking), J.mp, TinyURL, Goo.gl, Shr.lc
30
+ * [Free] Vector share buttons & follow buttons (SVG icons)
31
+ * [Learn More](https://shareaholic.com/publishers/sharing)
32
 
33
+ = Share Count Recovery =
34
 
35
+ * [Pro] Never worry about losing your share counts when you change URLs, adjust your site taxonomy, or switch to HTTPS. Our proprietary technology ensures that no matter how your URLs change, your share counts stay the same.
36
+ * [Learn More](https://support.shareaholic.com/hc/en-us/articles/115002083586-)
37
 
38
+ = Share Buttons for Images =
39
 
40
+ * [Free] Automatically add Pinterest’s “Pin It” button and other social share buttons directly onto the images on your site to increase outbound traffic to your social sites, and inbound traffic to your website.
41
+ * [Free] Includes integrated share buttons for Facebook, Twitter, LinkedIn, Google+, and more!
42
+ * [Learn more](https://blog.shareaholic.com/image-share-buttons/)
43
 
44
  = Floating Share Buttons =
45
 
46
+ * [Free] Increase social sharing by 2x or more by adding our Share Button plugin that hovers on the side of the page, rather than in the page content.
47
+ * [Learn more](https://blog.shareaholic.com/floating-share-buttons/)
 
48
 
49
  = Related Content =
50
 
51
+ * [Free] Increases pageviews, engagement, and time on site by highlighting related content & related posts that may not otherwise be discovered on your site. Shareaholic is not just yet another related content plugin. It’s simple installation & content dashboard allows you quickly customize what content is delivered and where on your site. Youll be using well-engineered and optimized code that wont slow or block your pages from loading.
52
+ * [Free] Help your users rediscover your entire content by including related posts on all of your pages.
53
+ * [Free] Choose between several themes to seamlessly match your sites theme, design, and personality.
54
+ * [Free] Automatically utilizes post keywords specified in the “All in One SEO Pack”, “WordPress SEO by Yoast”, “Add Meta Tags”, and other plugins.
55
+ * [Free] Promote and advertise your content and products across our network using our Related Content Advertising Tools
56
+ * [Free] Optimized for mobile devices like the iPhone, iPod touch, iPad, Android mobile phones, and more.
57
+ * [Learn More](https://shareaholic.com/publishers/recommendations)
58
 
59
  = Social Analytics =
60
 
61
+ * Shareaholic is proud to be an official Google Analytics Technology Partner.
62
+ * [Free] Shareaholic provides you with important actionable metrics including insights into popular pages on your website, referral channels, and top refrerrers who are spreading your web pages on the internet on your behalf, bringing more traffic and new visitors to your site.
63
+ * [Free] Shareaholic automatically and seamlessly integrates with Google Analytics, including UTM tracking parameters, to provide Google Analytics social data in your Shareaholic dashboard and Shareaholic data in your Google Analytics dashboard.
64
+ * [Free] See social and page analytics by content, author, and custom tags.
65
+ * [Free] Discover how visitors find each story, product, author, and section, so you can build distribution strategies that work.
66
+ * [Free] Measure author performance and focus on authors who get the best results.
67
+ * [Free] Check whether your campaigns are targeting Verified Human audiences who are actually capable of purchasing your product or service
68
+ * [Learn more about our Social and Google Analytics integrations](https://shareaholic.com/publishers/analytics)
 
69
 
70
  = Follow Buttons =
71
 
72
+ * [Free] Grow your social following and page views with our easily customizable social plugin and tools for adding social follow buttons directly to your page.
73
+ * [Free] Supported services include: Facebook, Twitter, Instagram, YouTube, LinkedIn ,Spotify ,Google+ ,Pinterest, Etsy, BuzzFeed, iTunes, Tumblr, Vimeo, eBay, 500px, about.me, Baidu, Behance, Better Business Bureau, Bloglovin, Disqus, Dribbble, Feedly, Flickr, Foursquare, Github, Google Classroom, Houzz, LinkedIn Company, LiveJournal, Odnoklassniki, Polyvore, RSS, Skype, SlideShare, SoundCloud, Stack Overflow, StumbleUpon, Tripadvisor, Vine, VK, Yelp, Zillow
74
+ * [Learn More](https://shareaholic.com/publishers/)
75
 
76
+ = Monetize your Site =
77
 
78
+ * [Affiliate Links](https://support.shareaholic.com/hc/en-us/articles/202938373-How-does-the-Affiliate-Links-app-work-): Automatically turn your site’s existing links into rewards. Clicks that turn into purchases from our ever-expanding universe of 35,000+ retailers, turn into commissions for you with zero additional effort.
79
+ * [Outstream Video](https://support.shareaholic.com/hc/en-us/articles/207147336-Your-Options-to-Monetize-Your-Website-Earn-Revenue-with-Ads): Monetize your content with highly viewable and in-demand video ads through Outstream video units that appear between paragraphs on your pages.
80
+ * [Promoted Native Content](https://support.shareaholic.com/hc/en-us/articles/207147336-Your-Options-to-Monetize-Your-Website-Earn-Revenue-with-Ads): Generate revenue with targeted content recommendations from our sponsored content marketplace. Each time your readers click through to sponsored articles, you make money.
81
 
82
  = Additional features =
83
 
84
  * **100% Customizable** - Choose from several themes to match your site’s design or personalize your own to create a custom look.
85
  * **Mobile Optimized** - Responsive and retina display friendly. Shareaholic will work and look great on all mobile devices and tablets.
86
+ * **Built for Scale** - It doesn't matter if your website generates 1 or a 100 million views. Shareaholic scales to any size and will work just as well.
87
+ * **[Monetize](https://support.shareaholic.com/hc/en-us/articles/207147336-Your-Options-to-Monetize-Your-Website-Earn-Revenue-with-Ads)** - Make money with minimal effort while retaining full control at all times.
88
+ * **[Fast & Secure](http://support.shareaholic.com/hc/en-us/articles/204339849-)** - We use industry best practices to make our code as fast and unobtrusive as possible, meaning for example that the performance impact is comparable to adding Google Analytics to your site. Because all of the processing and collection runs on our servers and not yours, it doesnt cause any additional load on your hosting account. In addition, our JavaScript is hosted on Amazons CDN to make fetching it as blazing fast and reliable as possible. In fact, its one of the fastest proven analytics systems, hosted or not hosted, that you can use.
89
+ * **Integrations** - We're officially partnered with GoDaddy, WP Engine, Siteground, Cloudflare, Google & others to ensure that your site is safe, stable, and speedy.
90
+
91
+ = Recent Updates =
92
+
93
+ * Social Share Count Recovery ([learn more](https://support.shareaholic.com/hc/en-us/articles/115002083586-))
94
+ * Google Analytics integration ([setup guide](http://support.shareaholic.com/hc/en-us/articles/205181045-))
95
+ * [Promoted Content](http://support.shareaholic.com/hc/en-us/articles/202657036)
96
+ * [Post-Share Follow Buttons](https://blog.shareaholic.com/post-share-follow-buttons/)
97
+ * [EU / UK Cookie Compliance Banner App](https://blog.shareaholic.com/cookie-consent-banner-app/)
98
+ * [Shareaholic Teams](https://blog.shareaholic.com/shareaholic-teams-work-together-to-manage-your-website/)
99
+ * Localized in 15+ languages
100
+ * Official support for WooCommerce
101
+
102
+ > <strong>Support</strong><br>
103
+ > One on one email support is available. Visit our [Support Center](http://support.shareaholic.com/) or [reach out to our team directly](https://shareaholic.com/help/message). Rest easy knowing real people are ready to help you. Everyone on our Customer Care team is an experienced Shareaholic user and you can even [upgrade to pro](https://shareaholic.com/plans/) for access to a dedicated account manager.
104
 
105
  = You're in Great Company =
106
 
137
  * Spanish - Spain (es_ES) by [David Marco Busto](http://alfabetadigital.com)
138
  * Romanian (ro_RO)
139
  * Malay – Bahasa Melayu (ms_MY) by [Lela Iskandar Suhaimi](http://www.jomjalan.com.my/)
140
+ * Contribute a translation! -- we would appreciate your help in translating Shareaholic into even more languages! It doesn’t take much to get started. Instructions: https://translate.wordpress.org/projects/wp-plugins/shareaholic
141
+
142
+ == Social Platform Integrations ==
143
+
144
+ * Social Follow Buttons: Facebook follow buttons, Twitter follow buttons, Instagram follow buttons, YouTube follow buttons, LinkedIn, Spotify, Google+, Pinterest follow buttons, Etsy, BuzzFeed, iTunes, Tumblr, Vimeo, eBay, 500px, about.me, Baidu, Behance, Better Business Bureau (BBB), Bloglovin, Disqus, Dribbble, Feedly, Flickr, Foursquare, Github, Google Classroom, Houzz, LinkedIn, LiveJournal, Odnoklassniki (OK), Polyvore, RSS, Skype, SlideShare, SoundCloud, Stack Overflow, StumbleUpon, Tripadvisor, Vine, VK, Yelp, Zillow
145
+
146
+ * Social Share Buttons: Facebook share buttons, LinkedIn share buttons, Pinterest share buttons, Reddit share buttons, Skype share buttons, SMS share button, StumbleUpon share buttons, Tumblr share buttons, Twitter share buttons, WhatsApp share buttons, Amazon Kindle share buttons, Amazon share buttons, Amazon Wish List, AOL Mail, Arto, Baidu, Bit.ly, Blogger Post, Box, Buffer, Delicious, Digg, Diigo, Diigolet, Email This, Evernote, Facebook Send, Fancy, Fark, Flipboard share buttons, GMail share buttons, Google Bookmarks, Google Classroom, Google Mail, Google+, HootSuite share buttons, Houzz share buttons, Inbound.org, Instapaper, iZeby, Kaboodle, Kik, Line share buttons, LinkedIn share buttons, Mail, Meneame, Microsoft OneNote, Mister-Wong, Mixi, MSDN, Odnoklassniki (OK), Outlook, Pinboard.in, Pinterest, Plurk, Pocket share buttons, Print share buttons, PrintFriendly share buttons, Read Later share buttons, Reddit share buttons, Sina Weibo, Skype share buttons, SMS, Soup.io, Stumpedia, Symphony, Techmeme, TinyURL, TypePad Post, Viadeo, Vkontakte (VK), Wanelo, We Heart It, WhatsApp,Windows Live Favorites, WordPress share buttons, Wykop, Xing, Yahoo Bookmarks, Yahoo Messenger, Yahoo! Mail, Yammer, YC Hacker News, Yummly share buttons
147
 
148
  == Screenshots ==
149
 
150
+ 1. An easy to install plugin for all of you social sharing, related content, ad monetization, and Google Analytics needs. We have share buttons for Facebook, Twitter, Instagram, Pinterest, LinkedIn, Google+, and many more within a single social dashboard. We also offer monetization tools for affiliate links, outstream video ads, native ads, and related posts.
151
+ 2. Easily add related content and related post sections to your site to drive increased page views and time on site.
152
+ 3. Add and customize your share buttons to maximize you social sharing on Facebook, Twitter, Instagram, Pinterest, LinkedIn, Google+, and many more.
153
+ 4. Because most everyone in our demographic uses ad-blocker, Related Content is a great way to suggest other products they may like because it’s relevant to the post they are reading.
154
+ 5. I love that Related Content is already included in the Shareaholic WordPress plugin because it keeps my blog uncluttered and my page load time to a minimum.
155
+ 6. Since installing Related Content, I’ve loved seeing more traffic on my older posts.
156
+ 7. Because I produce a ton of content every day, I rely on Related Content to pull posts for my readers that they wouldn’t find on their own.
157
 
158
  == Installation ==
159
 
213
  Please see here: [Usage & Installation Instructions](http://support.shareaholic.com/hc/en-us/categories/200101476-WordPress-Plugin)
214
 
215
  == Changelog ==
216
+ = 8.6.1 (2017-11-07) =
217
+ * New: Option to show or hide share buttons, related content, etc on excerpts
218
+
219
  = 8.6.0 (2017-11-03) =
220
  * Huge localization update! We (and the entire WordPress community) would appreciate your help in translating Shareaholic into your language! It is quite simple and fast. ([How-To Instructions here](https://translate.wordpress.org/projects/wp-plugins/shareaholic))
221
 
699
  * Show Related Posts data status
700
 
701
  == Upgrade Notice ==
702
+ = 8.6.1 =
703
+ New option to show or hide share buttons, related content, etc on excerpts
704
+
705
  = 8.6.0 =
706
  Huge localization update!
707
 
 
708
  = 8.5.3 =
709
  Some hosting companies are incorrectly flagging "index.html" as malware. This is a standard file and there is absolutely no reason to panic or be concerned. This update fixes the cause of the false positive. Please upgrade ASAP as a precaution.
710
 
745
  New Tools Badge! Introducing a brand new way to launch the Shareaholic Console without ever leaving your website! Contains quick-links to your site analytics, help center, and much more to help you manage your site with greater ease. If you'd rather hide this badge or change its location, you can do so from your settings. It is 100% configurable.
746
 
747
  = 8.0.1 =
748
+ Version 8 is here bringing with it a brand new revamped and streamlined UI!
shareaholic.php CHANGED
@@ -3,14 +3,14 @@
3
  * The main file!
4
  *
5
  * @package shareaholic
6
- * @version 8.6.0
7
  */
8
 
9
  /*
10
  Plugin Name: Shareaholic | share buttons, analytics, related content
11
  Plugin URI: https://shareaholic.com/publishers/
12
  Description: The world's leading all-in-one Content Amplification Platform that helps grow your website traffic, engagement, conversions & monetization. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for more settings.
13
- Version: 8.6.0
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 = '8.6.0';
67
 
68
  /**
69
  * Starts off as false so that ::get_instance() returns
3
  * The main file!
4
  *
5
  * @package shareaholic
6
+ * @version 8.6.1
7
  */
8
 
9
  /*
10
  Plugin Name: Shareaholic | share buttons, analytics, related content
11
  Plugin URI: https://shareaholic.com/publishers/
12
  Description: The world's leading all-in-one Content Amplification Platform that helps grow your website traffic, engagement, conversions & monetization. See <a href="admin.php?page=shareaholic-settings">configuration panel</a> for more settings.
13
+ Version: 8.6.1
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 = '8.6.1';
67
 
68
  /**
69
  * Starts off as false so that ::get_instance() returns
templates/footer.php CHANGED
@@ -1,15 +1,14 @@
1
  <div style="margin-top:45px;"></div>
2
  <div class='clear'>
3
- <small class="muted">
4
- <?php echo sprintf(__('%sShareaholic for WordPress v'. ShareaholicUtilities::get_version() .'%s | %sPrivacy Policy%s | %sTerms of Service%s | %sSupport Center%s | %sAPI%s | %sSocial Analytics%s', 'shareaholic'), '<a href="https://shareaholic.com/?src=wp_admin" target="_new">', '</a>', '<a href="https://shareaholic.com/privacy/?src=wp_admin" target="_new">', '</a>', '<a href="https://shareaholic.com/terms/?src=wp_admin" target="_new">', '</a>', '<a href="http://support.shareaholic.com/" target="_new">', '</a>', '<a href="https://shareaholic.com/api/?src=wp_admin" target="_new">', '</a>', '<a href="https://shareaholic.com/publishers/analytics/'. ShareaholicUtilities::get_host() .'/30?src=wp_admin" target="_new">', '</a>'); ?>
5
- </small>
 
 
6
  <br />
7
- <small class="muted">
8
- <?php echo sprintf(__('If you like our work, show some love and %sgive us a good rating%s. Made with much love in Boston, Massachusetts.', 'shareaholic'), '<a href="http://wordpress.org/support/view/plugin-reviews/shareaholic?rate=5#postform" target="_new">', '</a>'); ?>
9
- </small>
10
  <br />
11
- <br />
12
- <iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fshareaholic&amp;width&amp;layout=standard&amp;action=like&amp;show_faces=true&amp;share=false&amp;height=80&amp;width=500&amp;appId=207766518608" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:80px;" allowTransparency="true"></iframe>
13
  </div>
14
 
15
  <!-- Start of Async HubSpot Analytics -->
1
  <div style="margin-top:45px;"></div>
2
  <div class='clear'>
3
+ <p class="text-muted">
4
+ <?php echo sprintf(__('%sShareaholic for WordPress v'. ShareaholicUtilities::get_version() .'%s | %sPrivacy Policy%s | %sTerms of Service%s | %sSupport Center%s | %sAPI%s', 'shareaholic'), '<a href="https://shareaholic.com/?src=wp_admin" target="_new">', '</a>', '<a href="https://shareaholic.com/privacy/?src=wp_admin" target="_new">', '</a>', '<a href="https://shareaholic.com/terms/?src=wp_admin" target="_new">', '</a>', '<a href="http://support.shareaholic.com/" target="_new">', '</a>', '<a href="https://shareaholic.com/api/?src=wp_admin" target="_new">', '</a>'); ?>
5
+ </p>
6
+ <p class="text-muted">
7
+ <?php echo sprintf(__('If you like our work, show some love and %sgive us a 5 star rating%s. Made with much love in Boston, Massachusetts.', 'shareaholic'), '<a href="http://wordpress.org/support/view/plugin-reviews/shareaholic?rate=5#postform" target="_new">', '</a>'); ?>
8
  <br />
 
 
 
9
  <br />
10
+ <iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fshareaholic&amp;width&amp;layout=standard&amp;action=like&amp;show_faces=true&amp;share=false&amp;height=80&amp;width=500&amp;appId=207766518608" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:80px;" allowTransparency="true"></iframe>
11
+ </p>
12
  </div>
13
 
14
  <!-- Start of Async HubSpot Analytics -->
templates/settings.php CHANGED
@@ -23,7 +23,7 @@
23
  </div>
24
 
25
  <div class="app">
26
- <p><a href="<?php echo esc_url(admin_url("admin.php?shareaholic_redirect_url=shareaholic.com/signup/")); ?>" target="_blank" class="btn btn-info btn-block" role="button" style="font-size: 14px;"><?php echo sprintf(__('Shareaholic Dashboard', 'shareaholic')); ?></a>
27
  </p>
28
  <p>
29
  <?php echo sprintf(__('Configure Apps such as Floating Share buttons, Social Share Count Recovery, Follow buttons, Share Buttons for Images, Monetization Dashboard, EU Cookie Consent bar, and more from the dashboard.', 'shareaholic')); ?>
@@ -31,9 +31,9 @@
31
  </div>
32
 
33
  <div class="app">
34
- <h2><i class="icon icon-share_buttons"></i> <?php echo sprintf(__('Share Buttons', 'shareaholic')); ?></h2>
35
  <p>
36
- <?php echo sprintf(__('Pick where you want your share buttons to be displayed. Click "customize" to customize look & feel, themes, share counters, alignment, and more.', 'shareaholic')); ?>
37
  </p>
38
 
39
  <?php foreach(array('post', 'page', 'index', 'category') as $page_type) { ?>
@@ -58,7 +58,17 @@
58
  <?php } ?>
59
  </fieldset>
60
  <?php } ?>
61
-
 
 
 
 
 
 
 
 
 
 
62
  <div class='fieldset-footer'>
63
  <p>
64
  Brand your shares with your @Twitterhandle, pick your favorite URL shortener, share buttons for images, etc.
@@ -74,7 +84,6 @@
74
  <p>
75
  <?php echo sprintf(__('Pick where you want the app to be displayed. Click "Customize" to customize look & feel, themes, block lists, etc.', 'shareaholic')); ?>
76
  </p>
77
- <p>
78
  <?php foreach(array('post', 'page', 'index', 'category') as $page_type) { ?>
79
  <?php foreach(array('below') as $position) { ?>
80
  <?php if (isset($settings['location_name_ids']['recommendations']["{$page_type}_{$position}_content"])) { ?>
@@ -97,7 +106,17 @@
97
  <?php } ?>
98
  </fieldset>
99
  <?php } ?>
100
- </p>
 
 
 
 
 
 
 
 
 
 
101
  <div class='fieldset-footer'>
102
  <p>
103
  Re-sync your content, exclude pages from being recommended, etc.
23
  </div>
24
 
25
  <div class="app">
26
+ <p><a href="<?php echo esc_url(admin_url("admin.php?shareaholic_redirect_url=shareaholic.com/signup/")); ?>" target="_blank" class="btn btn-warning btn-block" role="button" style="font-size: 14px;"><?php echo sprintf(__('Shareaholic Dashboard', 'shareaholic')); ?></a>
27
  </p>
28
  <p>
29
  <?php echo sprintf(__('Configure Apps such as Floating Share buttons, Social Share Count Recovery, Follow buttons, Share Buttons for Images, Monetization Dashboard, EU Cookie Consent bar, and more from the dashboard.', 'shareaholic')); ?>
31
  </div>
32
 
33
  <div class="app">
34
+ <h2><i class="icon icon-share_buttons"></i> <?php echo sprintf(__('In-Page Share Buttons', 'shareaholic')); ?></h2>
35
  <p>
36
+ <?php echo sprintf(__('Pick where you want your in-page share buttons to be displayed. Click "customize" to customize look & feel, themes, share counters, alignment, and more.', 'shareaholic')); ?>
37
  </p>
38
 
39
  <?php foreach(array('post', 'page', 'index', 'category') as $page_type) { ?>
58
  <?php } ?>
59
  </fieldset>
60
  <?php } ?>
61
+
62
+ <div class='fieldset-footer'>
63
+ <p>
64
+ <input type="checkbox" id="share_buttons_excerpts" name="shareaholic[share_buttons_display_on_excerpts]" class="check"
65
+ <?php if (isset($settings["share_buttons_display_on_excerpts"])) { ?>
66
+ <?php echo ($settings["share_buttons_display_on_excerpts"] == 'on' ? 'checked' : '') ?>
67
+ <?php } ?>>
68
+ <label for="share_buttons_excerpts">Display on excerpts</label>
69
+ </p>
70
+ </div>
71
+
72
  <div class='fieldset-footer'>
73
  <p>
74
  Brand your shares with your @Twitterhandle, pick your favorite URL shortener, share buttons for images, etc.
84
  <p>
85
  <?php echo sprintf(__('Pick where you want the app to be displayed. Click "Customize" to customize look & feel, themes, block lists, etc.', 'shareaholic')); ?>
86
  </p>
 
87
  <?php foreach(array('post', 'page', 'index', 'category') as $page_type) { ?>
88
  <?php foreach(array('below') as $position) { ?>
89
  <?php if (isset($settings['location_name_ids']['recommendations']["{$page_type}_{$position}_content"])) { ?>
106
  <?php } ?>
107
  </fieldset>
108
  <?php } ?>
109
+
110
+ <div class='fieldset-footer'>
111
+ <p>
112
+ <input type="checkbox" id="recommendations_excerpts" name="shareaholic[recommendations_display_on_excerpts]" class="check"
113
+ <?php if (isset($settings["recommendations_display_on_excerpts"])) { ?>
114
+ <?php echo ($settings["recommendations_display_on_excerpts"] == 'on' ? 'checked' : '') ?>
115
+ <?php } ?>>
116
+ <label for="recommendations_excerpts">Display on excerpts</label>
117
+ </p>
118
+ </div>
119
+
120
  <div class='fieldset-footer'>
121
  <p>
122
  Re-sync your content, exclude pages from being recommended, etc.
templates/why_to_sign_up.php CHANGED
@@ -22,7 +22,7 @@
22
  <div class="sidebar_links">
23
  <ul>
24
  <li><a href="http://support.shareaholic.com/" target="_blank"><?php _e('Shareaholic Helpdesk', 'shareaholic'); ?></a></li>
25
- <li><a href="https://shareaholic.com/tools/wordpress/translations" target="_blank"><?php _e('Submit a new or updated language translation', 'shareaholic'); ?></a></li>
26
  <li><a href="https://shareaholic.com/tools/browser/" target="_blank"><?php _e('Get the Shareaholic Browser Extension to share content from anywhere on the web', 'shareaholic'); ?></a></li>
27
  <li><a href="https://support.shareaholic.com/hc/en-us/categories/200185046-Website-Monetization-Apps?utm_source=wp_plugin&utm_medium=appsett&utm_campaign=psa_faq" target="_blank"><?php _e('Monetization Options', 'shareaholic'); ?></a></li>
28
  </ul>
22
  <div class="sidebar_links">
23
  <ul>
24
  <li><a href="http://support.shareaholic.com/" target="_blank"><?php _e('Shareaholic Helpdesk', 'shareaholic'); ?></a></li>
25
+ <li><a href="https://translate.wordpress.org/projects/wp-plugins/shareaholic" target="_blank"><?php _e('Submit a new or updated language translation', 'shareaholic'); ?></a></li>
26
  <li><a href="https://shareaholic.com/tools/browser/" target="_blank"><?php _e('Get the Shareaholic Browser Extension to share content from anywhere on the web', 'shareaholic'); ?></a></li>
27
  <li><a href="https://support.shareaholic.com/hc/en-us/categories/200185046-Website-Monetization-Apps?utm_source=wp_plugin&utm_medium=appsett&utm_campaign=psa_faq" target="_blank"><?php _e('Monetization Options', 'shareaholic'); ?></a></li>
28
  </ul>
utilities.php CHANGED
@@ -87,6 +87,8 @@ class ShareaholicUtilities {
87
  'disable_internal_share_counts_api' => 'on',
88
  'api_key' => '',
89
  'verification_key' => '',
 
 
90
  );
91
  }
92
 
@@ -331,6 +333,16 @@ class ShareaholicUtilities {
331
  */
332
  public static function perform_update() {
333
 
 
 
 
 
 
 
 
 
 
 
334
  if (!self::is_locked('perform_update')) {
335
  self::set_lock('perform_update');
336
 
87
  'disable_internal_share_counts_api' => 'on',
88
  'api_key' => '',
89
  'verification_key' => '',
90
+ 'recommendations_display_on_excerpts' => 'on',
91
+ 'share_buttons_display_on_excerpts' => 'on'
92
  );
93
  }
94
 
333
  */
334
  public static function perform_update() {
335
 
336
+ // Set plugin defaults, if not already set
337
+ $settings = ShareaholicUtilities::get_settings();
338
+
339
+ if (empty($settings["share_buttons_display_on_excerpts"]) || !isset($settings["share_buttons_display_on_excerpts"])) {
340
+ ShareaholicUtilities::update_options(array('share_buttons_display_on_excerpts' => 'on'));
341
+ }
342
+ if (empty($settings["recommendations_display_on_excerpts"]) || !isset($settings["recommendations_display_on_excerpts"])) {
343
+ ShareaholicUtilities::update_options(array('recommendations_display_on_excerpts' => 'on'));
344
+ }
345
+
346
  if (!self::is_locked('perform_update')) {
347
  self::set_lock('perform_update');
348