Don't need both cases
This commit is contained in:
parent
b08d0bc1d2
commit
51f3efd5c4
|
@ -620,7 +620,7 @@ if ( ! function_exists( 'woocommerce_taxonomy_archive_description' ) ) {
|
|||
* @subpackage Archives
|
||||
*/
|
||||
function woocommerce_taxonomy_archive_description() {
|
||||
if ( ( is_tax( array( 'product_cat', 'product_tag' ) ) || is_product_taxonomy() ) && 0 === absint( get_query_var( 'paged' ) ) ) {
|
||||
if ( is_product_taxonomy() && 0 === absint( get_query_var( 'paged' ) ) ) {
|
||||
$description = wc_format_content( term_description() );
|
||||
if ( $description ) {
|
||||
echo '<div class="term-description">' . $description . '</div>';
|
||||
|
|
Loading…
Reference in New Issue