';
}
add_action( 'woocommerce_after_main_content', 'bm_hope_close_container_row', 5 );
function bm_hope_close_container_row(){
echo '
';
}
/**
* Remove the main WC sidebar from its original position
* We'll be including it somewhere else later on
*/
remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar' );
if( is_shop() ){
add_action( 'woocommerce_before_main_content', 'bm_hope_add_sidebar_tags', 6 );
function bm_hope_add_sidebar_tags(){
echo '';
}
add_action( 'woocommerce_after_shop_loop_item_title', 'the_excerpt', 1 );
}
// Modify HTML tags on a shop page. We also want Bootstrap-like markup here (.primary div)
add_action( 'woocommerce_before_main_content', 'bm_hope_add_shop_tags', 9 );
function bm_hope_add_shop_tags(){
if( is_shop()){
echo '';
} else{
echo '
';
}
}
add_action( 'woocommerce_after_main_content', 'bm_hope_close_shop_tags', 4 );
function bm_hope_close_shop_tags(){
echo '
';
}
}
add_action( 'wp', 'bm_hope_wc_modify' );