Shortcodes
[row]
[column md=”6″]
All major real estate elements can easily be added to any post/page as a shortcode with a single click, straight from the text editor. Below are all custom real estate shortcodes with example code and shortcode output.
[/column]
[column md=”6″]
[/column]
[/row]
Shortcode: Property Listing
The property listing shortcode comes with plenty of filters. The example below show all apartments (type) in london (location) that are for rent (status) with air conditioning (features), available from Sept 01 2014 (available_from), with a max price of 5000 (max_price) in a three column-layout (columns) with three properties per page (per_page).
[property_listing colums="3" per_page="3" location="london" status="rent" type="apartment" features="air-conditioning" max_price="5000" min_rooms="2" available_from="20140901"]
Compare Properties
Please create a page that is using page template "Property Comparison".
Make sure to use the slug for “location”, “status”, “type” and “features”. Format of “available_from” is: YYYYMMDD
Shortcode: Featured Properties
Properties can be set “Featured” with a single click from the property detail page.
[[featured_properties columns="3"]]
[featured_properties columns=”3″]
Shortcode: Single Property
Insert any single property anywhere on your site by referencing its post ID.
[row]
[column md=”6″]
[single_property id="297"]
[/column]
[column md=”6″]
[single_property id="95"]
[/column]
[/row]
Shortcode: Agents
Use the following shortcode to display your entire team of agents on your “About” page or within a blog post.
[agents columns="3"]
Shortcode: Testimonials
Custom post type “Testimonials” works the same as a normal blog post.
[[testimonials columns="2"]]
[testimonials columns=”2″]
Shortcode: Property Search Form
Fully customizable property search, built on top af Advanced Custom Fields Pro.
[property_search_form]
Shortcode: Map
Insert custom property maps anywhere on your site. Set location, zoom level, and map height. You can add your own Google Maps styles or insert any existing map style you find online. Simply copy+paste the map style code under “Appearance > Theme Options > Map > Map Style”.
[map address="London, UK" zoomlevel="12" height="400px"]
Shortcode: Latest Posts
Show a preview of your latest blog posts anywhere on your site. Set number of posts and columns.
[latest_posts posts="3" columns="2"]