Created
December 5, 2018 05:46
-
-
Save akther80/6d4b632039b269c024290d1f7c51571e to your computer and use it in GitHub Desktop.
Electro v2 - Move Archive Description below Product
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_rearrange_archive_description_below_product' ); | |
function ec_child_rearrange_archive_description_below_product() { | |
remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 ); | |
add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 100 ); | |
add_action( 'woocommerce_after_shop_loop', 'woocommerce_product_archive_description', 100 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment