Version Description
- Improve vertical alignment consistency of 3rd party buttons across themes
Download this release
Release Info
Developer | micropat |
Plugin | AddToAny Share Buttons |
Version | 1.2.7.4 |
Comparing to | |
See all releases |
Code changes from version 1.2.7.3 to 1.2.7.4
- README.txt +37 -32
- add-to-any.php +2 -2
- addtoany.min.css +1 -1
README.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Share Buttons by AddToAny ===
|
2 |
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, pin, pin it, pinit, messenger, stumbleupon, technorati, lockerz, addthis, sexybookmarks, sociable, sharedaddy, shareaholic, icon, icons, vector, SVG, wpmu,
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 3.7
|
6 |
-
Stable tag: 1.2.7.
|
7 |
|
8 |
Share buttons for WordPress including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more.
|
9 |
|
@@ -11,15 +11,11 @@ Share buttons for WordPress including AddToAny's universal sharing button, Faceb
|
|
11 |
|
12 |
The WordPress sharing plugin to help people **share**, **bookmark**, and **email** your posts and pages using any service, such as Facebook, Twitter, Pinterest, Google, Reddit, Tumblr, StumbleUpon, LinkedIn, and well over 100 more sharing and social bookmarking sites.
|
13 |
|
14 |
-
Social **share icons** let you optimize your blog posts & pages for specific social sites. Choose from over 100 individual services.
|
15 |
-
|
16 |
<a href="http://www.addtoany.com/" title="Sharing buttons">Share Buttons</a> (demo)
|
17 |
|
18 |
-
3rd party buttons include the
|
19 |
-
|
20 |
-
This sharing plugin lets you customize the AddToAny universal Smart Menu, which places the services visitors use at the top of the menu based on each visitor's usage.
|
21 |
|
22 |
-
The Email tab makes it easy to share via Google Gmail, Yahoo! Mail, Outlook.com (Hotmail), AOL Mail, and any other web-based emailer or desktop program.
|
23 |
|
24 |
* **New**: Large vector sharing buttons!
|
25 |
* SVG sharing icons for the most popular services (and more to come)
|
@@ -32,14 +28,14 @@ The Email tab makes it easy to share via Google Gmail, Yahoo! Mail, Outlook.com
|
|
32 |
* Supports theme features such as HTML5 & XHTML, widgets, infinite scroll, post formats
|
33 |
* Many more publisher and user features
|
34 |
|
35 |
-
With **years of active development**, over **2.
|
36 |
|
37 |
<a href="http://www.addtoany.com/share_save" title="Share">Share this</a> plugin
|
38 |
|
39 |
See also:
|
40 |
|
41 |
-
* The standard <a href="http://www.addtoany.com/buttons/">Share button</a> code
|
42 |
-
* The <a href="/
|
43 |
|
44 |
<a href="http://www.addtoany.com/blog/">AddToAny Blog</a> | <a href="http://www.addtoany.com/privacy">Privacy Policy</a>
|
45 |
|
@@ -50,13 +46,19 @@ See also:
|
|
50 |
|
51 |
== Frequently Asked Questions ==
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
= Where are the options? =
|
54 |
|
55 |
-
In your Admin panel, go to `Settings` > `AddToAny`. Among other options, you can choose
|
56 |
|
57 |
To place the buttons as a "widget" in your theme (if your theme supports WordPress Widgets), go to `Appearance` > `Widgets`, then drag AddToAny to an available Widget Area and click `Save`.
|
58 |
|
59 |
-
= Why isn't the drop-down menu appearing? =
|
60 |
|
61 |
It's likely because your theme wasn't <a href="http://codex.wordpress.org/Theme_Development#Plugin_API_Hooks">coded properly</a>. With many themes you can use the Theme Editor to edit your theme's `header.php` and `footer.php` files.
|
62 |
|
@@ -66,6 +68,24 @@ In `header.php` place the following line of code just before the `</head>` line:
|
|
66 |
In `footer.php` place the following line of code just before the `</body>` line:
|
67 |
`<?php wp_footer(); ?>`
|
68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
= How can I add both the universal button and the individual icons to another area of my theme? =
|
70 |
|
71 |
In the Theme Editor, place this code block where you want the button and individual icons to appear in your theme:
|
@@ -171,23 +191,13 @@ An older method was to insert the following tag into the page or post (HTML tab)
|
|
171 |
|
172 |
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.
|
173 |
|
174 |
-
= Why doesn't Facebook use the page title and how can I set the image Facebook uses? =
|
175 |
-
|
176 |
-
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.
|
177 |
-
|
178 |
-
Try running Facebook's <a href="http://developers.facebook.com/tools/debug">URL Debugger</a> on your pages to see how Facebook is reading your site.
|
179 |
-
|
180 |
-
To change the title, description and/or image on Facebook, you will need to modify your theme's header file according to <a href="http://developers.facebook.com/docs/opengraph/">Facebook's specification</a>. With WordPress, this can be accomplished with plugins like the <a href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/">All in One SEO Pack plugin</a>. Please see that plugin for details, and post in the WordPress or plugin author's forums for more support.
|
181 |
-
|
182 |
-
For more technical information on setting your pages up for Facebook sharing, see "Step 2 - Get Open Graph Tags" in <a href="http://developers.facebook.com/docs/reference/plugins/like/">Facebook's documentation</a>.
|
183 |
-
|
184 |
= Why does the Facebook Like Button, Twitter Tweet Button, Pinterest Pin It Button, Google+ Share Button, or Google +1 Button have so much whitespace to the right of it? =
|
185 |
|
186 |
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="http://developers.facebook.com/docs/reference/plugins/like">Like Button documentation</a> for details
|
187 |
|
188 |
It's not recommended, but you can change the width of the Facebook Like Button using CSS code, for instance: `.a2a_button_facebook_like { width:50px !important; }`
|
189 |
|
190 |
-
|
191 |
|
192 |
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; }`
|
193 |
|
@@ -203,14 +213,6 @@ If you use the Facebook Like, Twitter Tweet or Google +1 buttons in an HTML5 the
|
|
203 |
|
204 |
Regardless of circumstances for passing W3C tests, the plugin will always output semantically valid and robot-readable code, so publishers do not have to worry about search engine crawler errors due to invalid code. Both <a href="http://en.wikipedia.org/wiki/Web_standards">web standards</a> and <a href="http://en.wikipedia.org/wiki/Cross-browser">cross-browser</a> are taken very seriously.
|
205 |
|
206 |
-
= Is there a shortcode for sharing? =
|
207 |
-
|
208 |
-
Yes, you can place your sharing buttons exactly where you want them by inserting the following shortcode in a post or page:
|
209 |
-
`[addtoany]`
|
210 |
-
|
211 |
-
You can also customize the shared URL like so:
|
212 |
-
`[addtoany url="http://www.example.com/page.html" title="Some Example Page"]`
|
213 |
-
|
214 |
= How can I move the plugin's inline CSS into my theme's main external stylesheet? =
|
215 |
|
216 |
Go to `Settings` > `AddToAny` > uncheck `Use inline CSS` and place the CSS code in your theme's main stylesheet.
|
@@ -234,6 +236,9 @@ Upload the plugin directory (including all files and directories within) to the
|
|
234 |
|
235 |
== Changelog ==
|
236 |
|
|
|
|
|
|
|
237 |
= 1.2.7.3 =
|
238 |
* Harden AJAX detection
|
239 |
|
1 |
=== Share Buttons by AddToAny ===
|
2 |
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, pin, pin it, pinit, messenger, stumbleupon, technorati, lockerz, addthis, sexybookmarks, sociable, sharedaddy, shareaholic, icon, icons, vector, SVG, wpmu, Add to Any, AddToAny
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 3.7
|
6 |
+
Stable tag: 1.2.7.4
|
7 |
|
8 |
Share buttons for WordPress including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, StumbleUpon and many more.
|
9 |
|
11 |
|
12 |
The WordPress sharing plugin to help people **share**, **bookmark**, and **email** your posts and pages using any service, such as Facebook, Twitter, Pinterest, Google, Reddit, Tumblr, StumbleUpon, LinkedIn, and well over 100 more sharing and social bookmarking sites.
|
13 |
|
|
|
|
|
14 |
<a href="http://www.addtoany.com/" title="Sharing buttons">Share Buttons</a> (demo)
|
15 |
|
16 |
+
Social share icons let you optimize your blog posts & pages for specific social sites. Choose from over 100 individual services. Additional 3rd party buttons include the Facebook Like Button, Twitter Tweet Button, Pinterest Pin It Button, Google+ Share Button and Google +1 Button.
|
|
|
|
|
17 |
|
18 |
+
This sharing plugin lets you customize the AddToAny universal Smart Menu, which places the services visitors use at the top of the menu based on each visitor's usage. The Email tab makes it easy to share via Google Gmail, Yahoo! Mail, Outlook.com (Hotmail), AOL Mail, and any other web-based emailer or desktop program.
|
19 |
|
20 |
* **New**: Large vector sharing buttons!
|
21 |
* SVG sharing icons for the most popular services (and more to come)
|
28 |
* Supports theme features such as HTML5 & XHTML, widgets, infinite scroll, post formats
|
29 |
* Many more publisher and user features
|
30 |
|
31 |
+
With **years of active development**, over **2.7 million downloads**, and **ongoing support from the community**, this plugin still strives to be the best WordPress plugin for sharing. Thanks for your feedback!
|
32 |
|
33 |
<a href="http://www.addtoany.com/share_save" title="Share">Share this</a> plugin
|
34 |
|
35 |
See also:
|
36 |
|
37 |
+
* The standard <a href="http://www.addtoany.com/buttons/for/website">Share button</a> code
|
38 |
+
* The <a href="/plugins/add-to-any-subscribe/" title="WordPress RSS Subscribe plugin">Subscribe button</a> plugin
|
39 |
|
40 |
<a href="http://www.addtoany.com/blog/">AddToAny Blog</a> | <a href="http://www.addtoany.com/privacy">Privacy Policy</a>
|
41 |
|
46 |
|
47 |
== Frequently Asked Questions ==
|
48 |
|
49 |
+
= Something is wrong. What should I try first? =
|
50 |
+
|
51 |
+
Try temporarily switching themes and disabling other plugins to identify a potential conflict. If you find a conflict, try contacting that theme or plugin author. If an issue persists on a default theme with all other plugins disabled, perform a google search across the WordPress forums using a query such as: <a href="https://www.google.com/#q=site:wordpress.org%2Fsupport+addtoany+">site:wordpress.org/support addtoany [your issue issue here]</a>
|
52 |
+
|
53 |
+
Feel free to <a href="http://wordpress.org/support/plugin/add-to-any">post here</a>, where the community can hopefully help you. Describe the issue, what troubleshooting you have already done, and provide a link to your site, and any other potentially relevant information.
|
54 |
+
|
55 |
= Where are the options? =
|
56 |
|
57 |
+
In your Admin panel, go to `Settings` > `AddToAny`. Among other options, you can choose individual sharing icons, a universal sharing button, and official 3rd party sharing buttons (Facebook Like Button, Twitter Tweet Button, Pinterest Pin It Button, Google+ Share Button, Google +1 Button) to display, and where and how to display them.
|
58 |
|
59 |
To place the buttons as a "widget" in your theme (if your theme supports WordPress Widgets), go to `Appearance` > `Widgets`, then drag AddToAny to an available Widget Area and click `Save`.
|
60 |
|
61 |
+
= Why isn't the universal drop-down menu appearing? =
|
62 |
|
63 |
It's likely because your theme wasn't <a href="http://codex.wordpress.org/Theme_Development#Plugin_API_Hooks">coded properly</a>. With many themes you can use the Theme Editor to edit your theme's `header.php` and `footer.php` files.
|
64 |
|
68 |
In `footer.php` place the following line of code just before the `</body>` line:
|
69 |
`<?php wp_footer(); ?>`
|
70 |
|
71 |
+
= Is there a shortcode for sharing? =
|
72 |
+
|
73 |
+
Yes, you can place your sharing buttons exactly where you want them by inserting the following shortcode in a post or page:
|
74 |
+
`[addtoany]`
|
75 |
+
|
76 |
+
You can also customize the shared URL like so:
|
77 |
+
`[addtoany url="http://www.example.com/page.html" title="Some Example Page"]`
|
78 |
+
|
79 |
+
= For Facebook sharing, how can I set the thumbnail image and description Facebook uses? =
|
80 |
+
|
81 |
+
Facebook does link sharing 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 that accept common parameters, Facebook only accepts a URL, then Facebook scans the actual page for details. To change the title, description or image on Facebook, you will need to modify your theme or use another plugin that filters your theme.
|
82 |
+
|
83 |
+
Try running Facebook's <a href="https://developers.facebook.com/tools/debug">URL Debugger</a> on your pages to see how Facebook reads your site.
|
84 |
+
|
85 |
+
To change the title, description and/or image on Facebook, your theme's header file should be modified according to <a href="https://developers.facebook.com/docs/opengraph/">Facebook's OpenGraph specification</a>. With WordPress, this can be accomplished with plugins such as the <a href="http://wordpress.org/plugins/wordpress-seo/">WordPress SEO by Yoast</a> or the <a href="http://wordpress.org/plugins/all-in-one-seo-pack/">All in One SEO Pack</a>. Please see those plugins for details, and post in the WordPress or plugin author's forums for more support.
|
86 |
+
|
87 |
+
For more technical information on setting your pages up for Facebook sharing, see "Facebook Sharing Checklist" in <a href="https://developers.facebook.com/docs/plugins/checklist/">Facebook's documentation</a>.
|
88 |
+
|
89 |
= How can I add both the universal button and the individual icons to another area of my theme? =
|
90 |
|
91 |
In the Theme Editor, place this code block where you want the button and individual icons to appear in your theme:
|
191 |
|
192 |
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.
|
193 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
194 |
= Why does the Facebook Like Button, Twitter Tweet Button, Pinterest Pin It Button, Google+ Share Button, or Google +1 Button have so much whitespace to the right of it? =
|
195 |
|
196 |
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="http://developers.facebook.com/docs/reference/plugins/like">Like Button documentation</a> for details
|
197 |
|
198 |
It's not recommended, but you can change the width of the Facebook Like Button using CSS code, for instance: `.a2a_button_facebook_like { width:50px !important; }`
|
199 |
|
200 |
+
The Twitter Tweet Button with 'show count' enabled is 130 pixels. You can change the width using CSS code, for instance: `.a2a_button_twitter_tweet { width:100px !important; }`
|
201 |
|
202 |
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; }`
|
203 |
|
213 |
|
214 |
Regardless of circumstances for passing W3C tests, the plugin will always output semantically valid and robot-readable code, so publishers do not have to worry about search engine crawler errors due to invalid code. Both <a href="http://en.wikipedia.org/wiki/Web_standards">web standards</a> and <a href="http://en.wikipedia.org/wiki/Cross-browser">cross-browser</a> are taken very seriously.
|
215 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
216 |
= How can I move the plugin's inline CSS into my theme's main external stylesheet? =
|
217 |
|
218 |
Go to `Settings` > `AddToAny` > uncheck `Use inline CSS` and place the CSS code in your theme's main stylesheet.
|
236 |
|
237 |
== Changelog ==
|
238 |
|
239 |
+
= 1.2.7.4 =
|
240 |
+
* Improve vertical alignment consistency of 3rd party buttons across themes
|
241 |
+
|
242 |
= 1.2.7.3 =
|
243 |
* Harden AJAX detection
|
244 |
|
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.
|
7 |
Author: micropat
|
8 |
Author URI: http://www.addtoany.com/
|
9 |
*/
|
@@ -731,7 +731,7 @@ function A2A_SHARE_SAVE_stylesheet() {
|
|
731 |
|
732 |
// Use stylesheet?
|
733 |
if ($A2A_SHARE_SAVE_options['inline_css'] != '-1' && ! is_admin()) {
|
734 |
-
wp_enqueue_style('A2A_SHARE_SAVE', $A2A_SHARE_SAVE_plugin_url_path . '/addtoany.min.css', false, '1.
|
735 |
}
|
736 |
}
|
737 |
|
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.4
|
7 |
Author: micropat
|
8 |
Author URI: http://www.addtoany.com/
|
9 |
*/
|
731 |
|
732 |
// Use stylesheet?
|
733 |
if ($A2A_SHARE_SAVE_options['inline_css'] != '-1' && ! is_admin()) {
|
734 |
+
wp_enqueue_style('A2A_SHARE_SAVE', $A2A_SHARE_SAVE_plugin_url_path . '/addtoany.min.css', false, '1.6');
|
735 |
}
|
736 |
}
|
737 |
|
addtoany.min.css
CHANGED
@@ -1 +1 @@
|
|
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
|
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 a,.addtoany_special_service div,.addtoany_special_service iframe,.addtoany_special_service span{margin:0;vertical-align:baseline}.addtoany_special_service iframe{max-width:none}a.addtoany_share_save img{border:0;width:auto;height:auto}
|