Category banner in pagination doesn't show
-
Hello!
I just created Category banner, but in pagination doesn’t show. Plz see:
In principal page (1) it’s shown: http://www.eversafesrl.com/categoria-producto/automotor/
In Page 2 or oheter it’s not shown: http://www.eversafesrl.com/categoria-producto/automotor/page/2/
How can I fix it?
Thx =)
Hello,
It is a default WooCommerce behavior but you can change it by adding the following code snippet to the functions.php file in the child theme
function woocommerce_taxonomy_archive_description() {
if ( is_product_taxonomy() ) {
$description = wc_format_content( term_description() );
if ( $description ) {
echo '<div class="term-description">' . $description . '</div>';
}
}
}
Regards
The topic ‘Category banner in pagination doesn't show’ is closed to new replies.