Version Description
- Adjust CSS to improve icon and text alignment
- Add FAQ for removing sharing button(s) from Archive pages (including Category, Tag, Author, Date, and Search pages)
Download this release
Release Info
Developer | micropat |
Plugin | AddToAny Share Buttons |
Version | 1.2.3 |
Comparing to | |
See all releases |
Code changes from version 1.2.2 to 1.2.3
- README.txt +10 -2
- add-to-any-wp-widget.php +1 -1
- add-to-any.php +4 -4
- addtoany.min.css +1 -1
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, sidebar, widget, email, e-mail, seo, button, delicious, google, tumblr, linkedin, digg, reddit, facebook, facebook like, like, myspace, twitter, tweet, +1, plus 1, google plus, google plus one, plus one, pinterest, messenger, stumbleupon, technorati, lockerz, addthis, sexybookmarks, sociable, sharedaddy, shareaholic, icon, icons, vector, SVG, wpmu, addtoany
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 3.7
|
6 |
-
Stable tag: 1.2.
|
7 |
|
8 |
Share buttons for WordPress including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more.
|
9 |
|
@@ -164,6 +164,10 @@ When editing a post or page, check the "Show sharing buttons" checkbox, which is
|
|
164 |
|
165 |
An older method was to insert the following tag into the page or post (HTML tab) that you want the button(s) to appear in: `<!--sharesave-->`
|
166 |
|
|
|
|
|
|
|
|
|
167 |
= Why doesn't Facebook use the page title and how can I set the image Facebook uses? =
|
168 |
|
169 |
Facebook does link sharing a little differently than most other services. Facebook expects the Title, Description, and Thumbnail of a shared page to be defined in the actual HTML code of a shared page. Unlike other services, Facebook does not accept the values you have set for your sharing widget. To change the title, description or image on Facebook, you will need to modify your theme.
|
@@ -225,8 +229,12 @@ Upload the plugin directory (including all files and directories within) to the
|
|
225 |
|
226 |
== Changelog ==
|
227 |
|
|
|
|
|
|
|
|
|
228 |
= 1.2.2 =
|
229 |
-
* Fix code
|
230 |
|
231 |
= 1.2.1 =
|
232 |
* Checkbox option to disable sharing buttons on each post and page
|
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, sidebar, widget, email, e-mail, seo, button, delicious, google, tumblr, linkedin, digg, reddit, facebook, facebook like, like, myspace, twitter, tweet, +1, plus 1, google plus, google plus one, plus one, pinterest, messenger, stumbleupon, technorati, lockerz, addthis, sexybookmarks, sociable, sharedaddy, shareaholic, icon, icons, vector, SVG, wpmu, addtoany
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 3.7
|
6 |
+
Stable tag: 1.2.3
|
7 |
|
8 |
Share buttons for WordPress including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more.
|
9 |
|
164 |
|
165 |
An older method was to insert the following tag into the page or post (HTML tab) that you want the button(s) to appear in: `<!--sharesave-->`
|
166 |
|
167 |
+
= How can I remove the button(s) from category pages, or tag/author/date/search pages? =
|
168 |
+
|
169 |
+
Go to `Settings` > `AddToAny` > uncheck `Display at the top or bottom of posts on archive pages`. Archive pages include Category, Tag, Author, Date, and also Search pages.
|
170 |
+
|
171 |
= Why doesn't Facebook use the page title and how can I set the image Facebook uses? =
|
172 |
|
173 |
Facebook does link sharing a little differently than most other services. Facebook expects the Title, Description, and Thumbnail of a shared page to be defined in the actual HTML code of a shared page. Unlike other services, Facebook does not accept the values you have set for your sharing widget. To change the title, description or image on Facebook, you will need to modify your theme.
|
229 |
|
230 |
== Changelog ==
|
231 |
|
232 |
+
= 1.2.3 =
|
233 |
+
* Adjust CSS to improve icon and text alignment
|
234 |
+
* Add <a href="http://wordpress.org/extend/plugins/add-to-any/faq/">FAQ</a> for removing sharing button(s) from Archive pages (including Category, Tag, Author, Date, and Search pages)
|
235 |
+
|
236 |
= 1.2.2 =
|
237 |
+
* Fix code formatting (indents, newlines)
|
238 |
|
239 |
= 1.2.1 =
|
240 |
* Checkbox option to disable sharing buttons on each post and page
|
add-to-any-wp-widget.php
CHANGED
@@ -41,7 +41,7 @@ class A2A_SHARE_SAVE_Widget extends WP_Widget {
|
|
41 |
}
|
42 |
|
43 |
/** @see WP_Widget::update */
|
44 |
-
function update($new_instance, $old_instance) {
|
45 |
$instance = $old_instance;
|
46 |
$instance['title'] = strip_tags($new_instance['title']);
|
47 |
return $instance;
|
41 |
}
|
42 |
|
43 |
/** @see WP_Widget::update */
|
44 |
+
function update($new_instance, $old_instance) {
|
45 |
$instance = $old_instance;
|
46 |
$instance['title'] = strip_tags($new_instance['title']);
|
47 |
return $instance;
|
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.
|
7 |
Author: micropat
|
8 |
Author URI: http://www.addtoany.com/
|
9 |
*/
|
@@ -304,8 +304,8 @@ function ADDTOANY_SHARE_SAVE_BUTTON( $args = array() ) {
|
|
304 |
|
305 |
if( isset($button_fname) && ($button_fname == 'favicon.png' || $button_fname == 'share_16_16.png') ) {
|
306 |
if( ! $is_feed) {
|
307 |
-
$style_bg = 'background:url('.$A2A_SHARE_SAVE_plugin_url_path.'/'.$button_fname.') no-repeat scroll
|
308 |
-
$style = ' style="'.$style_bg.'padding:0 0 0
|
309 |
}
|
310 |
}
|
311 |
|
@@ -689,7 +689,7 @@ function A2A_SHARE_SAVE_stylesheet() {
|
|
689 |
|
690 |
// Use stylesheet?
|
691 |
if ($A2A_SHARE_SAVE_options['inline_css'] != '-1' && ! is_admin()) {
|
692 |
-
wp_enqueue_style('A2A_SHARE_SAVE', $A2A_SHARE_SAVE_plugin_url_path . '/addtoany.min.css', false, '1.
|
693 |
}
|
694 |
}
|
695 |
|
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.3
|
7 |
Author: micropat
|
8 |
Author URI: http://www.addtoany.com/
|
9 |
*/
|
304 |
|
305 |
if( isset($button_fname) && ($button_fname == 'favicon.png' || $button_fname == 'share_16_16.png') ) {
|
306 |
if( ! $is_feed) {
|
307 |
+
$style_bg = 'background:url('.$A2A_SHARE_SAVE_plugin_url_path.'/'.$button_fname.') no-repeat scroll 4px 0px !important;';
|
308 |
+
$style = ' style="'.$style_bg.'padding:0 0 0 25px;display:inline-block;height:16px;vertical-align:middle"'; // padding-left:21+4 (4=other icons padding)
|
309 |
}
|
310 |
}
|
311 |
|
689 |
|
690 |
// Use stylesheet?
|
691 |
if ($A2A_SHARE_SAVE_options['inline_css'] != '-1' && ! is_admin()) {
|
692 |
+
wp_enqueue_style('A2A_SHARE_SAVE', $A2A_SHARE_SAVE_plugin_url_path . '/addtoany.min.css', false, '1.5');
|
693 |
}
|
694 |
}
|
695 |
|
addtoany.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.addtoany_share_save_container{clear:both;
|
1 |
+
.addtoany_share_save_container{clear:both;margin:16px 0}.addtoany_list{display:inline;line-height:16px}.addtoany_list a{display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle}.addtoany_list a img{height:auto;opacity:1;overflow:hidden;vertical-align:top;width:auto}.addtoany_list.a2a_kit_size_32 a{font-size:32px}.addtoany_list.a2a_kit_size_32 a span{border-radius:4px;display:inline-block;height:32px;line-height:32px;opacity:1;width:32px}.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>span,.addtoany_special_service>a,.addtoany_special_service>div{vertical-align:top}.addtoany_special_service iframe{max-width:none}a.addtoany_share_save img{border:0;width:auto;height:auto}
|