Skip to content

Instantly share code, notes, and snippets.

@akther80
Created May 25, 2019 06:57
Show Gist options
  • Save akther80/e31db503c980d813df412db7718d12dc to your computer and use it in GitHub Desktop.
Save akther80/e31db503c980d813df412db7718d12dc to your computer and use it in GitHub Desktop.
Electro v2 - Add description below title in Single Product page
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