Home › Forums › Support › Header Element for Woocommerce Categories This topic has 4 replies, 3 voices, and was last updated 4 years, 5 months ago by Leo. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts September 18, 2019 at 10:06 pm #1013200 Kim Hi there, I would like to add custom header elements to each woocommerce category showing the category title and the woocommerce breadcrumbs (and remove them from the container section). Is this possible and can you help me with the necessary code? Many thanks in advance! BR Kim September 19, 2019 at 10:26 am #1013823 TomLead Developer Lead Developer Hi there, The category title should display by default if you use the {{post_title}} template tag in the Header Element – can you confirm? For the breadcrumbs, we’ll have to create a shortcode: add_shortcode( 'custom_woo_breadcrumbs', function() { ob_start(); woocommerce_breadcrumb(); return ob_get_clean(); } ); Now you can add [custom_woo_breadcrumbs] to your Header Element. Let me know π September 19, 2019 at 10:34 am #1013833 LeoStaff Customer Support I’ve actually tested the template tag {{post_title}} and it works to display the category name π November 17, 2019 at 7:47 pm #1066017 Kim Many thanks! Works all perfectly! November 18, 2019 at 8:35 am #1066618 LeoStaff Customer Support No problem π Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In