Site Settings Variables
The site settings variables provide access to certain site settings within your templates.
Company information
Most of these values come from the Company Information settings page at Settings -> Company Information.
Variable | Description |
---|---|
_core.settings.companyAddressCity | The city/town value. |
_core.settings.companyAddressCountry | The country value. |
_core.settings.companyAddressPostalCode | The postal code value. |
_core.settings.companyAddressProvince | The state/region/province value. Same as _core.settings.companyAddressRegion and _core.settings.companyAddressState. |
_core.settings.companyAddressRegion | The state/region/province value. Same as _core.settings.companyAddressProvince and _core.settings.companyAddressState. |
_core.settings.companyAddressState | The state/region/province value. Same as _core.settings.companyAddressProvince and _core.settings.companyAddressRegion. |
_core.settings.companyAddressStreet | The street address value. |
_core.settings.companyEmail | The primary email address. |
_core.settings.companyFax | The fax number. |
_core.settings.companyDescription | The company description value. This comes from the Settings -> SEO, Marketing & Social -> Structured Data page. |
_core.settings.companyName | The company name value. |
_core.settings.companyPhone | The primary phone value. |
Aggregate ratings structured data
These values are set in the Structured Data settings page under Settings -> SEO, Marketing & Social -> Structured Data.
Variable | Description |
---|---|
_core.settings.companyAggregateRatingBestRating | The aggregate rating best rating value. |
_core.settings.companyAggregateRatingValue | The aggregate rating value. |
_core.settings.companyAggregateRatingReviewCount | The aggregate rating review count value. |
_core.settings.companyAggregateRatingWorstRating | The aggregate rating worst rating value. |
Domain and URL
Description | |
---|---|
_core.settings.domain | The domain name for the website. It does not include "www". |
_core.settings.url | The base URL for the website. It will include "https://". This is not the same as the _page.request.url, which holds the current URL of the page being viewed. |