Hey,
And content added to an archive page will display above the product by default. A workaround would be to add your products manually below the content via shortcode like this: [products limit="8" columns="4" category="hoodies"] Just note that you would lose your pagination.
Hannah
Hi Hannah, I have already managed to put the text just below the products, but I have had to put the following code in functions.php:
remove_action (‘woocommerce_archive_description’, ‘woocommerce_taxonomy_archive_description’, 10);
add_action (‘woocommerce_after_shop_loop’, ‘woocommerce_taxonomy_archive_description’, 100);
Before this I had to put in /wp-content/themes/pinnacle/templates/shop/shop-page-header.php, the code:
<? php // if (! empty ($ bsub)) {echo ‘<div class = “subtitle”>’ .esc_html ($ bsub). ‘ </div> ‘; }?>
but I understand that when pinnacle updates its theme it will disappear, am I right?
You just need to use a child theme and add your function through that. You can download a child theme from here: https://www.kadencewp.com/child-themes/
Hannah
I have never had a child theme in my wordpress, I understand that I have to download the pinnacle child theme and modify that template?
Yes! You will activate the pinnacle child theme like you would any other theme. Then keep the pinnacle parent theme in your theme list.
Hannah