Hi there,
I’m trying to figure out how to add content at the bottom of the archive woocommerce shop page with shortcodes. I have tried something like this with no success:
remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10);
add_action('woocommerce_after_main_content', 'custom_avanaa_shop_end', 10);
function custom_avanaa_shop_end() {
if ( is_shop() ) {
echo do_shortcode('[gap size="700px"]');
}
}
Any clue on what I’m doing wrong?
Cheers!