AddToAny Share Buttons - Version 1.2.9.2

Version Description

  • Fix transparency on AddToAny's universal share icon
  • Add addtoany_sharing_disabled hook to programmatically disable sharing
  • Update Menu Options
Download this release

Release Info

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

Code changes from version 1.2.9.1 to 1.2.9.2

Files changed (4) hide show
  1. README.txt +14 -9
  2. add-to-any.php +2 -1
  3. addtoany.admin.php +3 -3
  4. favicon.png +0 -0
README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: micropat
3
  Tags: sharing, share, share this, bookmarking, social, share button, share buttons, share links, social share, social sharing, social bookmarking, social bookmarks, bookmark, bookmarks, save, Post, posts, page, pages, images, image, admin, statistics, stats, links, plugin, shortcode, sidebar, widget, email, e-mail, print, seo, button, delicious, google, tumblr, linkedin, digg, reddit, facebook, facebook share, facebook like, like, twitter, twitter button, twitter share, tweet, +1, plus 1, google plus, google plus one, plus one, pinterest, pin, pin it, pinit, buffer, stumbleupon, bitly, technorati, lockerz, addthis, sociable, sharedaddy, sharethis, 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.9.1
7
 
8
  Share buttons for WordPress including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more.
9
 
@@ -11,12 +11,12 @@ Share buttons for WordPress including AddToAny's universal sharing button, Faceb
11
 
12
  The WordPress sharing plugin to help people share, bookmark, and email your posts and pages using any service, such as Facebook, Twitter, Pinterest, Google, Reddit, Tumblr, StumbleUpon, LinkedIn, and well over 100 more sharing and social bookmarking sites.
13
 
14
- AddToAny's customizable social share icons let you optimize your blog posts & pages for specific social sites.
15
 
16
  = Share Buttons =
17
 
18
  * **New**: Vector sharing buttons (SVG sharing icons)
19
- * Universal Sharing Button and Smart Menu
20
  * Sharing Kit for individual share links
21
  * **New**: Custom sharing icons
22
  * Choose from over 100 individual services
@@ -56,7 +56,7 @@ AddToAny's customizable social share icons let you optimize your blog posts & pa
56
  * Translated into dozens of languages
57
  * Ongoing support from the community
58
 
59
- This plugin still strives to be the best WordPress plugin for sharing, and development is fueled by your praise and feedback.
60
 
61
  <a href="http://www.addtoany.com/share_save" title="Share">Share this</a> plugin
62
 
@@ -77,7 +77,7 @@ See also:
77
 
78
  = Where are the options, and how can I customize the sharing plugin? =
79
 
80
- In your Admin panel, go to `Settings` > `AddToAny`. Among other options, you can choose individual sharing icons, a universal sharing button, and official 3rd party sharing buttons (Facebook Like Button, Twitter Tweet Button, Pinterest Pin It Button, Google+ Share Button, Google +1 Button) to display, and where and how to display them.
81
 
82
  To place the buttons as a "widget" in your theme (if your theme supports WordPress Widgets), go to `Appearance` > `Widgets`, then drag AddToAny to an available Widget Area and click `Save`.
83
 
@@ -119,7 +119,7 @@ For more technical information on setting your pages up for Facebook sharing, se
119
 
120
  = How can I use custom icons? =
121
 
122
- Upload sharing icons in a single directory to a public location, and make sure the icon filenames match the icon filenames packaged in the AddToAny plugin. In your Admin panel, go to `Settings` > `AddToAny` > `Advanced Options` > check the "Use custom icons" checkbox and specify the URL to your custom icons directory (including the trailing `/`). For AddToAny's universal button, go to Universal Button, select `Image URL` and specify the exact location of your AddToAny universal sharing icon (including the filename).
123
 
124
  = How can I add both the universal button and the individual icons to another area of my theme? =
125
 
@@ -263,14 +263,19 @@ Upload the plugin directory (including all files and directories within) to the
263
  == Screenshots ==
264
 
265
  1. Large vector sharing buttons (SVG icons) are pixel-perfect on Retina and high-DPI dispays
266
- 2. Share/Save sharing button features Facebook, Twitter, and a universal sharing icon
267
- 3. Drop-down universal sharing menu that appears instantly when visitors use the share button
268
  4. Email tab, with direct links to the most popular web-based emailers' auto-filled Compose page, a web-based sender for use with any email address, and a link for desktop email applications
269
  5. Settings panel
270
- 6. Color chooser for your universal sharing menu
271
 
272
  == Changelog ==
273
 
 
 
 
 
 
274
  = 1.2.9.1 =
275
  * Update template code
276
  * Update Advanced Options description
3
  Tags: sharing, share, share this, bookmarking, social, share button, share buttons, share links, social share, social sharing, social bookmarking, social bookmarks, bookmark, bookmarks, save, Post, posts, page, pages, images, image, admin, statistics, stats, links, plugin, shortcode, sidebar, widget, email, e-mail, print, seo, button, delicious, google, tumblr, linkedin, digg, reddit, facebook, facebook share, facebook like, like, twitter, twitter button, twitter share, tweet, +1, plus 1, google plus, google plus one, plus one, pinterest, pin, pin it, pinit, buffer, stumbleupon, bitly, technorati, lockerz, addthis, sociable, sharedaddy, sharethis, 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.9.2
7
 
8
  Share buttons for WordPress including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more.
9
 
11
 
12
  The WordPress sharing plugin to help people share, bookmark, and email your posts and pages using any service, such as Facebook, Twitter, Pinterest, Google, Reddit, Tumblr, StumbleUpon, LinkedIn, and well over 100 more sharing and social bookmarking sites.
13
 
14
+ AddToAny's customizable platform and social share icons let you optimize your site's blog posts & pages for the best social sharing engagement.
15
 
16
  = Share Buttons =
17
 
18
  * **New**: Vector sharing buttons (SVG sharing icons)
19
+ * Universal Share Button and Smart Menu
20
  * Sharing Kit for individual share links
21
  * **New**: Custom sharing icons
22
  * Choose from over 100 individual services
56
  * Translated into dozens of languages
57
  * Ongoing support from the community
58
 
59
+ This plugin always strives to be the best WordPress plugin for sharing. Development is fueled by your praise and feedback.
60
 
61
  <a href="http://www.addtoany.com/share_save" title="Share">Share this</a> plugin
62
 
77
 
78
  = Where are the options, and how can I customize the sharing plugin? =
79
 
80
+ In your Admin panel, go to `Settings` > `AddToAny`. Among other options, you can choose individual sharing icons, a universal share button, and official 3rd party sharing buttons (Facebook Like Button, Twitter Tweet Button, Pinterest Pin It Button, Google+ Share Button, Google +1 Button) to display, and where and how to display them.
81
 
82
  To place the buttons as a "widget" in your theme (if your theme supports WordPress Widgets), go to `Appearance` > `Widgets`, then drag AddToAny to an available Widget Area and click `Save`.
83
 
119
 
120
  = How can I use custom icons? =
121
 
122
+ Upload sharing icons in a single directory to a public location, and make sure the icon filenames match the icon filenames packaged in the AddToAny plugin. In your Admin panel, go to `Settings` > `AddToAny` > `Advanced Options` > check the "Use custom icons" checkbox and specify the URL to your custom icons directory (including the trailing `/`). For AddToAny's universal button, go to Universal Button, select `Image URL` and specify the exact location of your AddToAny universal share icon (including the filename).
123
 
124
  = How can I add both the universal button and the individual icons to another area of my theme? =
125
 
263
  == Screenshots ==
264
 
265
  1. Large vector sharing buttons (SVG icons) are pixel-perfect on Retina and high-DPI dispays
266
+ 2. Share/Save sharing button features Facebook, Twitter, and a universal share icon
267
+ 3. Drop-down universal share menu that appears instantly when visitors use the share button
268
  4. Email tab, with direct links to the most popular web-based emailers' auto-filled Compose page, a web-based sender for use with any email address, and a link for desktop email applications
269
  5. Settings panel
270
+ 6. Color chooser for your universal share menu
271
 
272
  == Changelog ==
273
 
274
+ = 1.2.9.2 =
275
+ * Fix transparency on AddToAny's universal share icon
276
+ * Add addtoany_sharing_disabled hook to programmatically disable sharing
277
+ * Update Menu Options
278
+
279
  = 1.2.9.1 =
280
  * Update template code
281
  * Update Advanced Options description
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.9.1
7
  Author: micropat
8
  Author URI: http://www.addtoany.com/
9
  */
@@ -676,6 +676,7 @@ function A2A_SHARE_SAVE_add_to_content( $content ) {
676
  $is_feed = is_feed();
677
  $options = get_option( 'addtoany_options' );
678
  $sharing_disabled = get_post_meta( get_the_ID(), 'sharing_disabled', true );
 
679
 
680
  if ( ! $A2A_SHARE_SAVE_auto_placement_ready )
681
  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.9.2
7
  Author: micropat
8
  Author URI: http://www.addtoany.com/
9
  */
676
  $is_feed = is_feed();
677
  $options = get_option( 'addtoany_options' );
678
  $sharing_disabled = get_post_meta( get_the_ID(), 'sharing_disabled', true );
679
+ $sharing_disabled = apply_filters( 'addtoany_sharing_disabled', $sharing_disabled );
680
 
681
  if ( ! $A2A_SHARE_SAVE_auto_placement_ready )
682
  return $content;
addtoany.admin.php CHANGED
@@ -503,12 +503,12 @@ function A2A_SHARE_SAVE_options_page() {
503
  <td><fieldset>
504
  <label>
505
  <input name="A2A_SHARE_SAVE_onclick" type="checkbox"<?php if($options['onclick']=='1') echo ' checked="checked"'; ?> value="1"/>
506
- <?php _e('Only show the menu when the user clicks the Share/Save button', 'add-to-any'); ?>
507
  </label>
508
  <br />
509
  <label>
510
  <input name="A2A_SHARE_SAVE_show_title" type="checkbox"<?php if($options['show_title']=='1') echo ' checked="checked"'; ?> value="1"/>
511
- <?php _e('Show the title of the post (or page) within the menu', 'add-to-any'); ?>
512
  </label>
513
  </fieldset></td>
514
  </tr>
@@ -541,7 +541,7 @@ function A2A_SHARE_SAVE_options_page() {
541
  </label>
542
  <input name="A2A_SHARE_SAVE_custom_icons_url" type="text" class="code" size="50" style="vertical-align:middle" placeholder="//example.com/blog/uploads/addtoany/icons/custom/" value="<?php echo $options['custom_icons_url']; ?>" />
543
  <p class="description">
544
- <?php _e("Specify the URL of the directory containing your custom icons. For example, a URL of <code>//example.com/blog/uploads/addtoany/icons/custom/</code> containing <code>facebook.png</code> and <code>twitter.png</code>. Be sure that custom icon filenames match the icon filenames in <code>plugins/add-to-any/icons</code>. For AddToAny's Universal Button, select Image URL and specify the URL of your AddToAny universal sharing icon (<a href=\"#\" onclick=\"document.getElementsByName('A2A_SHARE_SAVE_button_custom')[0].focus();return false\">above</a>).", "add-to-any"); ?>
545
  </p>
546
  <br/>
547
  <label for="A2A_SHARE_SAVE_inline_css">
503
  <td><fieldset>
504
  <label>
505
  <input name="A2A_SHARE_SAVE_onclick" type="checkbox"<?php if($options['onclick']=='1') echo ' checked="checked"'; ?> value="1"/>
506
+ <?php _e('Only show the universal share menu when the user <em>clicks</em> the universal share button', 'add-to-any'); ?>
507
  </label>
508
  <br />
509
  <label>
510
  <input name="A2A_SHARE_SAVE_show_title" type="checkbox"<?php if($options['show_title']=='1') echo ' checked="checked"'; ?> value="1"/>
511
+ <?php _e('Show the title of the page within the universal share menu', 'add-to-any'); ?>
512
  </label>
513
  </fieldset></td>
514
  </tr>
541
  </label>
542
  <input name="A2A_SHARE_SAVE_custom_icons_url" type="text" class="code" size="50" style="vertical-align:middle" placeholder="//example.com/blog/uploads/addtoany/icons/custom/" value="<?php echo $options['custom_icons_url']; ?>" />
543
  <p class="description">
544
+ <?php _e("Specify the URL of the directory containing your custom icons. For example, a URL of <code>//example.com/blog/uploads/addtoany/icons/custom/</code> containing <code>facebook.png</code> and <code>twitter.png</code>. Be sure that custom icon filenames match the icon filenames in <code>plugins/add-to-any/icons</code>. For AddToAny's Universal Button, select Image URL and specify the URL of your AddToAny universal share icon (<a href=\"#\" onclick=\"document.getElementsByName('A2A_SHARE_SAVE_button_custom')[0].focus();return false\">above</a>).", "add-to-any"); ?>
545
  </p>
546
  <br/>
547
  <label for="A2A_SHARE_SAVE_inline_css">
favicon.png CHANGED
Binary file