Skip to content

Leverage ACF Options pages for global data

If you find yourself needing to update the same piece of data on multiple places in your development site, it might be time to consider storing that information on an ACF field attached to an options page.

This makes this information global, simplifying updates by having only one source of truth and making sure any and all changes are propagated completely/correctly across all pages where it is referred from.

Examples of data that can be global:

  1. Business contact information (email, phone, fax)
  2. Business address
  3. ABN
  4. Social media links
  5. Global image / icon / text sliders, or similar used for partners/suppliers/etc.

To create an options page: https://www.advancedcustomfields.com/resources/options-page/

To refer to data from an options page, for example:

[wpbb site:acf_option type='text' name='phone_link']

For a repeatable field example, see the Blank Template’s contact information on the footer.

Scroll To Top