AddToAny Share Buttons - Version 1.6.13

Version Description

  • Fix automatic placement in post excerpts for certain themes & plugins that display post content on a page (thanks Agis)
Download this release

Release Info

Developer micropat
Plugin Icon 128x128 AddToAny Share Buttons
Version 1.6.13
Comparing to
See all releases

Code changes from version 1.6.12 to 1.6.13

Files changed (2) hide show
  1. README.txt +16 -670
  2. add-to-any.php +1 -13
README.txt CHANGED
@@ -1,9 +1,9 @@
1
  === AddToAny Share Buttons ===
2
  Contributors: micropat, addtoany
3
- Tags: AddToAny, sharing, share, social, share button, share buttons, share links, social media, media, marketing, bookmark, bookmarks, save, post, posts, page, pages, images, image, admin, analytics, statistics, stats, links, plugin, shortcode, sidebar, widget, responsive, email, e-mail, print, seo, button, woocommerce, ecommerce, e-commerce, amazon, delicious, google, tumblr, linkedin, digg, reddit, facebook, facebook share, facebook like, like, twitter, twitter button, twitter share, tweet, tweet button, google plus, pinterest, pin, pin it, pinit, wanelo, buffer, stumbleupon, bitly, whatsapp, instagram, behance, flickr, foursquare, vimeo, youtube, feed, rss, lockerz, addthis, sociable, share this, sharethis, shareaholic, icon, icons, vector, SVG, floating, floating buttons, wpml, wpmu, Add to Any
4
  Requires at least: 2.8
5
  Tested up to: 4.4
6
- Stable tag: 1.6.12
7
 
8
  Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp, many more, and follow icons too.
9
 
@@ -118,16 +118,19 @@ Try another web browser, device, and/or Internet connection to see if the button
118
  Yes, you can place your sharing buttons exactly where you want them by inserting the following shortcode in a post or page:
119
  `[addtoany]`
120
 
121
- You can also customize the shared URL like so:
122
  `[addtoany url="https://www.example.com/page.html" title="Some Example Page"]`
123
 
 
 
 
124
  = For Facebook sharing, how can I set the thumbnail image and description Facebook uses? =
125
 
126
- 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.
127
 
128
- 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. "Fetch new scrape information" to test site changes and clear Facebook's cache of a page.
129
 
130
- 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/sharing/opengraph">Facebook's OpenGraph specification</a>. With WordPress, this can be accomplished with plugins such as the <a href="https://wordpress.org/plugins/wordpress-seo/">Yoast SEO</a> or the <a href="https://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.
131
 
132
  For more technical information on setting your pages up for Facebook sharing, see "Sharing Best Practices for Websites" in <a href="https://developers.facebook.com/docs/sharing/best-practices">Facebook's documentation</a>.
133
 
@@ -296,6 +299,9 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
296
 
297
  == Changelog ==
298
 
 
 
 
299
  = 1.6.12 =
300
  * Enable counters on floating share buttons when enabled for standard share buttons
301
  * Fix settings link for Multisite administrators (thanks Jan)
@@ -722,670 +728,13 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
722
  * Adjust CSS to accommodate external resources for advanced 3rd party buttons
723
  * Lithuanian translation (by Vincent G.)
724
 
725
- = .9.9.9.9 =
726
- * Fix hardcoded fallbacks for sharing endpoints
727
- * Strip HTML entities from Titles before URL encoding
728
-
729
- = .9.9.9.8 =
730
- * Add Pinterest
731
- * Add Polish translation
732
- * Add QQ icon
733
- * Add Google+ icon
734
- * Add Lockerz icon
735
-
736
- = .9.9.9.7 =
737
- * Add option: Display at the top or bottom of posts on archive pages
738
- * Archive pages include Category, Tag, Author, Date, and also Search pages
739
- * Fix & workaround for bbPress
740
- * Minor fix for WordPress widget
741
- * Add code to FAQ for sharing current page with hardcoded placement in theme file(s)
742
-
743
- = .9.9.9.6 =
744
- * Fix Command key character in alert box
745
- * Add QQ Share service
746
- * Update branding
747
- * Update Google+ icon
748
- * Update Microsoft Messenger icon
749
- * Update VK / icon
750
- * Update screenshots
751
- * Compress images
752
-
753
- = .9.9.9.5 =
754
- * Add Google+ as standalone service (endpoint is an external +1 button until Google+ offers a traditional sharing endpoint)
755
- * Fix Vodpod casing
756
- * Remove DailyMe
757
- * Remove Expression
758
- * Remove Google Buzz
759
- * Remove MSDN
760
- * Remove MindBodyGreen
761
- * Remove Mixx
762
- * Remove Shoutwire
763
- * Remove TechNet
764
- * Update Arabic translation
765
-
766
- = .9.9.9.4 =
767
- * Fix Google +1 Button (Google changed the URL)
768
- * Fix Irish translation filename
769
- * Russian translation update (by Elvis)
770
-
771
- = .9.9.9.3 =
772
- * W3C XHTML validation fix for the Google +1 Button iframe (thanks bobpeers)
773
- * Remove condition for displaying target attribute on standalone services so that custom service links open in a new window (thanks kg69design)
774
- * Irish translation (by Ray)
775
-
776
- = .9.9.9.2 =
777
- * Facebook Like Button can be changed to Facebook Recommend Button (verb/action)
778
- * Twitter Tweet Button count (optional - see FAQ for width adjustment)
779
- * Google +1 Button count (optional - see FAQ for width adjustment)
780
-
781
- = .9.9.9.1 =
782
- * Major fixes
783
- * Fix execution of Additional Options
784
- * Fix PHP warning that appears when AddToAny is not on the current page
785
- * Add Google +1 button image for admin
786
-
787
- = .9.9.9 =
788
- * Asynchronous loading (faster, non-blocking, major new feature!)
789
- * Supports most themes and additionally works around buggy themes that improperly process content for excerpts, featured/related posts, etc.
790
- * Improperly-coded themes may prevent AddToAny from fully loading
791
- * If your theme is coded improperly, you can switch to the previous plugin version until you switch to a working theme or your theme author fixes the issue
792
- * See the FAQ entry for "Why isn't the drop-down menu appearing?" for more information
793
- * Google +1 button
794
- * HTTPS support for Facebook Like & Twitter Tweet buttons (Google +1 button always uses HTTPS)
795
-
796
- = .9.9.8.3 =
797
- * Fix Facebook Like cut-off issue in IE8
798
- * Increase Facebook Like height by 1 pixel to accommodate IE8's calculated height for iframes
799
-
800
- = .9.9.8.2 =
801
- * Remove `frameborder` attribute (except for IE) on Tweet & Like iframes to support W3C validation against HTML5 themes
802
- * Note:
803
- * The `scrolling` attribute is considered obsolete in HTML5 but is needed to prevent scrollbars from appearing over Like & Tweet buttons
804
- * AddToAny still outputs semantic and robot-readable code, so publishers do not have to worry about search engine crawler errors due to invalid code
805
- * Update icons and fix transparency issues on dark backgrounds
806
- * AIM
807
- * Amazon
808
- * Netlog
809
- * Orkut
810
- * StumbleUpon
811
- * WordPress
812
- * Yahoo Messenger
813
-
814
- = .9.9.8.1 =
815
- * Add WordPress Must-Use plugin support for WordPress Multisite Networks
816
- * Fixes for debug mode notices
817
-
818
- = .9.9.8 =
819
- * WordPress widget for sharing
820
- * In your Admin panel, go to `Appearance` > `Widgets`, then drag AddToAny to an available Widget Area (if your theme supports widgets) and click `Save`
821
- * The widget will share the current page
822
- * Shortcode for sharing
823
- * Usage for sharing current post or page: `[addtoany]`
824
- * Usage for sharing a specific URL: `[addtoany url="https://www.example.com/page.html" title="Some Example Page"]`
825
- * Add use_current_page boolean argument to PHP template code (default is false)
826
-
827
- = .9.9.7.14 =
828
- * Simplify plugin's option as "AddToAny"
829
- * Greek translation update (by Xaris from <a href="http://www.aggeliopolis.gr/">Aggeliopolis</a>)
830
- * Update Facebook FAQ
831
- * Update Facebook HTTP referrer
832
- * Update Microsoft Messenger (Windows Live) icon
833
-
834
- = .9.9.7.13 =
835
- * Fix IE conditional comment bug that affects Facebook Like button & Twitter Tweet button iframes in some browsers
836
-
837
- = .9.9.7.12 =
838
- * Update Tumblr icon (thanks Matt)
839
- * Reduce icon filesizes
840
- * blip.png
841
- * box.png
842
- * business_exchange.png
843
- * diary_ru.png
844
- * folkd.png
845
- * google_buzz.png
846
- * grono.png
847
- * identica.png
848
- * meneame.png
849
- * messenger.png
850
- * mozillaca.png
851
- * newstrust.png
852
- * orkut.png
853
- * posterous.png
854
- * print.png
855
- * printfriendly.png
856
- * tuenti.png
857
- * tumblr.png
858
- * wykop.png
859
- * xing.png
860
-
861
- = .9.9.7.11 =
862
- * Turkish translation (by Fatih Aker)
863
- * Russian translation update (by Elvis)
864
-
865
- = .9.9.7.10 =
866
- * Fix initial button text for 16px icons in admin
867
- * Harden global options
868
- * Move conditional logic into hooks
869
- * Remove WP 2.6 version detection for jQuery UI and version globals
870
-
871
- = .9.9.7.9 =
872
- * Fix global options
873
- * Fix options variable debug mode notice
874
- * Suppress debug mode notices upon saving options
875
-
876
- = .9.9.7.8 =
877
- * New "Add to Favorites" & "Bookmark" standalone service for browser bookmarking
878
- * Support JS escaping for extending standalone services (A2A Kit)
879
- * Rename VK to the more recognized Vkontakte
880
-
881
- = .9.9.7.7 =
882
- * Fix IE iframe transparency issue for Facebook Like & Twitter Tweet buttons
883
- * Note: Extra IE conditional markup added to maintain W3C validity
884
- * Remove stray colon character appended to Twitter Tweet button URL
885
- * Italian translation update (by Gianni)
886
-
887
- = .9.9.7.6 =
888
- * Add option: Display at the top of posts
889
- * Add option: Display at the top and bottom of posts
890
- * Update option migration logic
891
- * Update localization strings
892
- * Update Romanian translation (thanks to Horia)
893
-
894
- = .9.9.7.5 =
895
- * Improved inclusion method for services.php (thanks to bigorangemachine)
896
- * Migrate option rows into one option row to improve backend efficiency
897
- * Reset button in settings
898
-
899
- = .9.9.7.4 =
900
- * Major fix for some setups to fix PHP header error due to newline in services.php
901
-
902
- = .9.9.7.3 =
903
- * Fix sharing button link in RSS feeds (thanks to Giuliano)
904
- * Add Rediff MyPage
905
- * Add Business Exchange
906
- * Remove detection against versions before 2.6 for SSL support
907
-
908
- = .9.9.7.2 =
909
- * Omit sharing on private posts
910
-
911
- = .9.9.7.1 =
912
- * New Print standalone service
913
- * Fix custom services added to plugin services array
914
- * Fix icons native vs. URL logic
915
- * Buttons updated
916
- * Myspace icon updated
917
- * Add Microsoft Messenger
918
- * Add Sina
919
- * Remove Windows Live Favorites
920
- * Remove Windows Live Spaces
921
- * Remove Propeller
922
- * German translation (by Richard Laufenberg of MediaCenter Laufenberg)
923
-
924
- = .9.9.7 =
925
- * W3C XHTML validation fix for the Twitter Tweet iframe
926
- * Remove non-standard allowtransparency attribute on Like & Tweet iframes
927
- * Note that Like & Tweet (both require iframes) will not validate for themes that use a Strict doctype because XHTML Strict does not support frames
928
- * Update standalone Twitter icon
929
- * Persian translation (by Najeekurd)
930
-
931
- = .9.9.6.9 =
932
- * Facebook Like button
933
- * Twitter Tweet button
934
- * Standalone service chooser - improved drag & drop and styling
935
- * Update CSS to support Like and Tweet
936
-
937
- = .9.9.6.8 =
938
- * A2A Kit is now inline again for backwards compatibility with manual placements
939
- * Container (used for the default auto-placement) now clears floats to fix position issue when an image is aligned left or right
940
-
941
- = .9.9.6.7 =
942
- * Major overhaul of CSS stylesheet again
943
- * Fix A2A Kit styling for manual placements
944
- * Simplify A2A Kit styling
945
- * Remove short-lived clearfix
946
- * Remove legacy fallback to inline CSS for WP 2.0
947
- * Remove CSS code offer in admin
948
-
949
- = .9.9.6.6 =
950
- * Major changes to plugin CSS stylesheet to support A2A Kit (official standalone services)
951
- * Standalone services are no longer list items within an unordered list container
952
- * Button is no longer a list item
953
- * Button/standalones now follow the HTML markup layout suggested by the <a href="https://www.addtoany.com/buttons/customize/wordpress/standalone_services">AddToAny Kit</a>
954
-
955
- = .9.9.6.5 =
956
- * Add class-names to use official <a href="https://www.addtoany.com/buttons/customize/wordpress/standalone_services">Standalone Services Kit</a>
957
- * Google Analytics stats for individual services
958
- * Dutch translation (by Rene from WordPress Webshop)
959
-
960
- = .9.9.6.4 =
961
- * Option to toggle displaying at the bottom of excerpts
962
- * Shorten option descriptions
963
- * Deprecate button link target option
964
- * Rearrange menu options by popularity
965
-
966
- = .9.9.6.3 =
967
- * Any Email now a standalone service
968
- * Other new standalone services
969
- * Diary.Ru
970
- * Tuenti
971
- * VK (VKontakte.ru)
972
- * XING
973
- * Remove defunct services
974
-
975
- = .9.9.6.2 =
976
- * Remove stylesheet on other admin pages
977
- * Fix RTL support in admin
978
- * Fix minor bug where Add/Remove Services button reappears after choosing a standalone service in admin
979
- * Remove jQuery UI Sortable on other admin pages
980
- * Portuguese translation updated (by <a href="http://jorgesilva.me/">Jorge</a>
981
-
982
- = .9.9.6.1 =
983
- * Fix critical bug introduced in last release that caused an empty shared item to be used on non-single post pages
984
- * Thanks to <a href="https://macmanx.com/">James</a> for the report!
985
-
986
- = .9.9.6 =
987
- * Require WordPress 2.8
988
- * For WordPress versions 2.0 through 2.7.1 use version .9.9.5.9 or earlier
989
- * Fix validation problem caused by WordPress' lack of support for CDATA sections in posts
990
- * http://core.trac.wordpress.org/ticket/3670 - WordPress fix slated for 3.1, then @todo reevaluate
991
- * Replace deprecated functions
992
- * Internal security improvements (no known issues, just precautionary stuff for rare circumstances)
993
- * Remove legacy parameters on HREF to accomodate efficient hash params via menu JS
994
- * Remove extraneous semicolons within STYLE attributes for icon+text button
995
- * Variable cleanup in _BUTTON and _ICONS functions for legibility
996
-
997
- = .9.9.5.9 =
998
- * Nonce validation for admin form
999
- * Fixes for debug mode notices
1000
- * Russian translation updated (by Elvis)
1001
-
1002
- = .9.9.5.8 =
1003
- * Wrap inline JavaScript in CDATA section for better XHTML compliance
1004
- * Deprecate embedded object hiding option in favor of Menu API due to a new automatic workaround and a change in default value
1005
- * If you need to have AddToAny hide objects (like Flash) to display the AddToAny menu, set a2a_config.hide_embeds = 1; in the Additional Options box
1006
-
1007
- = .9.9.5.7 =
1008
- * Work around "Featured Posts" excerpt scenarios that would stop button auto-placement below post content
1009
- * Work around WP core issue to use HTTPS/SSL for static content files, like standalone icons and files in admin
1010
- * http://core.trac.wordpress.org/ticket/13941
1011
- * Admin style consistency
1012
-
1013
- = .9.9.5.6 =
1014
- * Fix PHP warnings when there are no arguments from functions ADDTOANY_SHARE_SAVE_BUTTON or ADDTOANY_SHARE_SAVE_ICONS
1015
- * Italian translation update (by Gianni)
1016
-
1017
- = .9.9.5.5 =
1018
- * Fix notices when in debug mode
1019
- * Replaced extend functions with associative arrays
1020
- * Some caching
1021
-
1022
- = .9.9.5.4 =
1023
- * Inline CSS moved to external stylesheet
1024
- * CSS minification
1025
-
1026
- = .9.9.5.3 =
1027
- * SSL - HTTPS support
1028
- * Button will display automatically below posts (by default) only after the_title has been called
1029
- * Avoids premature calling from miscellaneous the_content filters from themes and other plugins
1030
- * Thesis theme workaround
1031
- * French translation (by Julien)
1032
- * Belarusian translation update (by Marcis G)
1033
-
1034
- = .9.9.5.2 =
1035
- * W3C XHTML validation fix (invalid from .9.9.5)
1036
- * Removed Mozilla-proprietary opacity, which supported opacity before Firefox 1.0
1037
- * Moved Microsoft's filter CSS property to conditional inline stylesheet for validation
1038
- * Template code blocks require significantly less code
1039
- * Note: If you're using a template code to add the icons or 'icons + button' to another area of your theme, updating the template code is recommended (see FAQ)
1040
- * Updated FAQ
1041
- * Template code updated
1042
- * Updated template code in admin
1043
- * Switched API URL to customize URL in admin
1044
- * Fixed unbracketed noscript tag in admin
1045
- * Brazilian Portuguese translation (by Rodolfo Rodrigues)
1046
-
1047
- = .9.9.5.1 =
1048
- * Fixed issue with excerpts (JavaScript text output within excerpts since .9.9.5)
1049
- * Button(s) will now display below excerpts (per the fix above)
1050
- * Replaced depreciating add/remove action functions with synonymous filter functions
1051
-
1052
- = .9.9.5 =
1053
- * Important note: If you are using the AddToAny Subscribe plugin, be sure to update that plugin to version 9.8+
1054
- * Faster menu initialization
1055
- * Switched to AddToAny's <a href="https://www.addtoany.com/blog/new-menu-api-examples-documentation/">new API spec</a>
1056
- * Fixed localization
1057
- * Also no longer outputs language strings if WordPress locale is set to "en" (or the default "en_US")
1058
- * Updated AddToAny icon
1059
-
1060
- = .9.9.4.9 =
1061
- * New params to customize the shared link and title for buttons/icons placed in theme file(s)
1062
- * See plugin FAQ for template code
1063
- * Ensure line break within feeds by enclosing AddToAny in a paragraph tag
1064
- * Offer CSS code in the settings panel to copy & paste into a stylesheet
1065
- * Increase opacity on standalone icons by 10%
1066
- * New standalone services
1067
- * Google Buzz (using Google Reader endpoint - automatic update to come)
1068
- * Blip
1069
- * Grono
1070
- * Wykop
1071
-
1072
- = .9.9.4.8 =
1073
- * Inline CSS toggle
1074
- * If turned off, copy the CSS to your theme's stylesheet
1075
- * Provided a link on plugin page to AddToAny's privacy policy
1076
- * Pro tip: Sharing to Google Reader right now is equivalent to sharing to Google Buzz
1077
- * You can enable Google Reader as a standalone service
1078
- * Google Reader is included in AddToAny's smart menu
1079
- * New standalone services
1080
- * Balatarin
1081
- * Vodpod
1082
- * IWIW
1083
- * Svejo
1084
- * Oknotizie
1085
- * Favoriten
1086
- * Hatena
1087
- * NUjij
1088
- * Read It Later
1089
- * diHITT
1090
- * Removed standalone service
1091
- * Global Grind
1092
- * Japanese translation (by kz)
1093
-
1094
- = .9.9.4.7 =
1095
- * Just a slight rename
1096
- * Spaces in "Add to Any" removed, now camel-case: "AddToAny"
1097
- * Clarified FAQ entries
1098
- * Updated translations
1099
- * Fixed some fuzzy translations
1100
-
1101
- = .9.9.4.6 =
1102
- * Updated standalone service URIs and code names
1103
- * Renamed service codes; must re-add if you have selected
1104
- * Ask.com
1105
- * Gmail
1106
- * Identi.ca
1107
- * Mozillaca
1108
- * New standalone services
1109
- * Box.net
1110
- * Orkut
1111
- * Posterous
1112
- * Removed standalone service
1113
- * Furl
1114
- * Yahoo! MyWeb
1115
-
1116
- = .9.9.4.5 =
1117
- * Fixing standalone services admin panel because version .9.9.4.4 broke this feature
1118
- * Standalone services are available for WordPress version 2.6+
1119
-
1120
- = .9.9.4.4 =
1121
- * Backwards compatibile to version 2.0
1122
- * Fixes PHP is_tag error
1123
- * Fixes PHP wp_enqueue_script error in settings panel
1124
-
1125
- = .9.9.4.3 =
1126
- * Automatic support for over 50 languages
1127
- * The drop-down menu automatically detects the visitor's set language and localizes accordingly
1128
- * Less JavaScript output; removed redundant code
1129
- * No longer outputs language strings if WordPress locale is set to the default "en_US"
1130
- * Forward support for WordPress 2.9
1131
-
1132
- = .9.9.4.2 =
1133
- * Updated button text
1134
- * Further localized strings
1135
-
1136
- = .9.9.4.1 =
1137
- * Twitter icon included in standard sharing button
1138
- * Albanian translation (by Romeo Shuka)
1139
- * Romanian translation (by Stefan)
1140
-
1141
- = .9.9.4 =
1142
- * Custom standalone service support
1143
- * Custom icon support
1144
- * Updated Twitter icon
1145
-
1146
- = .9.9.3.5 =
1147
- * New standalone services
1148
- * DailyMe
1149
- * Google Reader
1150
- * Mozillaca
1151
- * NewsTrust
1152
- * Plurk
1153
- * PrintFriendly
1154
- * WordPress
1155
- * Fixed bug affecting certain standalone services
1156
- * Identi.ca
1157
- * Bookmarks.fr
1158
- * Ask.com MyStuff
1159
- * Catalan translation update (Robert Buj)
1160
- * Clarified when template code is appropriate
1161
-
1162
- = .9.9.3.4 =
1163
- * Use button IMG instead of background-image for button without text
1164
- * Defaults to 171 x 16px button
1165
-
1166
- = .9.9.3.3 =
1167
- * Left-padding for icon+text link changed from 39px to 30px
1168
- * Text-index for parent UL reset
1169
- * Output buffering replaced
1170
- * Fixed admin action link
1171
- * Russian translation (by Elvis)
1172
-
1173
- = .9.9.3.2 =
1174
- * Clarified button placement and theme editing
1175
- * Arabic translation
1176
-
1177
- = .9.9.3.1 =
1178
- * Fix for possible global/object variable confusion with themes
1179
-
1180
- = .9.9.3 =
1181
- * Add service icons
1182
- * Changelog markup update
1183
-
1184
- = .9.9.2.9 =
1185
- * Removed extra character from button querystring
1186
- * New standalone services
1187
- * Amazon Wish List
1188
- * Blogger
1189
- * Evernote
1190
- * Folkd
1191
- * Identi.ca
1192
- * Instapaper
1193
- * Meneame
1194
- * Netvouz
1195
- * TypePad
1196
-
1197
- = .9.9.2.8 =
1198
- * Translations
1199
-
1200
- = .9.9.2.7 =
1201
- * Updated standalone services and icons
1202
-
1203
- = .9.9.2.6 =
1204
- * CSS changed to support more themes
1205
- * Admin UI updated for 2.8
1206
- * Slightly cleaner UI
1207
- * Includes template code for both button and standalone links (previously only found in FAQ)
1208
-
1209
- = .9.9.2.5 =
1210
- * Removed dragability of dummy image in standalone services list
1211
-
1212
- = .9.9.2.4 =
1213
- * Alt attribute added to standalone service image
1214
- * Title attribute added to standalone service link
1215
- * Selected standalone services in admin are more distinguishable
1216
- * Italian translation (by Gianni)
1217
- * i18n folder renamed to languages due to a problem with the CodeStyling Localization plugin
1218
- * Contrast improvements to Open Share Icon
1219
-
1220
- = .9.9.2.3 =
1221
- * Support for themes that do not support modern Loop methods
1222
- * Permalinks now targeted for these older themes
1223
- * AddToAny URI scheme gives precedence to link URL parameter, then Title
1224
- * Sitename & Siteurl parameters deprecated for WP (they are usually redundant)
1225
-
1226
- = .9.9.2.2 =
1227
- * Fixed display when all standalone services are removed in admin
1228
- * Services label renamed Standalone Services for clarity
1229
- * Updates to Danish translation
1230
- * Added Belarusian translation (by Marcis G)
1231
-
1232
- = .9.9.2.1 =
1233
- * Feed icons shown inline, no longer displayed in unordered list
1234
-
1235
- = .9.9.2 =
1236
- * Services array output fixes
1237
-
1238
- = .9.9.1 =
1239
- * Add services.php (critical fix)
1240
-
1241
- = .9.9 =
1242
- * NEW: Individual service links!
1243
- * Drag & Drop interface with preview
1244
- * .addtoany_share_save_container is now `<div>`, not `<p>`
1245
- * AddToAny button now contained within `<ul><li>`
1246
-
1247
- = .9.8.9.2 =
1248
- * Buttons include Facebook icon
1249
- * Catalan i18n
1250
-
1251
- = .9.8.9.1 =
1252
- * Automatic localization/i18n
1253
- * Rename Spanish POT to proper
1254
- * Fixed "Display Share/Save button at the bottom of pages" option when "Display Share/Save button at the bottom of posts is disabled"
1255
-
1256
- = .9.8.9 =
1257
- * wp_footer() detection
1258
- * Replaced short form of PHP's open tags with long form to work around configurations with shortopentag disabled
1259
- * Spanish translation (by Pablo)
1260
-
1261
- = .9.8.8.4 =
1262
- * Settings panel submits to current page instead of unreliable REQUEST_URI which can omit querystring on IIS
1263
- * See http://www.microsoft.com/downloads/results.aspx?freetext=954946
1264
-
1265
- = .9.8.8.3 =
1266
- * Option "Display Share/Save button at the bottom of posts on the front page" applies to all pages that can contain multiple posts
1267
-
1268
- = .9.8.8.2 =
1269
- * Fix button appearing in category list view despite setting
1270
-
1271
- = .9.8.8.1 =
1272
- * Refine conditionals
1273
- * Highlight admin notices
1274
- * Danish translation (by Georg)
1275
-
1276
- = .9.8.8 =
1277
- * Now customize the optional text next to the 16 x 16px icons
1278
-
1279
- = .9.8.7.3 =
1280
- * Important syntax fix
1281
-
1282
- = .9.8.7.2 =
1283
- * Additional options / JavaScript API clarification
1284
- * i18n update
1285
-
1286
- = .9.8.7.1 =
1287
- * Text-only button stripslashes
1288
-
1289
- = .9.8.7 =
1290
- * Removes unnecessary inline styling in feeds per W3C recommendation
1291
-
1292
- = .9.8.6.9 =
1293
- * Compressed Open Share Icon
1294
-
1295
- = .9.8.6.8 =
1296
- * Chinese translation updated
1297
-
1298
- = .9.8.6.7 =
1299
- * i18n
1300
- * Chinese translation
1301
- * Installation clarified
1302
-
1303
- = .9.8.6.6 =
1304
- * Open Share Icon
1305
- * WordPress 2.7 admin styling
1306
- * Settings link on Plugins page
1307
- * Basename var
1308
-
1309
- = .9.8.6.5 =
1310
- * Less JavaScript redundancy from Additional Options (saves bandwidth)
1311
- * Compressed PNGs added, select a button from settings to begin using PNG (saves bandwidth)
1312
-
1313
- = .9.8.6.4 =
1314
- * Additional Options in Admin panel provides link to JavaScript API
1315
- * Option to have full addtoany.com legacy page open in a new window
1316
-
1317
- = .9.8.6.3 =
1318
- * Replaced short form of PHP's open tags with long form to work around configurations with short_open_tag disabled
1319
-
1320
- = .9.8.6.2 =
1321
- * Current page title + blog title are used if called outside The Loop
1322
-
1323
- = .9.8.6.1 =
1324
- * Fixed buttons if WordPress files are in a subdirectory while the blog appears in the site root
1325
- * For example: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
1326
-
1327
- = .9.8.6 =
1328
- * Fixed output buffering - button should appear below posts again if option is set
1329
-
1330
- = .9.8.5 =
1331
- * Button targets the current page if called outside The Loop
1332
- * Accomodates renamed plugin directory
1333
-
1334
- = .9.8.4 =
1335
- * Fixed a small syntax error (critcal if you're on .9.8.3)
1336
-
1337
- = .9.8.3 =
1338
- * Language & localization update
1339
- * "After clicking OK," removed from the Bookmark tab
1340
-
1341
- = .9.8.2 =
1342
- * Event attributes removed (JS now takes care of button events)
1343
- * This eliminates the chance of errors prior to JS fully loading
1344
-
1345
- = .9.8.1 =
1346
- * Fixed repo problem
1347
-
1348
- = .9.8 =
1349
- * JavaScript removed from blog feed
1350
- * Option to display button (without menu) or to not display it at all below posts in blog feed
1351
- * Replaced some UTF-8 encoding functions with core WordPress functions
1352
- * For XHTML validation, special characters are converted to HTML entities within JavaScript variables
1353
- * Reprioritized plugin to load later
1354
- * Text-only button option
1355
-
1356
- = .9.7 =
1357
- * Internationalization
1358
- * Buttons updated
1359
-
1360
- = .9.6 =
1361
- * Moved external JavaScript to bottom so that content is prioritized over HTTP requests to static.addtoany.com
1362
- * Please note that some improperly-coded themes may prevent this from working. See the FAQ entry for "Why isn't the drop-down menu appearing?" if this is the case.
1363
-
1364
- = .9.5.2 =
1365
- * Fixed bug in Internet Explorer 6 that caused custom buttons to have a height and width of 0
1366
- * Removed the XHTML deprecated `name` attribute from the button's anchor
1367
-
1368
- = .9.5.1 =
1369
- * Fixed 1 line to support those without short_open_tag
1370
-
1371
- = .9.5 =
1372
- * New: Custom buttons (specify a URL)
1373
- * Fix to permit XHTML Strict validation
1374
-
1375
- = .9.4 =
1376
- * New Menu Styler lets you customize the color of the menus
1377
- * New Menu Option: "Only show the menu when the user clicks the Share/Save button"
1378
- * New: Set custom JavaScript variables for further customization
1379
- * Better support for CSS styling: .addtoany_share_save
1380
- * PHP support for short_open_tag
1381
- * PHP4 legacy and compatibility fixes
1382
 
1383
  == Upgrade Notice ==
1384
 
1385
  = 1.6.12 =
1386
- Automatic placement logic for [WordPress excerpts](https://codex.wordpress.org/Excerpt) has changed ("excerpt" usage & presentation varies widely among WordPress themes & plugins). If your theme displays buttons in a post's excerpt/snippet/intro after this plugin update, you can uncheck the "Display at the bottom of excerpts" placement option in AddToAny settings to remove those buttons.
1387
-
1388
- Use custom icons? For improved layout and compatibility, specify the width & height of your icons in Settings > AddToAny > Advanced Options.
1389
 
1390
  = 1.6.7 =
1391
  If you are using AddToAny as a "must-use" autoloaded plugin (in the `mu-plugins` directory), the old method of moving `add-to-any.php` into `mu-plugins` is no longer supported and will not work. See the plugin's last FAQ about using a proxy PHP loader file that autoloads AddToAny.
@@ -1406,7 +755,4 @@ AddToAny share counters are now available for supported standalone buttons! For
1406
  Floating share buttons are now responsive by default, ready for mobile & tablets. You can toggle responsiveness and set responsive breakpoints in the "Floating" tab of Settings > AddToAny.
1407
 
1408
  = 1.3 =
1409
- Floating Share Buttons are now available! Click the "Floating" tab in Settings > AddToAny.
1410
-
1411
- = 0.9.9.7 =
1412
- Upgrade now if you haven't upgraded in a while and are using WordPress 2.8+. This release incorporates a number of important fixes and performance enhacements, including some new sharing features that you'll love.
1
  === AddToAny Share Buttons ===
2
  Contributors: micropat, addtoany
3
+ Tags: AddToAny, sharing, share, social, share button, share buttons, share links, social icons, social media, media, marketing, bookmark, bookmarks, save, post, posts, page, pages, images, image, admin, analytics, statistics, stats, links, plugin, shortcode, sidebar, widget, responsive, email, e-mail, print, seo, button, woocommerce, ecommerce, e-commerce, amazon, delicious, google, tumblr, linkedin, digg, reddit, facebook, facebook share, facebook like, like, twitter, twitter button, twitter share, tweet, tweet button, google plus, pinterest, pin, pin it, pinit, wanelo, buffer, stumbleupon, bitly, whatsapp, instagram, behance, flickr, foursquare, vimeo, youtube, feed, rss, lockerz, addthis, sociable, share this, sharethis, shareaholic, icon, icons, vector, SVG, floating, floating buttons, wpml, wpmu, Add to Any
4
  Requires at least: 2.8
5
  Tested up to: 4.4
6
+ Stable tag: 1.6.13
7
 
8
  Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp, many more, and follow icons too.
9
 
118
  Yes, you can place your sharing buttons exactly where you want them by inserting the following shortcode in a post or page:
119
  `[addtoany]`
120
 
121
+ You can customize the shared URL like so:
122
  `[addtoany url="https://www.example.com/page.html" title="Some Example Page"]`
123
 
124
+ You can also display specific share buttons by specifying comma-separated <a href="https://www.addtoany.com/services/">service codes</a>:
125
+ `[addtoany buttons="facebook,twitter,google_plus"]`
126
+
127
  = For Facebook sharing, how can I set the thumbnail image and description Facebook uses? =
128
 
129
+ 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.
130
 
131
+ Use Facebook's <a href="https://developers.facebook.com/tools/debug/">URL Debugger</a> on your pages to see how Facebook reads your site. "Fetch new scrape information" to test site changes and clear Facebook's cache of a page.
132
 
133
+ 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/sharing/opengraph">Facebook's OpenGraph specification</a>. With WordPress, this can be accomplished with plugins such as the <a href="https://wordpress.org/plugins/wordpress-seo/">Yoast SEO</a> or the <a href="https://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.
134
 
135
  For more technical information on setting your pages up for Facebook sharing, see "Sharing Best Practices for Websites" in <a href="https://developers.facebook.com/docs/sharing/best-practices">Facebook's documentation</a>.
136
 
299
 
300
  == Changelog ==
301
 
302
+ = 1.6.13 =
303
+ * Fix automatic placement in post excerpts for certain themes & plugins that display post content on a page (thanks Agis)
304
+
305
  = 1.6.12 =
306
  * Enable counters on floating share buttons when enabled for standard share buttons
307
  * Fix settings link for Multisite administrators (thanks Jan)
728
  * Adjust CSS to accommodate external resources for advanced 3rd party buttons
729
  * Lithuanian translation (by Vincent G.)
730
 
731
+ = 0.9 =
732
+ * For all prior versions, see 1.6.12 or earlier
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
733
 
734
  == Upgrade Notice ==
735
 
736
  = 1.6.12 =
737
+ Automatic placement logic for [WordPress excerpts](https://codex.wordpress.org/Excerpt) has changed. If your theme displays buttons in a post's excerpt/snippet/intro after this plugin update, you can uncheck the "Display at the bottom of excerpts" placement option in AddToAny settings to remove those buttons. Use custom icons? For improved layout and compatibility, specify the width & height of your icons in Settings > AddToAny > Advanced Options.
 
 
738
 
739
  = 1.6.7 =
740
  If you are using AddToAny as a "must-use" autoloaded plugin (in the `mu-plugins` directory), the old method of moving `add-to-any.php` into `mu-plugins` is no longer supported and will not work. See the plugin's last FAQ about using a proxy PHP loader file that autoloads AddToAny.
755
  Floating share buttons are now responsive by default, ready for mobile & tablets. You can toggle responsiveness and set responsive breakpoints in the "Floating" tab of Settings > AddToAny.
756
 
757
  = 1.3 =
758
+ Floating Share Buttons are now available! Click the "Floating" tab in Settings > AddToAny.
 
 
 
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. [<a href="options-general.php?page=addtoany">Settings</a>]
6
- Version: 1.6.12
7
  Author: AddToAny
8
  Author URI: https://www.addtoany.com/
9
  Text Domain: add-to-any
@@ -825,18 +825,6 @@ function A2A_SHARE_SAVE_add_to_content( $content ) {
825
  // Return early
826
  return $content;
827
  }
828
-
829
- // Don't add to the_content more than once
830
- $done = false;
831
- foreach ( $wp_current_filter as $filter ) {
832
- if ( 'the_content' == $filter ) {
833
- if ( $done ) {
834
- return $content;
835
- } else {
836
- $done = true;
837
- }
838
- }
839
- }
840
 
841
  $sharing_disabled = get_post_meta( get_the_ID(), 'sharing_disabled', true );
842
  $sharing_disabled = apply_filters( 'addtoany_sharing_disabled', $sharing_disabled );
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. [<a href="options-general.php?page=addtoany">Settings</a>]
6
+ Version: 1.6.13
7
  Author: AddToAny
8
  Author URI: https://www.addtoany.com/
9
  Text Domain: add-to-any
825
  // Return early
826
  return $content;
827
  }
 
 
 
 
 
 
 
 
 
 
 
 
828
 
829
  $sharing_disabled = get_post_meta( get_the_ID(), 'sharing_disabled', true );
830
  $sharing_disabled = apply_filters( 'addtoany_sharing_disabled', $sharing_disabled );