How to display a Category description on a Beaver Builder Category Archive Template using Loops & Logic

You’ll want to create an L&L template on its own (i.e. don’t write the markup in a Beaver Builder Tangible Template module) and then call it into the “custom layout” of a posts module in Beaver Builder using the [template id=something] shortcode as Eliot suggested in this old thread of yours. It looks like WooCommerce products use a taxonomy called product_cat, so while I haven’t tested this, you might be able to create a taxonomy term loop for that product_cat taxonomy and then use the parameter post=current to grab the taxonomy term fields from the current post. I think the taxonomy term description field is just called “description” so if that’s the case, maybe you could then use <Field description /> within the loop and see what that outputs. When you add that template to a Beaver Builder custom layout using the shortcode, it should display the fields from each product post on your archive. You’ll need to play around with that to see how that works, but hopefully this gets you started.

1 Like