Skip to main content

The main shortcode is products. With this you can present the products in different display types, sortings, etc.

Code (Example 1)

[products layout="grid" limit="10" orderby="rating" order="asc" manufacturer="canon"]

Using this line of code, the shortcode would display 10 products in the grid-view. The products are sorted by their rating. The order would be ASC (ascending) and the output would only be effective for products, which are assigned to the taxonomy (manufacturer) CANON.

Keep in mind, that every taxonomy has a different name. So if you use “brand” instead of “manufacturer”, the last parameter have to be brand=”canon”.

Code (Beispiel 2)

[products layout="list" include="123,459,789" orderby="date"]

Lorem ipsum dolor ...

[products layout="list" exclude="123,459,789" orderby="date"]

This example shows the true power of this shortcode. Initially the products will be displayed on two positions in the list-view and sorted by date. Special here are the attributes “include” and “exclude”.

With the first shortcode only products with the ID 123, 456 and 789 will be displayed on your page. These may be the “top three printers”.

After that you can give a little content and then integrate almost the same shortcode right below, but this time with the attribute “exclude”. This means that in this listing products with these IDs are not shown. In doing this you would have the top three products above, after that some content, and then the rest of the products. As a consequence you can minimize the „Ads Above Fold“ rather well. Of course you can mix and match, hence show the grid-view above and the list-view below.


NameContentDefault valueDefault value
limitNumber12Sets the limit on how many products should be displayed. For example for „the top 10 coffee machines”.
Determines the number of products; expects a numeric value.
orderbyID, author, title, name, date, modified, rand, comment_count, menu_order, post__in, rating, rating_count, pricedateSorting of the products. Sorting of the products. An extensive documention can be found in the WordPress Codex. In addition you can sort by rating. For this, use the value “rating”.
ordervariousDESCOrder of the sorting.
Here you can specify how the sorting should take place: ascending or descending (for example for “the 10 most expensive coffee machines”)
ascSorts the products by ascending (z => a // 1 => 999)
descSorts the products by descending.
includeNumberIDs of products, which should be displayed, separated by comma
Here you can specify one or more product IDs. The list is limited to this product/these products. Well suited for include=”1”, in order to only show 1 product, then put in a little text. After that you can…
excludeNumberIDs of products, which should not be displayed, separated by comma.
…use the feature “exclude”, which works the other way round, in order to integrate the rest of the list.
gridDisplays all products in a grid. 3 side by side. With smaller devices 2 or 1.
listLists all products one below the other in individual rows. Also shows the „technical details “.
table-xShows a comparison table (products below one another)
table-yShows a comparison table (products side by side)
detail_buttontrue, falsetrueDe-/activation of the „detail“-button
buy_buttontrue, falsetrueDe-/activation of the “buy”-button
details_fieldstrue, falsetrueShow product details (on/off) – only applies for the “list”-layout
details_taxtrue, falsetrueShow taxonomies (on/off) – only applies for the “list”-layout
price_minNumberLimits the display of products, that cost at least X
price_maxNumberLimits the display of products, that cost at most X
alignleft, right, noneleftIf you only present one product (e.g. limit=1), you can determine, which alignment it has to the text has. The “grid”-layout is a requirement for this feature.
slidertrue, falsefalseShows the products in a slider. The “grid”-layout is a requirement for this feature.
intervalfalse, Zahl8000Rate of the slider in ms (milliseconds); use “false” to deactivate the automatic slide.
colNumber3Which size of the grid should be loaded? Possible inputs: 3 (4 in a row), 4 (3 in row). Only functions in the grid-layout and/or with the product slider.
ratingtrue, falsetrueProduct ratings (on/off). Only works in the table-layout (x, y)
taxonomyslugThe output (of products) can be filtered by the created taxonomies. Instead of „taxonomy“, the defined slug, e.g. “brand”, is specified. As value, the slug of the category is used. For example: brand=”canon”. In doing this, all products of the category Canon (wich is a term of the taxonomy brand) are shown.
reviewtrue, falseWith this parameter, you can display the “Own Ratings” in a separate column for the table-layout (x/y)
highlightNumberIDs of products, which should be highlighted; separated by comma.
Only works in the table-layout.
shopNumberIf you want to show products from a special shop, use the ID of the shop as value. Multiple values are NOT possible.
reducedtrue, falsefalseUse the value “true”, if you only want to show products with an old price (e.g. RRP, recommended retail price).
price_comparetrue, falsefalse>Use the value “true”, if you want to show the price comparison in the table-x layout.

Was this article helpful?

1 Star2 Stars3 Stars4 Stars5 Stars
3.00 / 5

Keine Kommentare vorhanden

You have a question or an opinion about this post? Share it with us!

Your email address will not be published. Required fields are marked *


Choose your currency:

Converted prices are for reference only - all orders are charged in € Euro (€) EUR.
  • USDUS Dollar ($)
  • EUREuro (€)
  • GBPPfund Sterling (£)
  • AUDAustralische Dollar ($)
  • BRLBrasilianischer Real (R$)
  • CADKanadischer Dollar ($)
  • CZKTschechische Krone
  • DKKDänische Krone
  • HKDHongkong Dollar ($)
  • HUFUngarischer Forint
  • ILSIsraelischer Schekel (₪)
  • JPYJapanischer Yen (¥)
  • MYRMalaysischer Ringgits
  • MXNMexikanischer Peso ($)
  • NZDNeuseeland Dollar ($)
  • NOKNorwegische Krone
  • PHPPhilipinischer Pesos
  • PLNPolnischer Zloty
  • SGDSingapur Dollar ($)
  • SEKSchwedische Krone
  • CHFSchweizer Franken
  • TWDTaiwan New Dollar
  • THBThai Baht (฿)
  • INRIndische Rupie (₹)
  • TRYTürkische Lira (₺)
  • RUBRussischer Rubel