Hi!
I’m currently setting up my archive page. I have moved the description under the product loop by adding this code to my functions.php file in my child theme:
//move description to below the product loop
remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
remove_action( 'woocommerce_archive_description', 'woocommerce_product_archive_description', 10 );
add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 40 );
add_action( 'woocommerce_after_shop_loop', 'woocommerce_product_archive_description', 40 );
I now also want to display the archive title and subtitle, which i added in the category settings. The title should be within an h1 tag and subheading within h2. How can i do this?
kindest regards,
Johan