How To Use Different Templates For Archive, Category and Vendor Shortcode (Pro)

Generally, archive, category and vendor shortcodes show the coupons using a grid style layout.

If you want to use any of the templates as the design, you can do that by using the ‘temp’ attribute. Here’s how you can use it.

Let’s say I want to show archive shortcode using Template One.

The shortcode will look like this – [wpcd_coupon temp='one']

As of now, you can use default, one, two, three as the attributes value.

NOTE: If you use default as the template and your individual coupon has Template Five or Six set for it, then the coupon will be shown using Template Five or Six.

You can use the ‘temp’ attribute with Archive, Category and Vendor shortcode.

Imtiaz Rayhan

WordPress Developer, JavaScript Enthusiast. Music Addict, Led Zeppelin Fan. Conncect with me on Facebook, Google+ and Twitter.

Click Here to Leave a Comment Below

Leave a Comment: