Shortcodes
Shortcodes
The following shortcodes are available when the Locrating add on is enabled:
Shortcode: [locrating_schools_map]
Description: A map showing local schools, distance to property, Ofsted reviews, GCSE and A-Level results, and much more.
Shortcode: [locrating_amenities_map]
Description: A map showing local amenities such as supermarkets, cafes, parks and more.
Shortcode: [locrating_transport_map]
Description: A map showing local transport links, train stations and more.
Shortcode: [locrating_all_in_one_map]
Description: Everything in one map with filters to choose what's displayed.
Shortcode: [locrating_broadband_checker_map]
Description: A map and data showing broadband speeds and connectivity.
Shortcode: [locrating_transport_list_vertical]
Description: A list of local train and underground stations
Shortcode: [locrating_transport_list_horizontal]
Description: A list of local train and underground stations in a horizontal format.
Attributes
All of the above shortcodes support 2 attributes: lat
and lng
.
Using these attributes you can display the Locrating maps on a non-property page for a particular location.
For example, let's say your website has area guides. You could show a Locrating map on an area guide showing schools in that location.
This would look something like so:
[locrating_schools_map lat="51.243435" lng="-0.012434"]