12% off of LTD using this coupon: TWELVEPERCENTOFF. Promo ends on 2 Dec midnight UTC.
Published on Oct 26, 2018

How to use custom field’s value set in ACF Options page

Sridhar Katakam

This members-only tutorial provides the steps to create an options page using Advanced Custom Fields, adding a logo image field in the Options page and sending the image's URL to Oxygen.

Step 1

Install and activate ACF and Code Snippets plugins.

Go to Snippets > Add New.

Title: ACF Options Page


if ( function_exists( 'acf_add_options_page' ) ) {



Set it to run only in admin.

Step 2

Go to Custom Fields > Add New.

Title: Sitewide

Add a logo image field with Image URL as the Return Value.

Set the group to appear on Options page.

Step 3

Go to Options in the admin left menu and upload your desired logo image.

Step 4

Snippets > Add New.

Title: Logo


This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $599 one-time).

Already a member? Log in below or here.