Use an options page for values that belong to the whole site: contact details, social links, a site-wide announcement.
- Go to Custom Fields > Options Pages and click Add Options Page.
- General: enter a page title, such as Site Settings. The menu title and slug fill in.
- Menu: place it at the top level with its own icon, or under Settings, Tools, Appearance or another options page. Set the capability (who can open it) and the menu position.
- Storage & Buttons: leave the storage ID as
optionsunless you need separate storage. You can rename the Update button and the saved message. - Save, then create a field group with the location rule Options Page is equal to Site Settings.
The page appears in the admin menu with your fields and an Update button.
Show the values: , or sgcf_get_field( 'phone', 'option' ) in a template.
