AddToAny Share Buttons - Version 1.7.13

Version Description

  • Update standard placement for WooCommerce to display share buttons after the product meta block instead of the product description
    • In WooCommerce, you can customize where share buttons display by editing your share.php Single Product Share template.
  • Use Japanese language pack (thanks miccweb)
Download this release

Release Info

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

Code changes from version 1.7.12 to 1.7.13

README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: micropat, addtoany
3
  Tags: AddToAny, share, sharing, social, share buttons, share button, social media, media, marketing, links, email, seo, woocommerce, google, linkedin, reddit, facebook, like, twitter, pinterest, whatsapp, instagram, youtube, share this, sharethis, feed, icons
4
  Requires at least: 3.7
5
  Tested up to: 4.8
6
- Stable tag: 1.7.12
7
 
8
  Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp, many more, and follow icons too.
9
 
@@ -42,7 +42,7 @@ AddToAny is the universal sharing platform, and AddToAny's plugin is the most po
42
 
43
  * Loads asynchronously so your content always loads before or in parallel with AddToAny
44
  * Supports theme features such as HTML5, widgets, infinite scroll, post formats
45
- * Supports multilingual sites and multisite networks
46
  * No signup, no login, no account necessary
47
 
48
  = Mobile Optimized & Retina Ready =
@@ -349,9 +349,14 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
349
 
350
  == Changelog ==
351
 
 
 
 
 
 
352
  = 1.7.12 =
353
- * Fix the `[addtoany]` shortcode's `buttons` attribute
354
  * Use `rel="noopener"` on links that open in a new tab/window for site JavaScript performance in some browsers
 
355
 
356
  = 1.7.11 =
357
  * Add icon size option to Follow buttons widget
@@ -880,6 +885,9 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
880
 
881
  == Upgrade Notice ==
882
 
 
 
 
883
  = 1.6.12 =
884
  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.
885
 
3
  Tags: AddToAny, share, sharing, social, share buttons, share button, social media, media, marketing, links, email, seo, woocommerce, google, linkedin, reddit, facebook, like, twitter, pinterest, whatsapp, instagram, youtube, share this, sharethis, feed, icons
4
  Requires at least: 3.7
5
  Tested up to: 4.8
6
+ Stable tag: 1.7.13
7
 
8
  Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp, many more, and follow icons too.
9
 
42
 
43
  * Loads asynchronously so your content always loads before or in parallel with AddToAny
44
  * Supports theme features such as HTML5, widgets, infinite scroll, post formats
45
+ * Supports WooCommerce, multilingual sites, and multisite networks
46
  * No signup, no login, no account necessary
47
 
48
  = Mobile Optimized & Retina Ready =
349
 
350
  == Changelog ==
351
 
352
+ = 1.7.13 =
353
+ * Update standard placement for [WooCommerce](https://woocommerce.com/) to display share buttons after the product meta block instead of the product description
354
+ * In WooCommerce, you can customize where share buttons display by [editing](https://docs.woocommerce.com/document/editing-projects-templates-safely/) your `share.php` Single Product Share template.
355
+ * Use Japanese language pack (thanks miccweb)
356
+
357
  = 1.7.12 =
 
358
  * Use `rel="noopener"` on links that open in a new tab/window for site JavaScript performance in some browsers
359
+ * Fix the `[addtoany]` shortcode's `buttons` attribute
360
 
361
  = 1.7.11 =
362
  * Add icon size option to Follow buttons widget
885
 
886
  == Upgrade Notice ==
887
 
888
+ = 1.7.13 =
889
+ For [WooCommerce](https://woocommerce.com/) sites, the default standard placement for share buttons has moved from the product description to after the product meta block. You can customize exactly where share buttons display by [editing](https://docs.woocommerce.com/document/editing-projects-templates-safely/) your `share.php` Single Product Share template.
890
+
891
  = 1.6.12 =
892
  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.
893
 
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.
6
- Version: 1.7.12
7
  Author: AddToAny
8
  Author URI: https://www.addtoany.com/
9
  Text Domain: add-to-any
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.
6
+ Version: 1.7.13
7
  Author: AddToAny
8
  Author URI: https://www.addtoany.com/
9
  Text Domain: add-to-any
addtoany.compat.php CHANGED
@@ -42,4 +42,14 @@ function addtoany_amp_additional_css_styles( $amp_template ) {
42
  function addtoany_amp_icons_css( $amp_template ) {
43
  global $A2A_SHARE_SAVE_amp_icons_css;
44
  echo $A2A_SHARE_SAVE_amp_icons_css;
 
 
 
 
 
 
 
 
 
 
45
  }
42
  function addtoany_amp_icons_css( $amp_template ) {
43
  global $A2A_SHARE_SAVE_amp_icons_css;
44
  echo $A2A_SHARE_SAVE_amp_icons_css;
45
+ }
46
+
47
+ /**
48
+ * Move buttons from WooCommerce product description to WooCommerce's sharing block
49
+ */
50
+ add_action( 'woocommerce_share', 'addtoany_woocommerce_share', 10 );
51
+
52
+ function addtoany_woocommerce_share() {
53
+ remove_filter( 'the_content', 'A2A_SHARE_SAVE_add_to_content', 98 );
54
+ ADDTOANY_SHARE_SAVE_KIT();
55
  }
languages/add-to-any-ja.mo DELETED
Binary file
languages/add-to-any-ja.po DELETED
@@ -1,304 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: add-to-any\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2011-02-23 20:39-0800\n"
6
- "PO-Revision-Date: \n"
7
- "Last-Translator: Pat <no@no.com>\n"
8
- "Language-Team: \n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Poedit-KeywordsList: __;_e\n"
13
- "X-Poedit-Basepath: ../\n"
14
- "X-Poedit-SearchPath-0: .\n"
15
-
16
- #: add-to-any.php:322
17
- msgid "Share"
18
- msgstr "共有"
19
-
20
- #: add-to-any.php:323
21
- msgid "Save"
22
- msgstr "ブックマーク"
23
-
24
- #: add-to-any.php:324
25
- msgid "Subscribe"
26
- msgstr "購読"
27
-
28
- #: add-to-any.php:325
29
- msgid "E-mail"
30
- msgstr "メール"
31
-
32
- #: add-to-any.php:326
33
- msgid "Bookmark"
34
- msgstr "ブックマーク"
35
-
36
- #: add-to-any.php:327
37
- msgid "Show all"
38
- msgstr "すべて表示する"
39
-
40
- #: add-to-any.php:328
41
- msgid "Show less"
42
- msgstr "小さく表示する"
43
-
44
- #: add-to-any.php:329
45
- msgid "Find service(s)"
46
- msgstr "サービスを探す"
47
-
48
- #: add-to-any.php:330
49
- msgid "Instantly find any service to add to"
50
- msgstr "追加するサービスを今すぐ探す"
51
-
52
- #: add-to-any.php:331
53
- msgid "Powered by"
54
- msgstr "Powered by"
55
-
56
- #: add-to-any.php:332
57
- msgid "Share via e-mail"
58
- msgstr "メールで共有"
59
-
60
- #: add-to-any.php:333
61
- msgid "Subscribe via e-mail"
62
- msgstr "メールで購読"
63
-
64
- #: add-to-any.php:334
65
- msgid "Bookmark in your browser"
66
- msgstr "ブラウザにブックマーク"
67
-
68
- #: add-to-any.php:335
69
- msgid "Press Ctrl+D or &#8984;+D to bookmark this page"
70
- msgstr "Ctrl+D または &#8984;+D でブックマークします"
71
-
72
- #: add-to-any.php:336
73
- msgid "Add to your favorites"
74
- msgstr "お気に入りに追加"
75
-
76
- #: add-to-any.php:337
77
- msgid "Send from any e-mail address or e-mail program"
78
- msgstr "お好きなメールアドレスかメールソフトで送信します"
79
-
80
- #: add-to-any.php:338
81
- msgid "E-mail program"
82
- msgstr "メールソフト"
83
-
84
- #: add-to-any.php:363
85
- msgid "Your theme needs to be fixed. To fix your theme, use the <a href=\"theme-editor.php\">Theme Editor</a> to insert <code>&lt;?php wp_footer(); ?&gt;</code> just before the <code>&lt;/body&gt;</code> line of your theme's <code>footer.php</code> file."
86
- msgstr "テーマを修正してください。<a href=\"theme-editor.php\">テーマエディタ</a>で、使用しているテーマの <code>footer.php</code> 内の <code>&lt;/body&gt;</code> 直前に <code>&lt;?php wp_footer(); ?&gt;</code> を挿入してください。"
87
-
88
- #: add-to-any.php:520
89
- #, php-format
90
- msgid "Unable to create directory %s. Is its parent directory writable by the server?"
91
- msgstr ""
92
-
93
- #: add-to-any.php:654
94
- #: add-to-any.php:778
95
- #: add-to-any.php:782
96
- #: add-to-any.php:786
97
- #: add-to-any.php:790
98
- #: add-to-any.php:822
99
- msgid "Share/Bookmark"
100
- msgstr "ブックマーク"
101
-
102
- #: add-to-any.php:667
103
- msgid "Settings saved."
104
- msgstr "設定を保存しました。"
105
-
106
- #: add-to-any.php:688
107
- msgid "bottom"
108
- msgstr ""
109
-
110
- #: add-to-any.php:692
111
- msgid "top"
112
- msgstr ""
113
-
114
- #: add-to-any.php:696
115
- msgid "top &amp; bottom"
116
- msgstr ""
117
-
118
- #: add-to-any.php:727
119
- msgid "AddToAny: Share/Save "
120
- msgstr "AddToAny ボタン"
121
-
122
- #: add-to-any.php:727
123
- #: add-to-any.php:1132
124
- #: add-to-any.php:1163
125
- msgid "Settings"
126
- msgstr "設定"
127
-
128
- #: add-to-any.php:736
129
- msgid "Standalone Services"
130
- msgstr "アイコン表示するサービス"
131
-
132
- #: add-to-any.php:741
133
- msgid "Choose the services you want below. &nbsp;Click a chosen service again to remove. &nbsp;Reorder services by dragging and dropping as they appear above."
134
- msgstr "以下からサービスを選択してください。再度クリックすると非選択にできます。上のアイコンをドラッグ&ドロップして表示の順序を変更できます。"
135
-
136
- #: add-to-any.php:773
137
- msgid "Button"
138
- msgstr "ブックマークボタン"
139
-
140
- #: add-to-any.php:812
141
- msgid "Image URL"
142
- msgstr "画像のURL"
143
-
144
- #: add-to-any.php:819
145
- msgid "Text only"
146
- msgstr "文字のみ"
147
-
148
- #: add-to-any.php:827
149
- msgid "Placement"
150
- msgstr "ブックマークボタンの場所"
151
-
152
- #: add-to-any.php:832
153
- #, fuzzy, php-format
154
- msgid "Display at the %s of posts"
155
- msgstr "投稿の最後にボタンを表示する"
156
-
157
- #: add-to-any.php:839
158
- #, php-format
159
- msgid "Display at the %s of post excerpts"
160
- msgstr ""
161
-
162
- #: add-to-any.php:846
163
- #, fuzzy, php-format
164
- msgid "Display at the %s of posts on the front page"
165
- msgstr "フロントページで投稿の最後にボタンを表示する"
166
-
167
- #: add-to-any.php:854
168
- #, fuzzy, php-format
169
- msgid "Display at the %s of posts in the feed"
170
- msgstr "フィードで投稿の最後にボタンを表示する"
171
-
172
- #: add-to-any.php:858
173
- #, fuzzy, php-format
174
- msgid "Display at the %s of pages"
175
- msgstr "ページの最後にボタンを表示する"
176
-
177
- #: add-to-any.php:862
178
- msgid "If unchecked, be sure to place the following code in <a href=\"theme-editor.php\">your template pages</a> (within <code>index.php</code>, <code>single.php</code>, and/or <code>page.php</code>)"
179
- msgstr "どれもチェックしない場合は、<code>index.php</code> や <code>single.php</code>、<code>page.php</code> などの <a href=\"theme-editor.php\">テンプレートページ</a> に次のコードを書いてください"
180
-
181
- #: add-to-any.php:871
182
- msgid "Menu Style"
183
- msgstr "メニューのスタイル"
184
-
185
- #: add-to-any.php:873
186
- msgid "Using AddToAny's Menu Styler, you can customize the colors of your Share/Save menu! When you're done, be sure to paste the generated code in the <a href=\"#\" onclick=\"document.getElementById('A2A_SHARE_SAVE_additional_js_variables').focus();return false\">Additional Options</a> box below."
187
- msgstr "AddToAny のメニュースタイラーでブックマークメニューの色を変更できます。コピーしたコードは下の <a href=\"#\" onclick=\"document.getElementById('A2A_SHARE_SAVE_additional_js_variables').focus();return false\">その他のオプション</a> 欄に貼り付けてください。"
188
-
189
- #: add-to-any.php:875
190
- msgid "Open the AddToAny Menu Styler in a new window"
191
- msgstr "AddToAny メニュースタイラーを新しいウインドウで開きます"
192
-
193
- #: add-to-any.php:877
194
- msgid "Open Menu Styler"
195
- msgstr "メニュースタイラーを開く"
196
-
197
- #: add-to-any.php:882
198
- msgid "Menu Options"
199
- msgstr "メニューのオプション"
200
-
201
- #: add-to-any.php:887
202
- msgid "Only show the menu when the user clicks the Share/Save button"
203
- msgstr "ブックマークボタンをクリックしたときだけメニューを表示する"
204
-
205
- #: add-to-any.php:892
206
- msgid "Show the title of the post (or page) within the menu"
207
- msgstr "メニューに投稿(ページ)のタイトルを表示する"
208
-
209
- #: add-to-any.php:897
210
- msgid "Additional Options"
211
- msgstr "その他のオプション"
212
-
213
- #: add-to-any.php:901
214
- msgid "Paste the code from AddToAny's Menu Styler in the box below!"
215
- msgstr "AddToAny メニュースタイラーで作成したコードを以下に貼り付けてください。"
216
-
217
- #: add-to-any.php:905
218
- msgid "Below you can set special JavaScript variables to apply to each Share/Save menu."
219
- msgstr "ブックマークメニューで使用する javascript の変数を設定することができます。"
220
-
221
- #: add-to-any.php:906
222
- msgid "Advanced users might want to explore AddToAny's <a href=\"http://www.addtoany.com/buttons/customize/\" target=\"_blank\">additional options</a>."
223
- msgstr "詳しくは AddToAny の <a href=\"http://www.addtoany.com/buttons/customize/\" target=\"_blank\">javascript API</a> を参照してください。"
224
-
225
- #: add-to-any.php:912
226
- msgid "<strong>Note</strong>: If you're adding new code, be careful not to accidentally overwrite any previous code.</label>"
227
- msgstr "<strong>注意</strong>: コードを追加する場合は、元のコードを上書きしないようにしてください。</label>"
228
-
229
- #: add-to-any.php:917
230
- #, fuzzy
231
- msgid "Advanced Options"
232
- msgstr "その他のオプション"
233
-
234
- #: add-to-any.php:922
235
- msgid "Use CSS stylesheet"
236
- msgstr ""
237
-
238
- #: add-to-any.php:927
239
- msgid "Cache AddToAny locally with daily cache updates"
240
- msgstr ""
241
-
242
- #: add-to-any.php:931
243
- msgid "Only consider for sites with frequently returning visitors. Since many visitors will have AddToAny cached in their browser already, serving AddToAny locally from your site will be slower for those visitors. Be sure to set far future cache/expires headers for image files in your <code>uploads/addtoany</code> directory."
244
- msgstr ""
245
-
246
- #: add-to-any.php:938
247
- msgid "Save Changes"
248
- msgstr "変更を保存"
249
-
250
- #: add-to-any.php:939
251
- msgid "Are you sure you want to delete all AddToAny options?"
252
- msgstr ""
253
-
254
- #: add-to-any.php:939
255
- msgid "Reset"
256
- msgstr ""
257
-
258
- #: add-to-any.php:944
259
- msgid "Like this plugin?"
260
- msgstr "このプラグインが気に入りましたか?"
261
-
262
- #: add-to-any.php:945
263
- msgid "<a href=\"http://wordpress.org/extend/plugins/add-to-any/\">Give it a good rating</a> on WordPress.org."
264
- msgstr "WordPress.org で <a href=\"http://wordpress.org/extend/plugins/add-to-any/\">良い評価をつける</a>。"
265
-
266
- #: add-to-any.php:946
267
- msgid "<a href=\"http://www.addtoany.com/share_save?linkname=WordPress%20Share%20%2F%20Bookmark%20Plugin%20by%20AddToAny.com&amp;linkurl=http%3A%2F%2Fwordpress.org%2Fextend%2Fplugins%2Fadd-to-any%2F\">Share it</a> with your friends."
268
- msgstr "友達に <a href=\"http://www.addtoany.com/share_save?linkname=WordPress%20Share%20Plugin%20by%20AddToAny.com&amp;linkurl=http%3A%2F%2Fwordpress.org%2Fextend%2Fplugins%2Fadd-to-any%2F\">教える</a>。"
269
-
270
- #: add-to-any.php:948
271
- msgid "Need support?"
272
- msgstr "サポートが必要ですか?"
273
-
274
- #: add-to-any.php:949
275
- msgid "See the <a href=\"http://wordpress.org/extend/plugins/add-to-any/faq/\">FAQs</a>."
276
- msgstr "<a href=\"http://wordpress.org/extend/plugins/add-to-any/faq/\">FAQ</a> をご確認ください。"
277
-
278
- #: add-to-any.php:950
279
- msgid "Search the <a href=\"http://wordpress.org/tags/add-to-any\">support forums</a>."
280
- msgstr "<a href=\"http://wordpress.org/tags/add-to-any\">本家サポートフォーラム</a> をご利用ください。"
281
-
282
- #: add-to-any.php:1075
283
- msgid "Add/Remove Services"
284
- msgstr "サービスの追加/削除"
285
-
286
- #: add-to-any.php:1132
287
- msgid "Share/Save"
288
- msgstr "ブックマーク"
289
-
290
- #: add-to-any.php:1133
291
- msgid "Share/Save Buttons"
292
- msgstr "AddToAny ボタン"
293
-
294
- #~ msgid ""
295
- #~ "Open the addtoany.com menu page in a new tab or window if the user clicks "
296
- #~ "the Share/Save button"
297
- #~ msgstr ""
298
- #~ "ブックマークボタンをクリックした時に新しいタブ/ウインドウで addtoany.com "
299
- #~ "のメニューページを開く"
300
-
301
- #~ msgid ""
302
- #~ "Hide embedded objects (Flash, video, etc.) that intersect with the menu "
303
- #~ "when displayed"
304
- #~ msgstr "メニューと重なったFlashや動画などを非表示にする"