Available Parameters
title: Title of this shortcode
numbers: Numbers of products to show
columns: Numbers of columns per row
orderby: ID, title, date (default), modified, rand, comment_count, menu_order
order: ASC, DESC (default)
image_width: default = Catalog Images width in WooCommerce Settings
image_height: default = Catalog Images height in WooCommerce Settings
image_crop: yes / no, default = Catalog Images hard crop in WooCommerce Settings
product_saleflash: yes (default) / no : Show product sale flash
product_title: yes (default) / no : Show product title
product_price: yes (default) / no : Show product price
product_button: yes / no (default) : Show add to cart button
numbers: Numbers of products to show
columns: Numbers of columns per row
orderby: ID, title, date (default), modified, rand, comment_count, menu_order
order: ASC, DESC (default)
image_width: default = Catalog Images width in WooCommerce Settings
image_height: default = Catalog Images height in WooCommerce Settings
image_crop: yes / no, default = Catalog Images hard crop in WooCommerce Settings
product_saleflash: yes (default) / no : Show product sale flash
product_title: yes (default) / no : Show product title
product_price: yes (default) / no : Show product price
product_button: yes / no (default) : Show add to cart button
Example 1
return four latest products
[prima_products title="Latest Products"]
Latest Products
-
Sale!
test file
$0.02$0.01 -
Sale!
3D Sublimation 6 Up Machine MS-060
$24,999$23,995 -
Sale!
3D Sublimation 4 Up Machine MS-240
$16,999$15,995 -
Sale!
3D Sublimation 2 Up Machine MS-020
$13,999$12,499
Example 2
return six latest products in 3 columns ( two rows )
[prima_products title="Latest Products" numbers="6" columns="3"]
Latest Products
-
Sale!
test file
$0.02$0.01 -
Sale!
3D Sublimation 6 Up Machine MS-060
$24,999$23,995 -
Sale!
3D Sublimation 4 Up Machine MS-240
$16,999$15,995 -
Sale!
3D Sublimation 2 Up Machine MS-020
$13,999$12,499 -
Sale!
Nexus DTG800TX Direct To Garment Printer DTG
$45,000$39,500 -
Sale!
Vesta Large Format 20×26 Inch Heat Press Machine VP3802M26
$995$850
Example 3
return four random products
[prima_products title="Random Products" numbers="4" columns="4" orderby="rand"]
Random Products
-
Sale!
Stahls Caddie Stand for Hotronix and Maxx Clam Shell Heat Presses
$350$299 -
Sale!
Red Premium Heat Transfer Vinyl CAD Cut and Easy Weed HPU
From:$20$18 -
Sale!
FOREVER Laser-Transparent Transfer Paper, self weeding and no background
From:$15$9 -
Sale!
Brother Wide Format 11×17 and 8.5×11 Pigment Ink Heat Transfer Printer with Refillable Cartridges
$500$445
Example 4
return four products with images only
[prima_products title="Nice Products" numbers="4" columns="4" product_saleflash="no" product_title="no" product_price="no"]
Nice Products
Example 5
return four products with “add to cart” button
[prima_products title="Buy Now" numbers="4" columns="4" product_button="yes"]
Buy Now
-
Sale!
test file
$0.02$0.01 Add to cart -
Sale!
3D Sublimation 6 Up Machine MS-060
$24,999$23,995 Add to cart -
Sale!
3D Sublimation 4 Up Machine MS-240
$16,999$15,995 Add to cart -
Sale!
3D Sublimation 2 Up Machine MS-020
$13,999$12,499 Add to cart
Example 6
return four latest products with custom image size (portrait style)
[prima_products title="Latest Products" image_width="150" image_height="225"]
Latest Products
-
Sale!
test file
$0.02$0.01 -
Sale!
3D Sublimation 6 Up Machine MS-060
$24,999$23,995 -
Sale!
3D Sublimation 4 Up Machine MS-240
$16,999$15,995 -
Sale!
3D Sublimation 2 Up Machine MS-020
$13,999$12,499