GCBGutenberg
Control Blocks
Buy

Field type

page-link

Placeholder type — currently falls through to the url control. The original GCB referenced this type but never shipped a real implementation, so for now it's an alias for url.

Type: page-link · Stored attribute type: object

Stored value

{ url: string, text: string, opensInNewTab: boolean } — same as url

Supports

  • All url features (display text, opens-in-new-tab toggle)

Config options

OptionTypeDefaultDescription
defaultobjectInitial value, e.g. { "url": "", "text": "Read more", "opensInNewTab": false }.

Gotchas

  • Today this is an alias for url. If you need to pick from existing site pages specifically, fall back to post-object with postType: "page".

Example

JSON
{ "id": "ctrl_page",
  "type": "page-link",
  "label": "Linked page",
  "attributeKey": "page",
  "parentPanelId": "panel" }

Every field also takes the keys common to all fields.

Built from GCB Lite 0.4.0 (ce232d4). Source: schemas/controls/page-link.md.

Copyright © 2026 Runchain. WordPress is a trademark of the WordPress Foundation.