1. Docs
  2. Developer Guide
  3. Shortcodes
  4. [recent_properties]

[recent_properties]

Output a list of recently added properties anywhere on the website using the shortcode:

[recent_properties]

By default this will output 12 recent properties in date order and uses the content-property-recent.php template.

Attributes

Attribute: per_page

Description: Determines the number of properties returned.

Default: 12

Example: [recent_properties per_page="6"]


Attribute: department

Description: 

Possible Values: (empty), residential-sales, residential-lettings, commercial

Default: (empty)

Example: [recent_properties department="residential-sales"]


Attribute: office_id

Description: 

Default: (empty)

Example: [recent_properties office_id="6"]

 

Was this article helpful to you? Yes No