Version Description
- Remove Google+ because Google is shutting down Google+
Download this release
Release Info
Developer | micropat |
Plugin | AddToAny Share Buttons |
Version | 1.7.35 |
Comparing to | |
See all releases |
Code changes from version 1.7.34 to 1.7.35
- README.txt +8 -9
- add-to-any.php +3 -13
- addtoany.admin.php +1 -13
- addtoany.services.php +0 -11
README.txt
CHANGED
@@ -4,13 +4,13 @@ Tags: buttons, share, icons, social media, share buttons, sharing, share button,
|
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 5.1
|
6 |
Requires PHP: 5.2
|
7 |
-
Stable tag: 1.7.
|
8 |
|
9 |
-
Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter,
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
-
The AddToAny Share Buttons plugin for WordPress increases traffic & engagement by helping people share your posts and pages to any service. Services include Facebook, Twitter, Pinterest,
|
14 |
|
15 |
AddToAny is the home of universal sharing, and the AddToAny plugin is the most popular share plugin for WordPress, making sites social media ready since 2006.
|
16 |
|
@@ -23,7 +23,7 @@ AddToAny is the home of universal sharing, and the AddToAny plugin is the most p
|
|
23 |
* **Image** sharing buttons - share buttons for [sharing images](https://www.addtoany.com/buttons/customize/wordpress/image_sharing)
|
24 |
* **Vector** share buttons & follow buttons — [custom color](https://www.addtoany.com/buttons/customize/wordpress/icon_color) SVG icons
|
25 |
* **Custom** share icons — use your own if you prefer
|
26 |
-
* Official buttons including the Facebook Like Button, Twitter Tweet Button, Pinterest Save Button,
|
27 |
* Universal email sharing makes it easy to share via Gmail, Yahoo Mail, Outlook.com (Hotmail), AOL Mail, and any other web or native apps
|
28 |
|
29 |
= Custom Placement & Appearance =
|
@@ -304,7 +304,7 @@ add_filter( 'addtoany_sharing_disabled', 'addtoany_disable_sharing_on_my_custom_
|
|
304 |
|
305 |
Go to Settings > AddToAny > Floating > select "Attach to content" then input the CSS selector(s) that match the HTML element you want to attach to.
|
306 |
|
307 |
-
= Why does the Facebook Like Button
|
308 |
|
309 |
The minimum width for the Facebook Like Button is 90 pixels. This is required to display the total number of Likes to the right of the button. See Facebook's <a href="https://developers.facebook.com/docs/plugins/like-button">Like Button documentation</a> for details
|
310 |
|
@@ -312,10 +312,6 @@ It's not recommended, but you can change the width of the Facebook Like Button u
|
|
312 |
|
313 |
The Pinterest Pin It Button with 'show count' enabled is 76 pixels. You can change the width using CSS code, for instance: `.a2a_button_pinterest_pin { width:90px !important; }`
|
314 |
|
315 |
-
The Google +1 Button with 'show count' enabled is 90 pixels. You can change the width using CSS code, for instance: `.a2a_button_google_plusone { width:65px !important; }`
|
316 |
-
|
317 |
-
The Google+ Share Button width can be changed using CSS code, for instance: `.a2a_button_google_plus_share { width:57px !important; }`
|
318 |
-
|
319 |
= Is AddToAny GDPR compatible? =
|
320 |
|
321 |
Yes, AddToAny is [GDPR compatible by default](https://www.addtoany.com/buttons/faq/#gdpr).
|
@@ -350,6 +346,9 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
|
|
350 |
|
351 |
== Changelog ==
|
352 |
|
|
|
|
|
|
|
353 |
= 1.7.34 =
|
354 |
* Add MeWe
|
355 |
* Update Evernote icon color
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 5.1
|
6 |
Requires PHP: 5.2
|
7 |
+
Stable tag: 1.7.35
|
8 |
|
9 |
+
Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, WhatsApp, Pinterest, Reddit, many more, and follow icons too.
|
10 |
|
11 |
== Description ==
|
12 |
|
13 |
+
The AddToAny Share Buttons plugin for WordPress increases traffic & engagement by helping people share your posts and pages to any service. Services include Facebook, Twitter, Pinterest, WhatsApp, LinkedIn, Tumblr, Reddit, WeChat, and over 100 more sharing and social media sites & apps.
|
14 |
|
15 |
AddToAny is the home of universal sharing, and the AddToAny plugin is the most popular share plugin for WordPress, making sites social media ready since 2006.
|
16 |
|
23 |
* **Image** sharing buttons - share buttons for [sharing images](https://www.addtoany.com/buttons/customize/wordpress/image_sharing)
|
24 |
* **Vector** share buttons & follow buttons — [custom color](https://www.addtoany.com/buttons/customize/wordpress/icon_color) SVG icons
|
25 |
* **Custom** share icons — use your own if you prefer
|
26 |
+
* Official buttons including the Facebook Like Button, Twitter Tweet Button, Pinterest Save Button, and LinkedIn Share Button
|
27 |
* Universal email sharing makes it easy to share via Gmail, Yahoo Mail, Outlook.com (Hotmail), AOL Mail, and any other web or native apps
|
28 |
|
29 |
= Custom Placement & Appearance =
|
304 |
|
305 |
Go to Settings > AddToAny > Floating > select "Attach to content" then input the CSS selector(s) that match the HTML element you want to attach to.
|
306 |
|
307 |
+
= Why does the Facebook Like Button or Pinterest Pin It Button have so much whitespace to the right of it? =
|
308 |
|
309 |
The minimum width for the Facebook Like Button is 90 pixels. This is required to display the total number of Likes to the right of the button. See Facebook's <a href="https://developers.facebook.com/docs/plugins/like-button">Like Button documentation</a> for details
|
310 |
|
312 |
|
313 |
The Pinterest Pin It Button with 'show count' enabled is 76 pixels. You can change the width using CSS code, for instance: `.a2a_button_pinterest_pin { width:90px !important; }`
|
314 |
|
|
|
|
|
|
|
|
|
315 |
= Is AddToAny GDPR compatible? =
|
316 |
|
317 |
Yes, AddToAny is [GDPR compatible by default](https://www.addtoany.com/buttons/faq/#gdpr).
|
346 |
|
347 |
== Changelog ==
|
348 |
|
349 |
+
= 1.7.35 =
|
350 |
+
* Remove Google+ because Google is [shutting down Google+](https://support.google.com/plus/answer/9195133)
|
351 |
+
|
352 |
= 1.7.34 =
|
353 |
* Add MeWe
|
354 |
* Update Evernote icon color
|
add-to-any.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: AddToAny Share Buttons
|
4 |
Plugin URI: https://www.addtoany.com/
|
5 |
Description: Share buttons for your pages including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp and many more.
|
6 |
-
Version: 1.7.
|
7 |
Author: AddToAny
|
8 |
Author URI: https://www.addtoany.com/
|
9 |
Text Domain: add-to-any
|
@@ -248,7 +248,7 @@ function ADDTOANY_SHARE_SAVE_ICONS( $args = array() ) {
|
|
248 |
|
249 |
// Include Facebook Like and Twitter Tweet etc. unless no_special_services arg is true
|
250 |
if ( ! isset( $args['no_special_services'] ) || false == $args['no_special_services'] ) {
|
251 |
-
array_unshift( $service_codes, 'facebook_like', 'twitter_tweet', '
|
252 |
}
|
253 |
|
254 |
// Use default services if services have not been selected yet
|
@@ -266,7 +266,7 @@ function ADDTOANY_SHARE_SAVE_ICONS( $args = array() ) {
|
|
266 |
if ( ! in_array( $active_service, $service_codes ) )
|
267 |
continue;
|
268 |
|
269 |
-
if ( $active_service == 'facebook_like' || $active_service == 'twitter_tweet' || $active_service == '
|
270 |
$special_args = $args;
|
271 |
$special_args['output_later'] = true;
|
272 |
$link = ADDTOANY_SHARE_SAVE_SPECIAL( $active_service, $special_args );
|
@@ -503,16 +503,6 @@ function ADDTOANY_SHARE_SAVE_SPECIAL( $special_service_code, $args = array() ) {
|
|
503 |
$special_html = sprintf( $special_anchor_template, $special_service_code, $custom_attributes );
|
504 |
}
|
505 |
|
506 |
-
elseif ( $special_service_code == 'google_plusone' ) {
|
507 |
-
$custom_attributes .= ' data-href="' . esc_attr( $args['linkurl'] ) . '"';
|
508 |
-
$special_html = sprintf( $special_anchor_template, $special_service_code, $custom_attributes );
|
509 |
-
}
|
510 |
-
|
511 |
-
elseif ( $special_service_code == 'google_plus_share' ) {
|
512 |
-
$custom_attributes .= ' data-href="' . esc_attr( $args['linkurl'] ) . '"';
|
513 |
-
$special_html = sprintf( $special_anchor_template, $special_service_code, $custom_attributes );
|
514 |
-
}
|
515 |
-
|
516 |
elseif ( $special_service_code == 'pinterest_pin' ) {
|
517 |
$custom_attributes .= ( isset( $options['special_pinterest_pin_options']['show_count'] )
|
518 |
&& $options['special_pinterest_pin_options']['show_count'] == '1' ) ? '' : ' data-pin-config="none"';
|
3 |
Plugin Name: AddToAny Share Buttons
|
4 |
Plugin URI: https://www.addtoany.com/
|
5 |
Description: Share buttons for your pages including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp and many more.
|
6 |
+
Version: 1.7.35
|
7 |
Author: AddToAny
|
8 |
Author URI: https://www.addtoany.com/
|
9 |
Text Domain: add-to-any
|
248 |
|
249 |
// Include Facebook Like and Twitter Tweet etc. unless no_special_services arg is true
|
250 |
if ( ! isset( $args['no_special_services'] ) || false == $args['no_special_services'] ) {
|
251 |
+
array_unshift( $service_codes, 'facebook_like', 'twitter_tweet', 'pinterest_pin' );
|
252 |
}
|
253 |
|
254 |
// Use default services if services have not been selected yet
|
266 |
if ( ! in_array( $active_service, $service_codes ) )
|
267 |
continue;
|
268 |
|
269 |
+
if ( $active_service == 'facebook_like' || $active_service == 'twitter_tweet' || $active_service == 'pinterest_pin' ) {
|
270 |
$special_args = $args;
|
271 |
$special_args['output_later'] = true;
|
272 |
$link = ADDTOANY_SHARE_SAVE_SPECIAL( $active_service, $special_args );
|
503 |
$special_html = sprintf( $special_anchor_template, $special_service_code, $custom_attributes );
|
504 |
}
|
505 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
506 |
elseif ( $special_service_code == 'pinterest_pin' ) {
|
507 |
$custom_attributes .= ( isset( $options['special_pinterest_pin_options']['show_count'] )
|
508 |
&& $options['special_pinterest_pin_options']['show_count'] == '1' ) ? '' : ' data-pin-config="none"';
|
addtoany.admin.php
CHANGED
@@ -397,12 +397,6 @@ function A2A_SHARE_SAVE_options_page() {
|
|
397 |
$new_options['special_twitter_tweet_options'] = array(
|
398 |
'show_count' => '-1' // Twitter doesn't provide counts anymore
|
399 |
);
|
400 |
-
$new_options['special_google_plusone_options'] = array(
|
401 |
-
'show_count' => '-1' // Google+ doesn't provide counts anymore
|
402 |
-
);
|
403 |
-
$new_options['special_google_plus_share_options'] = array(
|
404 |
-
'show_count' => '-1' // Google+ doesn't provide counts anymore
|
405 |
-
);
|
406 |
$new_options['special_pinterest_pin_options'] = array(
|
407 |
'show_count' => ( ( isset( $_POST['addtoany_pinterest_pin_show_count'] ) && $_POST['addtoany_pinterest_pin_show_count'] == '1' ) ? '1' : '-1' )
|
408 |
);
|
@@ -510,12 +504,6 @@ function A2A_SHARE_SAVE_options_page() {
|
|
510 |
<li id="a2a_wp_twitter_tweet" class="addtoany_special_service addtoany_3p_button" title="Twitter Tweet button">
|
511 |
<img src="<?php echo $A2A_SHARE_SAVE_plugin_url.'/icons/twitter_tweet_2x.png'; ?>" width="122" height="40" alt="Twitter Tweet" />
|
512 |
</li>
|
513 |
-
<li id="a2a_wp_google_plusone" class="addtoany_special_service addtoany_3p_button" title="Google +1 button">
|
514 |
-
<img src="<?php echo $A2A_SHARE_SAVE_plugin_url.'/icons/google_plusone_2x.png'; ?>" width="64" height="40" alt="Google +1" />
|
515 |
-
</li>
|
516 |
-
<li id="a2a_wp_google_plus_share" class="addtoany_special_service addtoany_3p_button" title="Google+ Share button">
|
517 |
-
<img src="<?php echo $A2A_SHARE_SAVE_plugin_url.'/icons/google_plus_share_2x.png'; ?>" width="113" height="40" alt="Google+ Share" />
|
518 |
-
</li>
|
519 |
<li id="a2a_wp_pinterest_pin" class="addtoany_special_service addtoany_3p_button" title="Pinterest Pin It button">
|
520 |
<img src="<?php echo $A2A_SHARE_SAVE_plugin_url.'/icons/pinterest_pin_2x.png'; ?>" width="80" height="40" alt="Pinterest Pin It" />
|
521 |
</li>
|
@@ -1026,7 +1014,7 @@ function A2A_SHARE_SAVE_admin_head() {
|
|
1026 |
jQuery('#addtoany_services_sortable').find('.dummy').hide();
|
1027 |
|
1028 |
// If special service that has special options
|
1029 |
-
if ( this_service_is_special && jQuery.inArray( this_service_name, ['twitter_tweet'
|
1030 |
// Common "Show count" for facebook, pinterest, pinterest_pin, etc.
|
1031 |
if (service_options[this_service_name] && service_options[this_service_name].show_count) {
|
1032 |
checked = ' checked="checked"';
|
397 |
$new_options['special_twitter_tweet_options'] = array(
|
398 |
'show_count' => '-1' // Twitter doesn't provide counts anymore
|
399 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
400 |
$new_options['special_pinterest_pin_options'] = array(
|
401 |
'show_count' => ( ( isset( $_POST['addtoany_pinterest_pin_show_count'] ) && $_POST['addtoany_pinterest_pin_show_count'] == '1' ) ? '1' : '-1' )
|
402 |
);
|
504 |
<li id="a2a_wp_twitter_tweet" class="addtoany_special_service addtoany_3p_button" title="Twitter Tweet button">
|
505 |
<img src="<?php echo $A2A_SHARE_SAVE_plugin_url.'/icons/twitter_tweet_2x.png'; ?>" width="122" height="40" alt="Twitter Tweet" />
|
506 |
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
507 |
<li id="a2a_wp_pinterest_pin" class="addtoany_special_service addtoany_3p_button" title="Pinterest Pin It button">
|
508 |
<img src="<?php echo $A2A_SHARE_SAVE_plugin_url.'/icons/pinterest_pin_2x.png'; ?>" width="80" height="40" alt="Pinterest Pin It" />
|
509 |
</li>
|
1014 |
jQuery('#addtoany_services_sortable').find('.dummy').hide();
|
1015 |
|
1016 |
// If special service that has special options
|
1017 |
+
if ( this_service_is_special && -1 === jQuery.inArray( this_service_name, ['twitter_tweet'] ) ) {
|
1018 |
// Common "Show count" for facebook, pinterest, pinterest_pin, etc.
|
1019 |
if (service_options[this_service_name] && service_options[this_service_name].show_count) {
|
1020 |
checked = ' checked="checked"';
|
addtoany.services.php
CHANGED
@@ -12,11 +12,6 @@ $A2A_SHARE_SAVE_services = array(
|
|
12 |
"icon" => "twitter",
|
13 |
"color" => "55ACEE",
|
14 |
),
|
15 |
-
"google_plus" => array(
|
16 |
-
"name" => "Google+",
|
17 |
-
"icon" => "google_plus",
|
18 |
-
"color" => "DD4B39",
|
19 |
-
),
|
20 |
"pinterest" => array(
|
21 |
"name" => "Pinterest",
|
22 |
"icon" => "pinterest",
|
@@ -540,12 +535,6 @@ $A2A_FOLLOW_services = array(
|
|
540 |
'icon' => 'github',
|
541 |
'color' => '2A2A2A',
|
542 |
),
|
543 |
-
'google_plus' => array(
|
544 |
-
'name' => 'Google+',
|
545 |
-
'href' => 'https://plus.google.com/${id}',
|
546 |
-
'icon' => 'google_plus',
|
547 |
-
'color' => 'DD4B39',
|
548 |
-
),
|
549 |
'linkedin' => array(
|
550 |
'name' => 'LinkedIn',
|
551 |
'href' => 'https://www.linkedin.com/in/${id}',
|
12 |
"icon" => "twitter",
|
13 |
"color" => "55ACEE",
|
14 |
),
|
|
|
|
|
|
|
|
|
|
|
15 |
"pinterest" => array(
|
16 |
"name" => "Pinterest",
|
17 |
"icon" => "pinterest",
|
535 |
'icon' => 'github',
|
536 |
'color' => '2A2A2A',
|
537 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
538 |
'linkedin' => array(
|
539 |
'name' => 'LinkedIn',
|
540 |
'href' => 'https://www.linkedin.com/in/${id}',
|