Display Products Grid

You can easily output a grid of products using the [tajer_products] short code. This short code takes variety of parameters that allow you to specify what products are displayed, and how they display.
To show products with the default configuration, use this:
[tajer_products]
This will output the products in a grid with thumbnails (if present), a 30 word excerpt, and a purchase button that says “Buy Now”.
If you wish to modify this output, here is a list of the parameters:

category

exclude_category

tags

exclude_tags

relation

number

price

excerpt

full_content

buy_button

thumbnails

orderby

order

ids
Both the category and tags parameters take a comma separated list of slugs or IDs. For example:
[tajer_products category="22,themes" tags="WordPress,SEO"]
The exclude_category and exclude_tags parameters are used to exclude products with specific categories or tags. Use a comma separated list of slugs for each.
The order parameter accepts either “DESC” or “ASC”.
The orderby parameter accepts the following options:
id

random

post_date

title
The number parameter accepts a numerical value. Specify the maximum number of products you want to output by the shortcode. For example:

[tajer_products number="15"]

The relation option is for specifying whether the displayed products have to be in ALL the categories/tags provided, or just in at least one.

Use “AND” for displaying products that are filed in every category/tag (very specific), and use “OR” for displaying products filed in any of the given categories / tags. Leave both of these blank to show all products.

Price, excerpt, full_content and buy_button take “yes” or “no”.

The thumbnails parameter requires “true” or “false”.

The ids parameter takes specific product IDs. You can specify multiple product IDs using comma separated values. For example:

[tajer_products ids="3,4,17"]

Example:

[tajer_products category="plugins,themes" number="10"]