Skip to content

Instantly share code, notes, and snippets.

@akther80
Created December 5, 2018 05:46
Show Gist options
  • Save akther80/6d4b632039b269c024290d1f7c51571e to your computer and use it in GitHub Desktop.
Save akther80/6d4b632039b269c024290d1f7c51571e to your computer and use it in GitHub Desktop.
Electro v2 - Move Archive Description below Product
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