WordPress.org

Plugin Directory

Changeset 1703408


Ignore:
Timestamp:
07/26/17 22:52:15 (4 months ago)
Author:
micropat
Message:

1.7.13

  • Update standard placement for WooCommerce to display share buttons after the product meta block instead of the product description
  • Use Japanese language pack
Location:
add-to-any/trunk
Files:
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • add-to-any/trunk/README.txt

    r1688546 r1703408  
    44Requires at least: 3.7 
    55Tested up to: 4.8 
    6 Stable tag: 1.7.12 
     6Stable tag: 1.7.13 
    77 
    88Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp, many more, and follow icons too. 
     
    4343* Loads asynchronously so your content always loads before or in parallel with AddToAny 
    4444* Supports theme features such as HTML5, widgets, infinite scroll, post formats 
    45 * Supports multilingual sites and multisite networks 
     45* Supports WooCommerce, multilingual sites, and multisite networks 
    4646* No signup, no login, no account necessary 
    4747 
     
    350350== Changelog == 
    351351 
     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 
    352357= 1.7.12 = 
     358* Use `rel="noopener"` on links that open in a new tab/window for site JavaScript performance in some browsers 
    353359* 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 
    355360 
    356361= 1.7.11 = 
     
    881886== Upgrade Notice == 
    882887 
     888= 1.7.13 = 
     889For [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 
    883891= 1.6.12 = 
    884892Automatic 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. 
  • add-to-any/trunk/add-to-any.php

    r1688546 r1703408  
    44Plugin URI: https://www.addtoany.com/ 
    55Description: Share buttons for your pages including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp and many more. 
    6 Version: 1.7.12 
     6Version: 1.7.13 
    77Author: AddToAny 
    88Author URI: https://www.addtoany.com/ 
  • add-to-any/trunk/addtoany.compat.php

    r1572895 r1703408  
    4444    echo $A2A_SHARE_SAVE_amp_icons_css; 
    4545} 
     46 
     47/** 
     48 * Move buttons from WooCommerce product description to WooCommerce's sharing block 
     49 */ 
     50add_action( 'woocommerce_share', 'addtoany_woocommerce_share', 10 ); 
     51 
     52function addtoany_woocommerce_share() { 
     53    remove_filter( 'the_content', 'A2A_SHARE_SAVE_add_to_content', 98 ); 
     54    ADDTOANY_SHARE_SAVE_KIT(); 
     55} 
Note: See TracChangeset for help on using the changeset viewer.