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 physical address city/town value. |
_core.settings.companyAddressCountry | The physical address country value. This will output the full country name. |
_core.settings.companyAddressCountry.abbreviation | The physical address country two-letter abbreviation. |
_core.settings.companyAddressCountry.name | The physical address country full country name. |
_core.settings.companyAddressPostalCode | The physical address postal code value. |
_core.settings.companyAddressProvince |
The physical address state/region/province value. Same as _core.settings.companyAddressRegion and _core.settings.companyAddressState.
|
_core.settings.companyAddressRegion |
The physical address state/region/province value. Same as _core.settings.companyAddressProvince and _core.settings.companyAddressState.
|
_core.settings.companyAddressState |
The physical address state/region/province value. Same as _core.settings.companyAddressProvince and _core.settings.companyAddressRegion.
|
_core.settings.companyAddressStreet | The physical street address value. |
_core.settings.companyMailingAddressCity | The mailing address city/town value. |
_core.settings.companyMailingAddressCountry | The mailing address country value. This will output the full country name. |
_core.settings.companyMailingAddressCountry.abbreviation | The mailing address country two-letter abbreviation. |
_core.settings.companyMailingAddressCountry.name | The mailing address country full country name. |
_core.settings.companyMailingAddressPoBox | The mailing address PO Box value. The value is saved without the "PO Box" prefix. "PO Box" is added to the beginning of this variable's value. |
_core.settings.companyMailingAddressPostalCode | The mailing address postal code value. |
_core.settings.companyMailingAddressProvince |
The mailing address state/region/province value. Same as _core.settings.companyMailingAddressRegion and _core.settings.companyMailingAddressState. |
_core.settings.companyMailingAddressRegion |
The mailing address state/region/province value. Same as _core.settings.companyMailingAddressProvince and _core.settings.companyMailingAddressState. |
_core.settings.companyMailingAddressState |
The mailing address state/region/province value. Same as _core.settings.companyMailingAddressProvince and _core.settings.companyMailingAddressRegion. |
_core.settings.companyMailingAddressStreet | The mailing 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
Variable | 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.
|