Version Description
- Add
addtoany_content
class name to container in content- The container's
addtoany_share_save_container
class name will be removed in a future plugin update - Reference
.addtoany_content
instead of.addtoany_share_save_container
- The container's
- Add
addtoany_share
class name to universal share button- The button's
addtoany_share_save
class name will be removed in a future plugin update - Reference
.addtoany_share
instead of.addtoany_share_save
- The button's
- Add Medium follow button
- Update Blogger service code
- Remove Klipfolio
- Remove Webnews
Download this release
Release Info
Developer | micropat |
Plugin | AddToAny Share Buttons |
Version | 1.7.23 |
Comparing to | |
See all releases |
Code changes from version 1.7.22 to 1.7.23
- README.txt +20 -5
- add-to-any.php +3 -4
- addtoany.min.css +1 -1
- addtoany.services.php +9 -8
- icons/klipfolio.svg +0 -1
- icons/medium.svg +1 -0
- icons/webnews.svg +0 -1
README.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: micropat, addtoany
|
|
3 |
Tags: AddToAny, share, sharing, social, share buttons, share button, social media, media, marketing, links, email, seo, woocommerce, google, linkedin, reddit, facebook, like, twitter, pinterest, whatsapp, instagram, youtube, share this, sharethis, feed, icons
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 4.9
|
6 |
-
Stable tag: 1.7.
|
7 |
|
8 |
Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp, many more, and follow icons too.
|
9 |
|
@@ -253,11 +253,11 @@ It depends on your theme, but you can try adding the following CSS code to your
|
|
253 |
|
254 |
To align right:
|
255 |
|
256 |
-
`.
|
257 |
|
258 |
To align center:
|
259 |
|
260 |
-
`.
|
261 |
|
262 |
= How can I remove the button(s) from individual posts and pages? =
|
263 |
|
@@ -351,10 +351,22 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
|
|
351 |
|
352 |
== Changelog ==
|
353 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
354 |
= 1.7.22 =
|
355 |
* Use WordPress 4.9 code editor for Additional CSS and Additional JavaScript boxes
|
356 |
* Rename CSS handles to `addtoany`
|
357 |
-
* Remove Use default CSS option
|
358 |
* If needed, you can disable the default stylesheet using `add_action( 'wp_enqueue_scripts', function() { wp_dequeue_style( 'addtoany' ); }, 21 );`
|
359 |
* Remove menu style button in admin
|
360 |
* Use Italian language pack (thanks truttle, blogforum)
|
@@ -938,8 +950,11 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
|
|
938 |
|
939 |
== Upgrade Notice ==
|
940 |
|
|
|
|
|
|
|
941 |
= 1.7.18 =
|
942 |
-
|
943 |
|
944 |
= 1.7.13 =
|
945 |
For [WooCommerce](https://woocommerce.com/) sites, the default standard placement for share buttons has moved from the product description to after the product meta block. You can customize exactly where share buttons display by [editing](https://docs.woocommerce.com/document/editing-projects-templates-safely/) your `share.php` Single Product Share template.
|
3 |
Tags: AddToAny, share, sharing, social, share buttons, share button, social media, media, marketing, links, email, seo, woocommerce, google, linkedin, reddit, facebook, like, twitter, pinterest, whatsapp, instagram, youtube, share this, sharethis, feed, icons
|
4 |
Requires at least: 3.7
|
5 |
Tested up to: 4.9
|
6 |
+
Stable tag: 1.7.23
|
7 |
|
8 |
Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp, many more, and follow icons too.
|
9 |
|
253 |
|
254 |
To align right:
|
255 |
|
256 |
+
`.addtoany_content { text-align:right; }`
|
257 |
|
258 |
To align center:
|
259 |
|
260 |
+
`.addtoany_content { text-align:center; }`
|
261 |
|
262 |
= How can I remove the button(s) from individual posts and pages? =
|
263 |
|
351 |
|
352 |
== Changelog ==
|
353 |
|
354 |
+
= 1.7.23 =
|
355 |
+
* Add `addtoany_content` class name to container in content
|
356 |
+
* The container's `addtoany_share_save_container` class name will be removed in a future plugin update
|
357 |
+
* Reference `.addtoany_content` instead of `.addtoany_share_save_container`
|
358 |
+
* Add `addtoany_share` class name to universal share button
|
359 |
+
* The button's `addtoany_share_save` class name will be removed in a future plugin update
|
360 |
+
* Reference `.addtoany_share` instead of `.addtoany_share_save`
|
361 |
+
* Add Medium follow button
|
362 |
+
* Update Blogger service code
|
363 |
+
* Remove Klipfolio
|
364 |
+
* Remove Webnews
|
365 |
+
|
366 |
= 1.7.22 =
|
367 |
* Use WordPress 4.9 code editor for Additional CSS and Additional JavaScript boxes
|
368 |
* Rename CSS handles to `addtoany`
|
369 |
+
* Remove "Use default CSS" option
|
370 |
* If needed, you can disable the default stylesheet using `add_action( 'wp_enqueue_scripts', function() { wp_dequeue_style( 'addtoany' ); }, 21 );`
|
371 |
* Remove menu style button in admin
|
372 |
* Use Italian language pack (thanks truttle, blogforum)
|
950 |
|
951 |
== Upgrade Notice ==
|
952 |
|
953 |
+
= 1.7.23 =
|
954 |
+
If you have CSS code customizations referencing the universal button (`.addtoany_share_save`) or the standard share buttons container (`.addtoany_share_save_container`), those class names have been deprecated and will be removed in a future plugin update. The new class names are `.addtoany_share` and `.addtoany_content` respectively. Please update your custom CSS if you are referencing the deprecated class names.
|
955 |
+
|
956 |
= 1.7.18 =
|
957 |
+
The background for floating bars now defaults to `transparent`. You can change the background for your floating bars in the "Floating" tab of Settings > AddToAny.
|
958 |
|
959 |
= 1.7.13 =
|
960 |
For [WooCommerce](https://woocommerce.com/) sites, the default standard placement for share buttons has moved from the product description to after the product meta block. You can customize exactly where share buttons display by [editing](https://docs.woocommerce.com/document/editing-projects-templates-safely/) your `share.php` Single Product Share template.
|
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
|
@@ -465,7 +465,7 @@ function ADDTOANY_SHARE_SAVE_BUTTON( $args = array() ) {
|
|
465 |
$button_class .= ' a2a_counter';
|
466 |
}
|
467 |
|
468 |
-
$button_html = $html_container_open . $html_wrap_open . '<a class="a2a_dd' . $button_class . $button_additional_classes . ' addtoany_share_save" href="https://www.addtoany.com/share' .$button_href_querystring . '"'
|
469 |
. $button_data_url . $button_data_title . $button_data_media . $button_target
|
470 |
. '>' . $button . '</a>';
|
471 |
|
@@ -764,7 +764,6 @@ function A2A_SHARE_SAVE_head_script() {
|
|
764 |
. ( $icon_color ? "\n" . 'a2a_config.icon_color="' . $icon_color . '";' : '' )
|
765 |
. ( isset( $options['onclick'] ) && '1' == $options['onclick'] ? "\n" . 'a2a_config.onclick=1;' : '' )
|
766 |
. ( $additional_js ? "\n" . stripslashes( $additional_js ) : '' );
|
767 |
-
$A2A_SHARE_SAVE_external_script_called = true;
|
768 |
|
769 |
$javascript_header = "\n" . '<script type="text/javascript">' . "\n"
|
770 |
|
@@ -880,7 +879,7 @@ function A2A_SHARE_SAVE_add_to_content( $content ) {
|
|
880 |
$kit_args['html_wrap_open'] = '';
|
881 |
$kit_args['html_wrap_close'] = '';
|
882 |
} else {
|
883 |
-
$container_wrap_open = '<div class="addtoany_share_save_container %s">'; // Contains placeholder
|
884 |
$container_wrap_open .= $html_header;
|
885 |
$container_wrap_close = '</div>';
|
886 |
}
|
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.23
|
7 |
Author: AddToAny
|
8 |
Author URI: https://www.addtoany.com/
|
9 |
Text Domain: add-to-any
|
465 |
$button_class .= ' a2a_counter';
|
466 |
}
|
467 |
|
468 |
+
$button_html = $html_container_open . $html_wrap_open . '<a class="a2a_dd' . $button_class . $button_additional_classes . ' addtoany_share_save addtoany_share" href="https://www.addtoany.com/share' .$button_href_querystring . '"'
|
469 |
. $button_data_url . $button_data_title . $button_data_media . $button_target
|
470 |
. '>' . $button . '</a>';
|
471 |
|
764 |
. ( $icon_color ? "\n" . 'a2a_config.icon_color="' . $icon_color . '";' : '' )
|
765 |
. ( isset( $options['onclick'] ) && '1' == $options['onclick'] ? "\n" . 'a2a_config.onclick=1;' : '' )
|
766 |
. ( $additional_js ? "\n" . stripslashes( $additional_js ) : '' );
|
|
|
767 |
|
768 |
$javascript_header = "\n" . '<script type="text/javascript">' . "\n"
|
769 |
|
879 |
$kit_args['html_wrap_open'] = '';
|
880 |
$kit_args['html_wrap_close'] = '';
|
881 |
} else {
|
882 |
+
$container_wrap_open = '<div class="addtoany_share_save_container addtoany_content %s">'; // Contains placeholder
|
883 |
$container_wrap_open .= $html_header;
|
884 |
$container_wrap_close = '</div>';
|
885 |
}
|
addtoany.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.
|
1 |
+
.addtoany_content{clear:both;margin:16px 0}.addtoany_header{margin:0 0 16px}.addtoany_list{display:inline;line-height:16px}.addtoany_list a,.widget .addtoany_list a{border:0;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle}.addtoany_list a img{border:0;display:inline-block;opacity:1;overflow:hidden;vertical-align:baseline}.addtoany_list a span{display:inline-block;float:none}.addtoany_list.a2a_kit_size_32 a{font-size:32px}.addtoany_list.a2a_kit_size_32 a>span{height:32px;line-height:32px;width:32px}.addtoany_list a>span{border-radius:4px;display:inline-block;opacity:1}.addtoany_list a .a2a_count{position:relative;vertical-align:top}.addtoany_list a:hover,.widget .addtoany_list a:hover{border:0;box-shadow:none}.addtoany_list a:hover img,.addtoany_list a:hover span{opacity:.7}.addtoany_list a.addtoany_special_service:hover img,.addtoany_list a.addtoany_special_service:hover span{opacity:1}.addtoany_special_service{display:inline-block;vertical-align:middle}.addtoany_special_service a,.addtoany_special_service div,.addtoany_special_service div.fb_iframe_widget,.addtoany_special_service iframe,.addtoany_special_service span{margin:0;vertical-align:baseline!important}.addtoany_special_service iframe{display:inline;max-width:none}a.addtoany_share.addtoany_no_icon span.a2a_img_text{display:none}a.addtoany_share img{border:0;width:auto;height:auto}
|
addtoany.services.php
CHANGED
@@ -82,8 +82,8 @@ $A2A_SHARE_SAVE_services = array(
|
|
82 |
"icon" => "blinklist",
|
83 |
"color" => "3D3C3B",
|
84 |
),
|
85 |
-
"
|
86 |
-
"name" => "Blogger
|
87 |
"icon" => "blogger",
|
88 |
"color" => "FDA352",
|
89 |
),
|
@@ -502,11 +502,6 @@ $A2A_SHARE_SAVE_services = array(
|
|
502 |
"icon" => "wanelo",
|
503 |
"color" => "9cb092",
|
504 |
),
|
505 |
-
"webnews" => array(
|
506 |
-
"name" => "Webnews",
|
507 |
-
"icon" => "webnews",
|
508 |
-
"color" => "CC2512",
|
509 |
-
),
|
510 |
"wechat" => array(
|
511 |
"name" => "WeChat",
|
512 |
"icon" => "wechat",
|
@@ -628,11 +623,17 @@ $A2A_FOLLOW_services = array(
|
|
628 |
'icon' => 'linkedin',
|
629 |
'color' => '007BB5',
|
630 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
631 |
'snapchat' => array(
|
632 |
'name' => 'Snapchat',
|
633 |
'href' => 'https://www.snapchat.com/add/${id}',
|
634 |
'icon' => 'snapchat',
|
635 |
-
'color' => '',
|
636 |
),
|
637 |
'tumblr' => array(
|
638 |
'name' => 'Tumblr',
|
82 |
"icon" => "blinklist",
|
83 |
"color" => "3D3C3B",
|
84 |
),
|
85 |
+
"blogger" => array(
|
86 |
+
"name" => "Blogger",
|
87 |
"icon" => "blogger",
|
88 |
"color" => "FDA352",
|
89 |
),
|
502 |
"icon" => "wanelo",
|
503 |
"color" => "9cb092",
|
504 |
),
|
|
|
|
|
|
|
|
|
|
|
505 |
"wechat" => array(
|
506 |
"name" => "WeChat",
|
507 |
"icon" => "wechat",
|
623 |
'icon' => 'linkedin',
|
624 |
'color' => '007BB5',
|
625 |
),
|
626 |
+
'medium' => array(
|
627 |
+
'name' => 'Medium',
|
628 |
+
'href' => 'https://medium.com/@${id}',
|
629 |
+
'icon' => 'medium',
|
630 |
+
'color' => '2A2A2A',
|
631 |
+
),
|
632 |
'snapchat' => array(
|
633 |
'name' => 'Snapchat',
|
634 |
'href' => 'https://www.snapchat.com/add/${id}',
|
635 |
'icon' => 'snapchat',
|
636 |
+
'color' => '2A2A2A',
|
637 |
),
|
638 |
'tumblr' => array(
|
639 |
'name' => 'Tumblr',
|
icons/klipfolio.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M4.872 27.71v-20h2.842v9.918l7.98-9.92h2.883l-6.74 8.105L18.87 27.71h-2.806l-5.72-10.123L7.71 20.78v6.93H4.87zm22.256-15.418l-8-8h8" fill="#FFF"/></svg>
|
|
icons/medium.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M7.8 11a.8.8 0 0 0-.27-.7l-2-2.42v-.41h6.23L16.57 18l4.24-10.53h5.94v.36L25 9.47a.5.5 0 0 0-.19.48v12.1a.5.5 0 0 0 .19.48l1.68 1.64v.36h-8.4v-.36L20 22.49c.18-.17.18-.22.18-.49v-9.77l-4.82 12.26h-.65L9.09 12.23v8.22a1.09 1.09 0 0 0 .31.94l2.25 2.74v.36h-6.4v-.36l2.26-2.74a1.09 1.09 0 0 0 .29-.94z" fill="#fff"/></svg>
|
icons/webnews.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#FFF" d="M6 6h5.48v14.557h1.843V6h5.397v14.557h1.852V6H26v18.196h-1.82V26h-7.25v-1.825h-1.838V26h-7.25v-1.825H6V6z"/></svg>
|
|