Projects
Content
Description
Allows to display list of projects.
Features
- Flexible
- Grid view
- Liquid width
- Unlimited times per page
Usage
[pt_items]
Examples
- First
- Second
- Third
Shortcode
4 projects by random order. Grid view by 4 posts per row.
[pt_items qty="4" orderby="rand"]
Live Preview
Shortcode
10 recent projects. Grid view by 5 posts per row.
[pt_items qty="10" grid="5"]
Live Preview
Shortcode
3 recent projects from author 'admin'. Thumbnail height is 200 pixels. Custom text by hover.
[pt_items qty="3" grid="3" author="admin" th="200" hover="See Details"]
Live Preview
Unfortunately, no items found.
Attributes
Posts quantity. (Default: 4)
qty="5"
Number of posts per row. (Default: 4)
grid="5"
Thumbnail height. (Default: 100)
th="150"
Thumbnail width. (Default: auto)
tw="150"
Select cropping area for thumbs. (Default: NULL, by center)
crop="top"
Sort retrieved posts by parameter. (Default: date)
orderby="date"
orderby="rand"
orderby="ID"
orderby="title"
orderby="modified"
orderby="menu_order"
Designates the ascending or descending order. (Default: DESC)
order="DESC" - from lowest to highest values
order="ASC" - from highest to lowest values
Display projects from specified catalogs selected by slug. (by default: NULL, from all)
catalog="artworks"
catalog="artworks,freebies"
Do not display a selected number of recent posts. (Default: NULL)
offset="2"
Do not display a posts selected by ID. (Default: NULL)
exclude="9,11,4"
Display a posts from selected author. (Default: NULL, from all)
author="admin"
Custom text by hover. (Default: More)
hover="See Details"
Custom fallback. (Default: Unfortunately, no items found.)
fallback="Nothing found"