Version Description
Download this release
Release Info
Developer | micropat |
Plugin | AddToAny Share Buttons |
Version | 0.9.8.7 |
Comparing to | |
See all releases |
Code changes from version 0.9.8.6.9 to 0.9.8.7
- README.txt +1 -1
- add-to-any.php +6 -4
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.addtoany.com/contact/
|
|
4 |
Tags: bookmarking, social, social bookmarking, bookmark, bookmarks, sharing, share, saving, save, Post, posts, page, pages, images, image, admin, statistics, stats, links, plugin, widget, e-mail, email, seo, button, delicious, google, digg, reddit, facebook, myspace, addtoany, add, any
|
5 |
Requires at least: 2.0
|
6 |
Tested up to: 2.7
|
7 |
-
Stable tag: 0.9.8.
|
8 |
|
9 |
Helps readers share, save, bookmark, and email your posts and pages using any service, such as Delicious, Digg, Facebook, Twitter, and over 100 more.
|
10 |
|
4 |
Tags: bookmarking, social, social bookmarking, bookmark, bookmarks, sharing, share, saving, save, Post, posts, page, pages, images, image, admin, statistics, stats, links, plugin, widget, e-mail, email, seo, button, delicious, google, digg, reddit, facebook, myspace, addtoany, add, any
|
5 |
Requires at least: 2.0
|
6 |
Tested up to: 2.7
|
7 |
+
Stable tag: 0.9.8.7
|
8 |
|
9 |
Helps readers share, save, bookmark, and email your posts and pages using any service, such as Delicious, Digg, Facebook, Twitter, and over 100 more.
|
10 |
|
add-to-any.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Add to Any: Share/Save/Bookmark Button
|
4 |
Plugin URI: http://www.addtoany.com/
|
5 |
Description: Helps readers share, save, bookmark, and email your posts and pages using any service. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
|
6 |
-
Version: .9.8.
|
7 |
Author: Add to Any
|
8 |
Author URI: http://www.addtoany.com/contact/
|
9 |
*/
|
@@ -68,9 +68,11 @@ function ADDTOANY_SHARE_SAVE_BUTTON( $args = false) {
|
|
68 |
$button_src = trailingslashit(get_option('siteurl')).PLUGINDIR.'/'.dirname($A2A_SHARE_SAVE_plugin_basename).'/'.$button_fname;
|
69 |
}
|
70 |
if( $button_attrs[0] == 'favicon.png' || $button_attrs[0] == 'share_16_16.png' ) {
|
71 |
-
|
72 |
-
|
73 |
-
|
|
|
|
|
74 |
$button = 'Share/Save';
|
75 |
} else if( $button_text ) {
|
76 |
$button = $button_text;
|
3 |
Plugin Name: Add to Any: Share/Save/Bookmark Button
|
4 |
Plugin URI: http://www.addtoany.com/
|
5 |
Description: Helps readers share, save, bookmark, and email your posts and pages using any service. [<a href="options-general.php?page=add-to-any.php">Settings</a>]
|
6 |
+
Version: .9.8.7
|
7 |
Author: Add to Any
|
8 |
Author URI: http://www.addtoany.com/contact/
|
9 |
*/
|
68 |
$button_src = trailingslashit(get_option('siteurl')).PLUGINDIR.'/'.dirname($A2A_SHARE_SAVE_plugin_basename).'/'.$button_fname;
|
69 |
}
|
70 |
if( $button_attrs[0] == 'favicon.png' || $button_attrs[0] == 'share_16_16.png' ) {
|
71 |
+
if( !is_feed() ) {
|
72 |
+
$style_bg = 'background:url('.trailingslashit(get_option('siteurl')).PLUGINDIR.'/'.dirname($A2A_SHARE_SAVE_plugin_basename).'/'.$button_fname.') no-repeat scroll 0px 0px';
|
73 |
+
$style_bg = ';' . $style_bg . ' !important;';
|
74 |
+
$style = ' style="'.$style_bg.'padding:1px 5px 5px 22px"';
|
75 |
+
}
|
76 |
$button = 'Share/Save';
|
77 |
} else if( $button_text ) {
|
78 |
$button = $button_text;
|