Site settings

Inside Webiny administration under the settings menu you'll find Site Settings which control the general information such as site name, domain, logo, favicon and links to social profiles.

Webiny - Theme Menu

This information is often needed inside the site theme but it's not directly exposed. To retrieve the site settings you will need to issue a GraphQL query. This article explains how to do that.

Inside the default theme, the required GraphQL implementation is already made for you. Have a look at Header component, or similarly to that, the Footer component.

To access the same information inside your own components, just follow the same principle explaned in the above GraphQL Article. (1) Write your query, then (2) issue the query using the Query component and (3) consume the result inside your own React components.

Last updated on 2019-11-28 by sven