шорткоды woocommerce wordpress
<!-- шорткод внутри php -->
<div class="product-gallery">
<h2><?php _e( 'Recent Products', 'woothemes' ); ?></h2>
<?php echo do_shortcode( '[recent_products per_page="12" columns="3"]' ); ?>
</div>
<!-- шорткоды для страницы с категорией-->
[product_category category="muzhchiny" per_page="4" columns="3"]
WooCommerce > 2.1.x Shortcodes:
[woocommerce_cart] – shows the cart page
[woocommerce_checkout] – shows the checkout page
[woocommerce_order_tracking] – shows the order tracking form
[woocommerce_my_account] – shows the user account page
[woocommerce_edit_account] – Edit account pages
[woocommerce_change_password] – shows the change password page
[woocommerce_view_order] – shows the user account view order page
[woocommerce_logout] – shows the logout page
[woocommerce_pay] – shows the checkout pay page
[woocommerce_thankyou] – shows the order received page
[woocommerce_lost_password] – shows the lost password page
[woocommerce_edit_address] – shows the user account edit address page
The arguments array (labelled “Args”) shown above each of the following shortcodes displa