Parameters

type:

The type for the post item (portfolio/blog/product).

default: 'portfolio_cat'
options: 'portfolio_cat', 'product_cat', 'blog_cat', 'portfolio_tag', 'product_tag', 'blog_tag'
columns:

(Optional) The number of columns.

default: '4'
options: '2', '3', '4'
counts:

(Optional) The number of posts to display on each page.

default: '12'
options: integer
cats:

(Optional) The category ID’s to pull posts from. Can be entered as a comma separated list.

default: ''
Value: '1,2,3'
posts:

(Optional) The post ID’s to pull posts from. Can be entered as a comma separated list.

default: ''
Value: '1,2,3'
order:

(Optional) Designates the ascending or descending order of the 'orderby' parameter.

default: 'DESC'
options: 'ASC', 'DESC'
orderby:

(Optional) Sort retrieved posts by parameter.

default: 'date'
options: 'ID', 'title', 'name', 'date', 'rand', 'comment_count', 'menu_order'
filter:

(Optional) Show the sort menu.

default: 'yes'
options: 'yes', 'no'
paging:

(Optional) Show the paging.

default: 'yes'
options: 'yes', 'no'

Code

[post_grid type="portfolio_cat" columns="4" counts="12" cats="" posts="" order="DESC" orderby="date" filter="yes" paging="yes"]