Listing Shortcode [listing]
This shortcode allows for you to specify the property type(s) using [listing post_type="property,rental" status="current,sold,leased" template="default"] option. You can also limit the number of entries that display. using [listing limit="5"]
Since 3.6 [listing] and [listing_advanced] are the same shortcode, so [listing] also takes feature="pool", location_id="12", open_house="true", auction="true", post__in="1,2", orderby_clause and the other [listing_advanced] options.
| Since | |
|---|---|
1.0 |
|
3.5 |
make sure meta_query in arg is defined as array, prior usage. |
3.6 |
Runs on the [listing_advanced] engine (EPL_Shortcode_Listing), so it takes every [listing_advanced] option. Existing [listing] options give the same query and output as before. |
| Parameters | |||
|---|---|---|---|
array
|
$atts |
Shortcode attributes. |
# |
| Returns | |
|---|---|
false|string
|
|