Created
February 13, 2019 16:18
-
-
Save NicBeltramelli/07a3f86ce5c6fbca08c74a7db7bd8898 to your computer and use it in GitHub Desktop.
Reposition jetpack sharing buttons below the title on WooCommerce product page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Do NOT include the opening php tag. | |
/** | |
* Reposition sharing buttons below the title on product page | |
* | |
* @author Nic Beltramelli | |
*/ | |
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_sharing', 50 ); | |
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_sharing', 5 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment