How to use our Properties Shortcode
Our properties shortcode is available to those who have purchased either our Agent Pro or Agency Pro plan and is used to display properties from your RateMyAgent account directly on any page or post.
If you are using the block editor, there is a shortcode block you can use to insert the shortcode. Alternatively, if you are using the classic editor, you simply paste the shortcode wherever you want your feed to display.
[rma_properties]
Shortcode Attributes
There are a number of shortcode attributes available which you can use to customise the output.
agent_code
– defines which agent data is displayed in the feed. Use RateMyAgent agent code. Accepts multiple agent codes comma separated. Properties linked to all agents displayed by default.display
– defines if feed displays as Grid, Carousel or Map view. Defaults to Grid. Options are grid, carousel or map. Specify one only.layout
– defines which one of our pre-built layouts is used. Defaults to 1. Used in conjunction withdisplay
. Options are 1 or 2. Specify one only.max_words
– maximum number of words to display in the description. Defaults to value set under plugin Settings -> General. Use -1 to show full description or 0 to hide description.max_posts
– the maximum number of posts to display in your feed. Defaults to value set under plugin Settings -> General.columns
– the number of columns to display. Use in conjunction with grid or carousel layout 2. Options are 1, 2, 3 or 4. Specify one only.posts_per_page
– toggles pagination on. Use in conjunction withmax_posts.
Defaults to value set under plugin Settings -> General.property_status
– defines which properties are displayed in the feed based on status. Defaults to all. Options are sale, rent, sold or leased. Accepts multiple property statuses comma separated.suburb
– displays properties for the suburb/s entered. Accepts multiple property statuses comma separated.agent_profile
– displays the agent profile with the property listing. Defaults to show. Specify hide to hide.section_background_image
– adds a background image to the HTML wrapper for the feed. Use image URL.section_background_color
– adds a background color to the HTML wrapper for the feed. Use HEX code or RGBA value.section_font_color
– defines the font color of section header and section footer.section_padding_top
– Change the padding-top of the feed section. Use valid CSS value only.section_padding_bottom
– Change the padding-bottom of the feed section. Use valid CSS value only.color_scheme
– defines the theme color use on the feed items. Options are light, dark, and grey. Specify one only.section_width
– defines the width of the feed. Defaults to default which is a max width of 1140px. Options are default, small, medium, large or full. Specify one only.header_title
– displays header title text above the feed.header_sub_title
– displays header sub title text above the feed.view_more_link
– display a view more button. Specify the URL.classes
– adds an HTML wrapper class so you can modify the specific output with custom CSS.
Examples
Here are some examples of how our shortcode can be used to display Properties.
Properties Shortcode Example 1
[rma_properties agent_code="A001" header_title="Latest Properties" header_sub_title="See what's new on the market" max_posts="3"]
The shortcode above will display the latest 3
active properties from your RateMyAgent account linked to Agent Code A001
. The header title text will display as Latest Properties
with sub title text See what our customers have to say
. As no layout has been specified, the default which is layout 1
is used.
Properties Shortcode Example 2
[rma_properties property_status="sold" layout="2" section_background_color="#f5f5f5" header_title="Recent Sales" header_sub_title="See what's sold recently in your area" max_posts="12"]
The shortcode above will display the latest 12
sold properties from your RateMyAgent account. The background color for your feed will be #f5f5f5
which is a light grey. The header title text will display as Recent Sales
with sub title text See what's sold recently in your area
. The layout specified is our pre-built layout 2
.