Created
January 10, 2019 06:10
-
-
Save akther80/f99130831cf0f5983455f61749599b0a to your computer and use it in GitHub Desktop.
Electro v2 - Move category description below the content
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_archive_desc_below_content' ); | |
function ec_child_move_archive_desc_below_content() { | |
remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 ); | |
remove_action( 'woocommerce_archive_description', 'woocommerce_product_archive_description', 10 ); | |
add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 91 ); | |
add_action( 'woocommerce_after_shop_loop', 'woocommerce_product_archive_description', 91 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment