WordPress neighbourhood text
A written description of the neighbourhood of each property (schools, shops, public transport, roads, leisure, nearby cities), inserted in your page as ordinary headings and paragraphs. Part of the Yatmo WordPress plugin.
Install
Install the Yatmo plugin from wordpress.org/plugins/yatmo-map/ and enter your license key in Settings > Yatmo Map. The text shares the key, country, language and property location settings with the map. Its own defaults (paragraphs, heading level, place names in headings) are in the Neighbourhood text section of the same page.
Block and shortcode
In the block editor, add the Yatmo Neighbourhood Text block (Text category), give it an address or coordinates, and tick the paragraphs you want. Elsewhere, use the shortcode:
[yatmo-text address="Rue de la Loi 16, 1000 Bruxelles"]
[yatmo-text latitude="50.8461" longitude="4.3664" paragraphs="education,shopping,publictransports" heading="h3" street_in_title="0"]
In a listing template, leave the location empty: like the map, the text reads the coordinates from the custom fields set in the settings page.
All attributes
| Name | In | Type | Description |
|---|---|---|---|
| address | string | Property address, located by the Yatmo geocoder in the selected country. | |
| latitude / longitude | number | Property coordinates. Take precedence over the address. | |
| country | string | Country code (BE, FR, UK...). Default: the settings page. | |
| language | string | Language code. The text exists in the languages of the country (French, Dutch and English in Belgium, for example), otherwise in English. Default: the language of the page. | |
| paragraphs | string |
Comma-separated among education, shopping, publictransports, transports, tourism, cities. Default: the settings page (all six).
|
|
| heading | string |
Heading level of each paragraph title, h2 to h6.
Default: h3. |
|
| street_in_title | 0 / 1 |
Street name in the first heading. Set to 0 when the exact address must stay private.
Default: 1. |
|
| city_in_title | 0 / 1 |
City name in the second heading.
Default: 1. |
|
| class | string | Extra CSS class on the wrapper. |
Search engines
The text is generated once per location by Yatmo, cached for 30 days by WordPress, and written into the HTML of the page: search engines and AI assistants read it as part of your listing, with the keywords in <strong>. It is styled by your theme. Developers can rework the markup with the yatmo_map_text_html filter, which also receives the raw text in every language.
Upgrading from yatmo-text
The former yatmo-text plugin is replaced by the Yatmo plugin: install it, then deactivate and delete yatmo-text. Your [yatmo-text] shortcodes keep working, including lat, lng, visibleparagraphs, showstreetnameintitle and showplacenameintitle. The openingtitlenodetype-style attributes are ignored: choose the heading level with heading and let your theme style the text. The default paragraphs and place-name settings are carried over.