Created
January 11, 2019 13:11
-
-
Save akther80/befbcf2a9ef4c10a85a78b4dcc5ec8ed to your computer and use it in GitHub Desktop.
Electro v2 - Display single product title above image wrapper
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_child_move_single_product_title_above_image_wrapper' ); | |
function ec_child_move_single_product_title_above_image_wrapper() { | |
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 ); | |
add_action( 'woocommerce_before_single_product_summary', 'woocommerce_template_single_title', 1 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment