Adding Content below archive-category, full width
-
Hello,
i want to edit the content below of my Woocommerce Category Pages in Fullwidth below sidebar + catgory. For this i’ve added a custom Field and added the following function in functions php.
//Unter der Produktkategorie: function action_woocommerce_after_shop_loop() { $term_id = get_queried_object()->term_id; $post_id = 'product_cat_'.$term_id; $custom_field = get_field('unter_der_produktkategorie', $post_id); // My Advanced Custom Field Variable echo $custom_field; }; add_action( 'woocommerce_after_main_content', 'action_woocommerce_after_main_content', 10, 2 );
It’s working like a Charm, but how can i add Full Width Content? I’ve tried the same function with woocommerce_after_main_content, it’s not working.
Would be grateful for every help.
Greets
MarcThe page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adding Content below archive-category, full width’ is closed to new replies.