Search.../

getSiteDisplayName( )

Gets the site display name.

Description

Retrieves the site display name, which is the name that has been entered in the Website Settings section of the site's Dashboard.

Syntax

function getSiteDisplayName(): string

getSiteDisplayName Parameters

This function does not take any parameters.

Returns

The site display name.

Return Type:

string

Was this helpful?

Get the site display name

Copy Code
1import wixSiteFrontend from 'wix-site-frontend';
2
3const siteName = wixSiteFrontend.getSiteDisplayName(); // "My Site"