Created
May 25, 2019 06:57
-
-
Save akther80/e31db503c980d813df412db7718d12dc to your computer and use it in GitHub Desktop.
Electro v2 - Add description below title in Single Product page
This file contains hidden or 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
add_action( 'init', 'ec_change_description_below_title', 10 ); | |
function ec_change_description_below_title() { | |
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 6 ); | |
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment