AddToAny Share Buttons - Version 1.2.8.5

Version Description

  • For CSS customization, delineate between top and bottom in default sharing placement
  • Add .addtoany_content_top and .addtoany_content_top class names to .addtoany_share_save_container
Download this release

Release Info

Developer micropat
Plugin Icon 128x128 AddToAny Share Buttons
Version 1.2.8.5
Comparing to
See all releases

Code changes from version 1.2.8.4 to 1.2.8.5

Files changed (2) hide show
  1. README.txt +6 -2
  2. add-to-any.php +4 -4
README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: micropat
3
  Tags: sharing, share, sharethis, bookmarking, social, social bookmarking, social bookmarks, bookmark, bookmarks, save, Post, posts, page, pages, images, image, admin, statistics, stats, links, plugin, shortcode, sidebar, widget, email, e-mail, seo, button, delicious, google, tumblr, linkedin, digg, reddit, facebook, facebook like, like, twitter, tweet, +1, plus 1, google plus, google plus one, plus one, pinterest, pin, pin it, pinit, buffer, stumbleupon, technorati, lockerz, addthis, sociable, sharedaddy, shareaholic, icon, icons, vector, SVG, wpmu, Add to Any, AddToAny
4
  Requires at least: 2.8
5
  Tested up to: 3.9
6
- Stable tag: 1.2.8.4
7
 
8
  Share buttons for WordPress including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more.
9
 
@@ -28,7 +28,7 @@ This sharing plugin lets you customize the AddToAny universal Smart Menu, which
28
  * Supports theme features such as HTML5 & XHTML, widgets, infinite scroll, post formats
29
  * Many more publisher and user features
30
 
31
- With **years of active development**, over **2.8 million downloads**, and **ongoing support from the community**, this plugin still strives to be the best WordPress plugin for sharing. Thanks for your feedback!
32
 
33
  <a href="http://www.addtoany.com/share_save" title="Share">Share this</a> plugin
34
 
@@ -239,6 +239,10 @@ Upload the plugin directory (including all files and directories within) to the
239
 
240
  == Changelog ==
241
 
 
 
 
 
242
  = 1.2.8.4 =
243
  * Add Wanelo
244
  * Add WhatsApp
3
  Tags: sharing, share, sharethis, bookmarking, social, social bookmarking, social bookmarks, bookmark, bookmarks, save, Post, posts, page, pages, images, image, admin, statistics, stats, links, plugin, shortcode, sidebar, widget, email, e-mail, seo, button, delicious, google, tumblr, linkedin, digg, reddit, facebook, facebook like, like, twitter, tweet, +1, plus 1, google plus, google plus one, plus one, pinterest, pin, pin it, pinit, buffer, stumbleupon, technorati, lockerz, addthis, sociable, sharedaddy, shareaholic, icon, icons, vector, SVG, wpmu, Add to Any, AddToAny
4
  Requires at least: 2.8
5
  Tested up to: 3.9
6
+ Stable tag: 1.2.8.5
7
 
8
  Share buttons for WordPress including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more.
9
 
28
  * Supports theme features such as HTML5 & XHTML, widgets, infinite scroll, post formats
29
  * Many more publisher and user features
30
 
31
+ With **years of active development**, over **2.9 million downloads**, and **ongoing support from the community**, this plugin still strives to be the best WordPress plugin for sharing. Thanks for your feedback!
32
 
33
  <a href="http://www.addtoany.com/share_save" title="Share">Share this</a> plugin
34
 
239
 
240
  == Changelog ==
241
 
242
+ = 1.2.8.5 =
243
+ * For CSS customization, delineate between top and bottom in default sharing placement
244
+ * Add .addtoany_content_top and .addtoany_content_top class names to .addtoany_share_save_container
245
+
246
  = 1.2.8.4 =
247
  * Add Wanelo
248
  * Add WhatsApp
add-to-any.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Share Buttons by AddToAny
4
  Plugin URI: http://www.addtoany.com/
5
  Description: Share buttons for your pages including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
6
- Version: 1.2.8.4
7
  Author: micropat
8
  Author URI: http://www.addtoany.com/
9
  */
@@ -695,7 +695,7 @@ function A2A_SHARE_SAVE_add_to_content($content) {
695
  );
696
 
697
  if ( ! $is_feed ) {
698
- $container_wrap_open = '<div class="addtoany_share_save_container">';
699
  $container_wrap_close = '</div>';
700
  } else { // Is feed
701
  $container_wrap_open = '<p>';
@@ -710,11 +710,11 @@ function A2A_SHARE_SAVE_add_to_content($content) {
710
 
711
  if ($options['position'] == 'both' || $options['position'] == 'top') {
712
  // Prepend to content
713
- $content = $container_wrap_open.ADDTOANY_SHARE_SAVE_KIT($kit_args) . $container_wrap_close . $content;
714
  }
715
  if ( $options['position'] == 'bottom' || $options['position'] == 'both') {
716
  // Append to content
717
- $content .= $container_wrap_open.ADDTOANY_SHARE_SAVE_KIT($kit_args) . $container_wrap_close;
718
  }
719
 
720
  return $content;
3
  Plugin Name: Share Buttons by AddToAny
4
  Plugin URI: http://www.addtoany.com/
5
  Description: Share buttons for your pages including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
6
+ Version: 1.2.8.5
7
  Author: micropat
8
  Author URI: http://www.addtoany.com/
9
  */
695
  );
696
 
697
  if ( ! $is_feed ) {
698
+ $container_wrap_open = '<div class="addtoany_share_save_container %s">'; // Contains placeholder
699
  $container_wrap_close = '</div>';
700
  } else { // Is feed
701
  $container_wrap_open = '<p>';
710
 
711
  if ($options['position'] == 'both' || $options['position'] == 'top') {
712
  // Prepend to content
713
+ $content = sprintf( $container_wrap_open, 'addtoany_content_top' ) . ADDTOANY_SHARE_SAVE_KIT($kit_args) . $container_wrap_close . $content;
714
  }
715
  if ( $options['position'] == 'bottom' || $options['position'] == 'both') {
716
  // Append to content
717
+ $content .= sprintf( $container_wrap_open, 'addtoany_content_bottom' ) . ADDTOANY_SHARE_SAVE_KIT($kit_args) . $container_wrap_close;
718
  }
719
 
720
  return $content;