Version Description
Download this release
Release Info
Developer | micropat |
Plugin | AddToAny Share Buttons |
Version | 0.9.9.5.4 |
Comparing to | |
See all releases |
Code changes from version 0.9.9.5.3 to 0.9.9.5.4
- README.txt +7 -3
- add-to-any.php +24 -18
- addtoany.min.css +1 -0
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, widget, e-mail, email, seo, button, delicious, google buzz, buzz, google, digg, reddit, facebook, myspace, twitter, stumbleupon, technorati, icon, icons, wpmu, addtoany, add, any
|
4 |
Requires at least: 2.0
|
5 |
Tested up to: 3.0
|
6 |
-
Stable tag: 0.9.9.5.
|
7 |
|
8 |
Help readers share, bookmark, and email your posts & pages using any service, such as Facebook, Twitter, Google Buzz, Digg, Delicious and many more.
|
9 |
|
@@ -133,11 +133,11 @@ To align center:
|
|
133 |
|
134 |
= How can I remove a button from individual posts and pages? =
|
135 |
|
136 |
-
|
137 |
|
138 |
= How can I force the button to appear in individual posts and pages? =
|
139 |
|
140 |
-
If your button isn't already set up to appear (it is by default),
|
141 |
|
142 |
= Why doesn't Facebook use the page title and how can I set the image Facebook uses? =
|
143 |
|
@@ -169,6 +169,10 @@ This is done to overcome browser limitations that prevent the drop-down menu fro
|
|
169 |
|
170 |
== Changelog ==
|
171 |
|
|
|
|
|
|
|
|
|
172 |
= .9.9.5.3 =
|
173 |
* SSL - HTTPS support
|
174 |
* Button will display automatically below posts (by default) only after the_title has been called
|
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, widget, e-mail, email, seo, button, delicious, google buzz, buzz, google, digg, reddit, facebook, myspace, twitter, stumbleupon, technorati, icon, icons, wpmu, addtoany, add, any
|
4 |
Requires at least: 2.0
|
5 |
Tested up to: 3.0
|
6 |
+
Stable tag: 0.9.9.5.4
|
7 |
|
8 |
Help readers share, bookmark, and email your posts & pages using any service, such as Facebook, Twitter, Google Buzz, Digg, Delicious and many more.
|
9 |
|
133 |
|
134 |
= How can I remove a button from individual posts and pages? =
|
135 |
|
136 |
+
Insert the following tag into the page or post (HTML tab) that you do not want the button to appear in: `<!--nosharesave-->`
|
137 |
|
138 |
= How can I force the button to appear in individual posts and pages? =
|
139 |
|
140 |
+
If your button isn't already set up to appear (it is by default), insert the following tag into the page or post (HTML tab) that you want the button to appear in: `<!--sharesave-->`
|
141 |
|
142 |
= Why doesn't Facebook use the page title and how can I set the image Facebook uses? =
|
143 |
|
169 |
|
170 |
== Changelog ==
|
171 |
|
172 |
+
= .9.9.5.4 =
|
173 |
+
* Inline CSS moved to external stylesheet
|
174 |
+
* CSS minification
|
175 |
+
|
176 |
= .9.9.5.3 =
|
177 |
* SSL - HTTPS support
|
178 |
* Button will display automatically below posts (by default) only after the_title has been called
|
add-to-any.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: AddToAny: Share/Bookmark/Email Button
|
4 |
Plugin URI: http://www.addtoany.com/
|
5 |
Description: Help readers share, 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.9.5.
|
7 |
Author: AddToAny
|
8 |
Author URI: http://www.addtoany.com/
|
9 |
*/
|
@@ -407,37 +407,43 @@ function A2A_SHARE_SAVE_button_css($no_style_tag) {
|
|
407 |
}
|
408 |
ul.addtoany_list a img{
|
409 |
opacity:.7;
|
410 |
-
<?php if ($no_style_tag) { /* IE support for opacity */ ?>
|
411 |
-
filter:alpha(opacity=70);
|
412 |
-
<?php } ?>
|
413 |
}
|
414 |
ul.addtoany_list a:hover img, ul.addtoany_list a.addtoany_share_save img{
|
415 |
opacity:1;
|
416 |
-
<?php if ($no_style_tag) { /* IE support for opacity */ ?>
|
417 |
-
filter:alpha(opacity=100);
|
418 |
-
<?php } ?>
|
419 |
}
|
420 |
<?php /* Must declare after "ul.addtoany_list img": */ ?>
|
421 |
a.addtoany_share_save img{border:0;width:auto;height:auto;}
|
422 |
<?php if ( ! $no_style_tag) { ?>
|
423 |
</style>
|
424 |
-
<?php
|
425 |
-
|
426 |
-
|
427 |
-
ul.addtoany_list a img{
|
428 |
-
filter:alpha(opacity=70);
|
429 |
-
}
|
430 |
-
ul.addtoany_list a:hover img, ul.addtoany_list a.addtoany_share_save img{
|
431 |
-
filter:alpha(opacity=100);
|
432 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
433 |
</style>
|
434 |
<![endif]-->
|
435 |
<?php
|
436 |
-
|
437 |
}
|
438 |
|
|
|
439 |
if (get_option('A2A_SHARE_SAVE_inline_css') != '-1') {
|
440 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
441 |
}
|
442 |
|
443 |
|
@@ -698,7 +704,7 @@ function A2A_SHARE_SAVE_options_page() {
|
|
698 |
<label for="A2A_SHARE_SAVE_inline_css">
|
699 |
<input name="A2A_SHARE_SAVE_inline_css"
|
700 |
type="checkbox"<?php if(get_option('A2A_SHARE_SAVE_inline_css')!='-1') echo ' checked="checked"'; ?> value="1"/>
|
701 |
-
<?php _e('Use
|
702 |
</label>
|
703 |
<br/><br/>
|
704 |
<div class="setting-description">
|
3 |
Plugin Name: AddToAny: Share/Bookmark/Email Button
|
4 |
Plugin URI: http://www.addtoany.com/
|
5 |
Description: Help readers share, 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.9.5.4
|
7 |
Author: AddToAny
|
8 |
Author URI: http://www.addtoany.com/
|
9 |
*/
|
407 |
}
|
408 |
ul.addtoany_list a img{
|
409 |
opacity:.7;
|
|
|
|
|
|
|
410 |
}
|
411 |
ul.addtoany_list a:hover img, ul.addtoany_list a.addtoany_share_save img{
|
412 |
opacity:1;
|
|
|
|
|
|
|
413 |
}
|
414 |
<?php /* Must declare after "ul.addtoany_list img": */ ?>
|
415 |
a.addtoany_share_save img{border:0;width:auto;height:auto;}
|
416 |
<?php if ( ! $no_style_tag) { ?>
|
417 |
</style>
|
418 |
+
<?php
|
419 |
+
A2A_SHARE_SAVE_button_css_IE();
|
420 |
+
}
|
|
|
|
|
|
|
|
|
|
|
421 |
}
|
422 |
+
|
423 |
+
function A2A_SHARE_SAVE_button_css_IE() {
|
424 |
+
/* IE support for opacity: */ ?>
|
425 |
+
<!--[if IE]>
|
426 |
+
<style type="text/css">
|
427 |
+
ul.addtoany_list a img{filter:alpha(opacity=70)}
|
428 |
+
ul.addtoany_list a:hover img,ul.addtoany_list a.addtoany_share_save img{filter:alpha(opacity=100)}
|
429 |
</style>
|
430 |
<![endif]-->
|
431 |
<?php
|
432 |
+
|
433 |
}
|
434 |
|
435 |
+
// Use stylesheet?
|
436 |
if (get_option('A2A_SHARE_SAVE_inline_css') != '-1') {
|
437 |
+
if (function_exists('wp_enqueue_style')) {
|
438 |
+
// WP version 2.1+ only
|
439 |
+
wp_enqueue_style('A2A_SHARE_SAVE', $A2A_SHARE_SAVE_plugin_url_path . '/addtoany.min.css', false, '1.0');
|
440 |
+
} else {
|
441 |
+
// Fallback to inline CSS for WP 2.0
|
442 |
+
add_filter('wp_head', 'A2A_SHARE_SAVE_button_css');
|
443 |
+
}
|
444 |
+
|
445 |
+
// Always output conditional inline CSS stylesheet for IE
|
446 |
+
add_filter('wp_head', 'A2A_SHARE_SAVE_button_css_IE');
|
447 |
}
|
448 |
|
449 |
|
704 |
<label for="A2A_SHARE_SAVE_inline_css">
|
705 |
<input name="A2A_SHARE_SAVE_inline_css"
|
706 |
type="checkbox"<?php if(get_option('A2A_SHARE_SAVE_inline_css')!='-1') echo ' checked="checked"'; ?> value="1"/>
|
707 |
+
<?php _e('Use CSS stylesheet', 'add-to-any'); ?> <strong>**</strong>
|
708 |
</label>
|
709 |
<br/><br/>
|
710 |
<div class="setting-description">
|
addtoany.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.addtoany_share_save_container{margin:16px 0}ul.addtoany_list{display:inline;list-style-type:none;margin:0!important;padding:0!important;text-indent:0!important}ul.addtoany_list li{background:none!important;border:0;display:inline!important;line-height:32px;list-style-type:none;margin:0!important;padding:0!important}ul.addtoany_list li:before{content:""}ul.addtoany_list li a{padding:0 9px}ul.addtoany_list img{float:none;border:0;margin:0;padding:0;vertical-align:middle}ul.addtoany_list a img{opacity:.7}ul.addtoany_list a:hover img,ul.addtoany_list a.addtoany_share_save img{opacity:1}a.addtoany_share_save img{border:0;width:auto;height:auto}
|