Shortcodes
[row]
[column md=”6″]
All major real estate elements can easily be added to any page or post as a shortcode with a single click, straight from the text editor menu. As you can see on the screenshot to the right-hand side:
[/column]
[column md=”6″]
[/column]
[/row]
Below are all custom real estate shortcodes with example code and shortcode output.
[section_title heading=”h3″]Shortcode: Property Listing[/section_title]
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"]]
[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″]
Make sure to use the slug for “location”, “status”, “type” and “features”. Format of “available_from” is: YYYYMMDD
[section_title heading=”h3″]Shortcode: Featured Properties[/section_title]
Properties can be set “Featured” with a single click from the property detail page.
[[featured_properties columns="2"]]
[featured_properties columns=”2″]
[section_title heading=”h3″]Shortcode: Single Property[/section_title]
Insert any single property anywhere on your site by referencing its post ID.
[row]
[column md=”6″]
[[single_property id="297"]]
[single_property id=”297″]
[/column]
[column md=”6″]
[[single_property id="95"]]
[single_property id=”95″]
[/column]
[/row]
[section_title heading=”h3″]Shortcode: Agents[/section_title]
Use the following shortcode to display your entire team of agents on your “About” page or within a blog post.
[[agents columns="3"]]
[agents columns=”3″]
[section_title heading=”h3″]Shortcode: Testimonials[/section_title]
Testimonials are created like a normal blog post.
[[testimonials columns="2"]]
[testimonials columns=”2″]
[section_title heading=”h3″]Shortcode: Property Search Form[/section_title]
Fully customizable property search. Enable/disable any search field.
[[property_search_form]]
[property_search_form]
[section_title heading=”h3″]Shortcode: Map[/section_title]
Insert custom property maps anywhere on your site. Set location, zoom level, and map height.
[[map address="London, UK" zoomlevel="13" height="400px"]]
[map address=”London, UK” zoomlevel=”13″ height=”400px”]
[section_title heading=”h3″]Shortcode: Latest Posts[/section_title]
Show a preview of your latest blog posts anywhere on your site. Set number of posts and columns.
[[latest_posts posts="3" columns="2"]]
[latest_posts posts=”3″ columns=”2″]