# Using fields in the builder

All details are available in the YOOtheme Pro builder under *Dynamic Content*, source *Site*, field *Business Profile*. The keys are in English and the same in all languages; the same keys appear in the form below each field.

## Connecting a field to an element

1. In the builder, select an element, for example *Text* or *Headline*.
2. Click *Dynamic* for the content.
3. Under *Site* &gt; *Business Profile*, choose the field, for example *Phone*.

A button that dials the number: element *Button*, *Dynamic* for the link and *Phone (link)*. A button to Google Maps: element *Button*, for the link *Google Maps (link)* or, for the route planner, *Directions in Google Maps (link)*. It is only a link: Google Maps opens on the click, no data are sent before. Without an address and without coordinates the link stays empty, and YOOtheme hides the button. A map: element *Map*, *Position for the map* for the location. Opening hours as a list: element *List*, choose *Opening hours* as the source for the item; each weekday becomes one row.

## All fields

### Company

<table class="table" id="bkmrk-keylabeltype-company"> <thead><tr><th scope="col">Key</th><th scope="col">Label</th><th scope="col">Type</th></tr></thead> <tbody> <tr><td><code>company&#95;name</code></td><td>Name</td><td>Text</td></tr> <tr><td><code>legal&#95;form</code></td><td>Legal form</td><td>Text</td></tr> <tr><td><code>company&#95;name&#95;full</code></td><td>Name with legal form</td><td>computed</td></tr> <tr><td><code>slogan</code></td><td>Slogan</td><td>Text, per language</td></tr> <tr><td><code>founding&#95;year</code></td><td>Year founded</td><td>Number</td></tr> <tr><td><code>years&#95;in&#95;business</code></td><td>Years since founding</td><td>computed</td></tr> <tr><td><code>logo</code></td><td>Logo</td><td>Image</td></tr> </tbody></table>

### Address

<table class="table" id="bkmrk-keylabeltype-streets"> <thead><tr><th scope="col">Key</th><th scope="col">Label</th><th scope="col">Type</th></tr></thead> <tbody> <tr><td><code>street</code></td><td>Street and number</td><td>Text</td></tr> <tr><td><code>address&#95;extra</code></td><td>Address addition</td><td>Text</td></tr> <tr><td><code>postcode</code></td><td>Postcode</td><td>Text</td></tr> <tr><td><code>city</code></td><td>City</td><td>Text</td></tr> <tr><td><code>region</code></td><td>State or region</td><td>Text</td></tr> <tr><td><code>country</code></td><td>Country</td><td>Text, name in the page language</td></tr> <tr><td><code>address&#95;line</code></td><td>Address in one line</td><td>computed</td></tr> <tr><td><code>address&#95;two&#95;lines</code></td><td>Address in two lines</td><td>computed</td></tr> <tr><td><code>latitude</code></td><td>Latitude</td><td>Number</td></tr> <tr><td><code>longitude</code></td><td>Longitude</td><td>Number</td></tr> <tr><td><code>maps&#95;link</code></td><td>Google Maps (link)</td><td>computed, Google Maps with name and address</td></tr> <tr><td><code>directions&#95;link</code></td><td>Directions in Google Maps (link)</td><td>computed, route planner with the address as destination</td></tr> <tr><td><code>location</code></td><td>Position for the map</td><td>computed, “latitude,longitude”</td></tr> </tbody></table>

### Contact

<table class="table" id="bkmrk-keylabeltype-phoneph"> <thead><tr><th scope="col">Key</th><th scope="col">Label</th><th scope="col">Type</th></tr></thead> <tbody> <tr><td><code>phone</code></td><td>Phone</td><td>Text</td></tr> <tr><td><code>phone&#95;link</code></td><td>Phone (link)</td><td>computed, tel: link</td></tr> <tr><td><code>mobile</code></td><td>Mobile</td><td>Text</td></tr> <tr><td><code>mobile&#95;link</code></td><td>Mobile (link)</td><td>computed, tel: link</td></tr> <tr><td><code>fax</code></td><td>Fax</td><td>Text</td></tr> <tr><td><code>email</code></td><td>Email</td><td>Text</td></tr> <tr><td><code>email&#95;link</code></td><td>Email (link)</td><td>computed, mailto: link</td></tr> <tr><td><code>website</code></td><td>Website</td><td>Text</td></tr> <tr><td><code>booking&#95;url</code></td><td>Online booking</td><td>Text</td></tr> <tr><td><code>social</code></td><td>Social profiles</td><td>List: network, label, url</td></tr> </tbody></table>

### Opening hours

<table class="table" id="bkmrk-keylabeltype-hoursop"> <thead><tr><th scope="col">Key</th><th scope="col">Label</th><th scope="col">Type</th></tr></thead> <tbody> <tr><td><code>hours</code></td><td>Opening hours</td><td>List: day, day\_label, closed, times</td></tr> <tr><td><code>hours&#95;text</code></td><td>Opening hours as text</td><td>computed, identical days combined</td></tr> <tr><td><code>hours&#95;note</code></td><td>Note on opening hours</td><td>Text, per language</td></tr> </tbody></table>

### Legal

<table class="table" id="bkmrk-keylabeltype-ownerow"> <thead><tr><th scope="col">Key</th><th scope="col">Label</th><th scope="col">Type</th></tr></thead> <tbody> <tr><td><code>owner</code></td><td>Owner</td><td>Text</td></tr> <tr><td><code>representatives</code></td><td>Authorised representatives</td><td>Text</td></tr> <tr><td><code>register&#95;court</code></td><td>Register court</td><td>Text</td></tr> <tr><td><code>register&#95;number</code></td><td>Register number</td><td>Text</td></tr> <tr><td><code>vat&#95;id</code></td><td>VAT ID</td><td>Text</td></tr> <tr><td><code>supervisory&#95;authority</code></td><td>Supervisory authority</td><td>Text</td></tr> <tr><td><code>chamber</code></td><td>Chamber</td><td>Text</td></tr> <tr><td><code>profession&#95;title</code></td><td>Professional title</td><td>Text</td></tr> <tr><td><code>insurance&#95;name</code></td><td>Professional liability insurance: insurer</td><td>Text</td></tr> <tr><td><code>insurance&#95;address</code></td><td>Address of the insurer</td><td>Text</td></tr> <tr><td><code>insurance&#95;scope</code></td><td>Territorial scope of the insurance</td><td>Text</td></tr> </tbody></table>

## Rules of the computed fields

- **Opening hours as text** combines consecutive days with the same hours, for example “Mon–Fri 9:00–17:00, Sat 9:00–12:00”. Closed days are left out. Weekdays follow the language of the page.
- **Phone (link)** contains only digits and a leading “+”. A “(0)” after the country code is dropped, because it is not dialled.
- **Years since founding** is the current year minus the year founded.
- An empty field results in an empty computed field, never in placeholder text.

The Pro version adds: fields for special days and the opening status, title and alias of the location, and custom fields. They are described on the Pro pages of this manual.

[Deutsche Fassung](https://docs.graup-it.de/link/500)