-
Notifications
You must be signed in to change notification settings - Fork 28
Shortcodes
Brandon Hubbard edited this page Jun 3, 2015
·
7 revisions
[listings]
The shortcode accepts the following parameters:
-
id
= listing post id (accepts one or more id's), exclusive, cannot be combined with other parameters, except for columns -
limit
= limit the number of posts to show, defaults to all -
columns
= display output in columns, accepts values 2-6, default is 1 column -
taxonomy
= taxonomy to display (must be used with the term parameter) -
term
= term to display (must be used with the taxonomy parameter)
Example advanced usage:
[listings taxonomy="status" term="active" limit="10" columns="3"]
This will display all listings in the "Status" taxonomy, assigned to the "Active" term, limited to 10 listings, in 3 columns