gdkob_list_products

This shortcode is used to display a list of products.

Attributes

Shortcode has several attributes:

  • class: additional CSS class name to add
  • group: one or more product groups to filter entries.
  • sort_column: the column for sorting articles. The default is ‘name’.
  • sort_order: articles sorting order. The default is ‘ASC’.
  • limit: number of articles per category limit. The default is 4.

Articles Sort Column

Sort column supports following values:

  • name: article name
  • ID: article ID
  • date: article publish date
  • comment_count: article comments count
  • rand: random sort
  • none: no sorting

Example

Shortcode:

[gdkob_list_products sort_column="rand" sort_order="ASC" limit="3"]

Output:

0
0
71
Rate this reference

You are not allowed to rate this post.

Comments

Leave a Reply