[epl_rate_my_agent] shortcode
The Rate My Agent feature allows you to output Rate My Agent widgets on your pages and posts using a simple Shortcode. There are a variety of options available with this shortcode
[epl_rate_my_agent]
You can output listings by a specific type like this:
[epl_rate_my_agent]
Usage
There are several options that may be specified using this syntax:
[epl_rate_my_agent option1="value1" option2="value2"]
You can also print a list of listings in a template like so:
<?php echo do_shortcode('[epl_rate_my_agent'); ?>
All Options
id url agent_id agent_url
Options
The following options are accepted:
id
specify the Rate My Agent office ID. If not specified then the ID from the extension settings will be used.
When visiting the Rate My Agent website the URL for an office looks like:
https://www.ratemyagent.com.au/ real-estate-agency/awesome-agency-ed450/sales/reviews
[epl_rate_my_agent id="my-rate-my-agent-office-id-ed209"]
url
specify the Rate My Agent review URL. If not specified then the Review URL from the extension settings will be used.
[epl_rate_my_agent url="https://www.ratemyagent.com.au/"]
agent_id
specify the Rate My Agent agent ID. If not specified then the Review URL from the extension settings will be used. This is to be used to display individual agents Rate My Agent details.
When visiting the Rate My Agent website the URL for an individual agent looks like:
https://www.ratemyagent.com.au/ real-estate-agent/joe-bloggs-ed019/sales/reviews
[epl_rate_my_agent agent_id="joe-bloggs-ed019"]
agent_url
specify the Rate My Agent review URL. If not specified then the Review URL from the extension settings will be used.
[epl_rate_my_agent agent_url="https://www.ratemyagent.com.au/"]