page.setTitle(title)

Set the title of the page.

Syntax

1page.setTitle(title: string): Promise<null>

Parameters

  • title: string - The new title of the page.

Returns

Promise<null>

A promise that resolves to null.

Example

1// Get Current Page
2const currentPage = await webflow.getCurrentPage() as Page
3
4// Set page Title
5await currentPage.setTitle("My New Title")
6console.log(pageTitle)

Designer Ability

Designer AbilityLocaleBranchWorkflowSitemode
canManagePageSettingsAnyAnyAnyAny
Built with