Option pages

Manage option pages

Options pages are setting pages in the WordPress admin area containing fields with the ability to control global options.

For more info, please refer to the official WordPress documentation.

Manage option pages

The option page dashboard looks like this:

On the right corner, there is a button labeled Manage Pages, click it.

The option pages builder opens up.

To create a new first-level page, click on the Add page button:

For every page, define:

  • Page title: the text to be displayed in the title tags of the page when the menu is selected

  • Menu title: the text to be used for the menu

  • Menu slug: the slug name to refer to this menu by (should be unique for this menu)

  • Menu icon: the icon displayed in the WordPress menu

  • Menu position: the position in the menu order the item should appear.

  • Capability: the capability required for this menu to be displayed to the user.

  • Page description: displayed below the title on the page

For more information, please refer to the official add_option_page() documentation.

Every first-level page can have child pages. If you want to add a child page, click on the corresponding button.

A child page has the same properties, except for the icon.

To delete a page, click on the trash icon in the top right corner of the page card.

Once you are done, click on the Save button, and an alert will confirm that the operation occurred correctly.

Last updated