Comments DraganGasic started the conversationJanuary 9, 2018 at 11:20amHello,I noticed that description of product categories and subcategories is below the product list. Is it chance to move descripiton above? I think is more helpful to have description above the products than below.Thank you,Dragan 7,092Oliver repliedJanuary 9, 2018 at 11:25amHi, pls. add this code to the functions.php of the child theme: function thegem_child_init_new() { remove_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 15 ); add_action( 'woocommerce_before_shop_loop', 'woocommerce_taxonomy_archive_description', 1 ); } add_action('init', 'thegem_child_init_new');Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, OliverDraganGasic repliedJanuary 9, 2018 at 11:32amHi Gregor,thank you for fast help but it seems that description jumped to "page title" section as you can see here.http://workandtravel-usa.cz/kategorie-produktu/led-zdroje/led-zdroje-12v/I want to put shortcode of best selling product, some photos and text, it will be better to have description above the products, not in page title.Is it possible?Thank you 7,092Oliver repliedJanuary 9, 2018 at 11:35amHi, sorry, it's not possible to put shortcodes in the headerPlease note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, OliverDraganGasic repliedJanuary 9, 2018 at 11:37amOk I see, but is it possible to have description above the products? Not in the header, I wont shortcode in the header.Thank you,Dragan 7,092Oliver repliedJanuary 9, 2018 at 12:41pmHi, you can add your function there code example: function thegem_child_init_new() { add_action( 'woocommerce_before_shop_loop', 'woocommerce_add_custom_code, 1 ); } function woocommerce_add_custom_code() { echo 'test'; }Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, OliverDraganGasic repliedFebruary 20, 2018 at 12:55pmHi,that code works: function thegem_child_init_new() { remove_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 15 ); add_action( 'woocommerce_before_shop_loop', 'woocommerce_taxonomy_archive_description', 1 ); } add_action('init', 'thegem_child_init_new');It moves description above the product list.Thank you,Dragan Sign in to reply ...
Hello,
I noticed that description of product categories and subcategories is below the product list. Is it chance to move descripiton above? I think is more helpful to have description above the products than below.
Thank you,
Dragan
Hi, pls. add this code to the functions.php of the child theme:
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Hi Gregor,
thank you for fast help but it seems that description jumped to "page title" section as you can see here.
http://workandtravel-usa.cz/kategorie-produktu/led-zdroje/led-zdroje-12v/
I want to put shortcode of best selling product, some photos and text, it will be better to have description above the products, not in page title.
Is it possible?
Thank you
Hi, sorry, it's not possible to put shortcodes in the header
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Ok I see, but is it possible to have description above the products? Not in the header, I wont shortcode in the header.
Thank you,
Dragan
Hi, you can add your function there code example:
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Hi,
that code works:
It moves description above the product list.
Thank you,
Dragan