Default welcome message to get attention!

Use PrimaThemes coupon code to save you 15% off on your order.

Shop Now!

Products Shortcode

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

Example 1

return four latest products

[prima_products title="Latest Products"]

Latest Products

laptop-front Sale!

Smart Laptop

$800.00 $400.00
desktop-front Sale!

Smart Desktop

$900.00 $450.00
tablet-front Sale!

Smart Tablet

$700.00 $350.00
phone-front Sale!

Smart Phone

$500.00 $250.00

Example 2

return six latest products in 3 columns ( two rows )

[prima_products title="Latest Products" numbers="6" columns="3"]

Latest Products

laptop-front Sale!

Smart Laptop

$800.00 $400.00
desktop-front Sale!

Smart Desktop

$900.00 $450.00
tablet-front Sale!

Smart Tablet

$700.00 $350.00
phone-front Sale!

Smart Phone

$500.00 $250.00
camera-01

Video Camera

$250.00
camera-03 Sale!

Digital Camera

$250.00 $230.00

Example 3

return four random products

[prima_products title="Random Products" numbers="4" columns="4" orderby="rand"]

Random Products

jeans-04 Sale!

Baggy Jeans

from $76.50 $60.00
dress-04 Sale!

Jumper Dress

from $102.00 $85.00
phone-front Sale!

Smart Phone

$500.00 $250.00
belt-03 Sale!

White Belt

from $25.50 $22.00

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

laptop-front
desktop-front
tablet-front
phone-front

Example 5

return four products with “add to cart” button

[prima_products title="Buy Now" numbers="4" columns="4" product_button="yes"]

Buy Now

laptop-front Sale!
desktop-front Sale!
tablet-front Sale!
phone-front Sale!

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

laptop-front Sale!

Smart Laptop

$800.00 $400.00
desktop-front Sale!

Smart Desktop

$900.00 $450.00
tablet-front Sale!

Smart Tablet

$700.00 $350.00
phone-front Sale!

Smart Phone

$500.00 $250.00