Featured Products Shortcode Not Using Storefront Layouts?
-
I’m trying to use the shortcodes on the homepage to display items.
[products limit="8" columns="4" orderby="date" order="desc" visibility="featured"]
Problem is it’s not using the same layout as the shop page uses because the classes are different.
Shop page layouts use this:
<ul class="products columns-3"> <li class="product-category product first"> </li> ........ </ul>
But when I use a shortcode it uses:
<div class="woocommerce columns-4 "><ul class="products columns-4"> <li class="post-651 product type-product status-publish has-post-thumbnail product_cat-coin-purses-wallets-id-holders product_cat-cambodia-recycled-tire-products first instock featured taxable shipping-taxable purchasable product-type-simple"> </li> ........ </ul></div>
Can I use shortcodes to use the StoreFront layout with the shortcodes?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Featured Products Shortcode Not Using Storefront Layouts?’ is closed to new replies.