I
I
Ilya Derevyannykh2021-04-04 18:14:11
WordPress
Ilya Derevyannykh, 2021-04-04 18:14:11

How to move text down on WooCommerce archive page?

On the category page in woocommerce/templates/archive-product.php file do_action( 'woocommerce_archive_description' ); I move it to the very bottom, but the text is still displayed at the top. How can I do that?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Demidov, 2021-04-05
@Ylia_dr

Do as Anton wrote

remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 100 );

Add to functions.php

A
Anton Litvinenko, 2021-04-04
@AntonLitvinenko

Disable the output of the description from the hook on which it hangs via remove_action and connect it after the loop to the appropriate hook using add_action

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question