• I would like to move the text of the category description and put it just below the images, now you see text first and then images and this is not good for users, to see if anyone can help me, thanks.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • hannah

    (@hannahritner)

    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

    Thread Starter maresmajoiers1964

    (@maresmajoiers1964)

    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?

    hannah

    (@hannahritner)

    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

    Thread Starter maresmajoiers1964

    (@maresmajoiers1964)

    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?

    hannah

    (@hannahritner)

    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

    Thread Starter maresmajoiers1964

    (@maresmajoiers1964)

    Ok, thank’s Hannah.

    hannah

    (@hannahritner)

    No problem!

    Hannah

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘move text categories down’ is closed to new replies.