woocommerce remove 'This is where you can add new products to your store' shop page code example
Example 1: woocommerce remove This is where you can add new products to your store in taxonomy description
<?php
$term_object = get_queried_object();
?>
<div class="woocommerce-category-description">
<div class="title"><?php echo $term_object->name; ?></div>
<div class="description"><?php echo $term_object->description; ?></div>
</div>
Example 2: how to change woocommerce header message This is where you can add new products to your store.
function my_remove_shop_page_header_subheading( $subheading ) {
if ( is_shop() ) {
$subheading = false;
}
return $subheading;
}
add_filter( 'ocean_post_subheading', 'my_remove_shop_page_header_subheading' );
Example 3: woocommerce remove This is where you can add new products to your store in taxonomy description
<?php
$term_object = get_queried_object();
?>
<div class="woocommerce-category-description">
<div class="title"><?php echo the_field('category_title', 'product_cat_'.$term_object->term_id); ?></div>
<div class="description"><?php echo $term_object->description; ?></div>
</div>