Pro 4 Featured request: Output Post classes on the Element with Looper Consumer

Hi!

I believe this is very important. For example, if we drop a WooCommerce shortcode to a page, such as this one: [products columns="4" limit="10"], and if we inspect the output, we will see all the classes on the Looped elements:


<li class="has-post-thumbnail product type-product post-197 status-publish instock product_cat-accessories sale shipping-taxable purchasable product-type-simple">

If it is possible, I believe that an element that has a Looper consumer enabled should also display all classes that the looped item has. There are various cases where it is useful to make a distinction between items inside a single loop.

Thanks!

I have just realized that all I have to do is to add {{dc:post:classes}} field to the Classes field.

I will leave the post in case someone needs this.

Thanks!

Glad you’ve figured it out, @Misho.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.