16 People watching this product now!
Advanced Custom Fields Repeater Field Addon v2.1.0 Original price was: $4.99.Current price is: $2.99.
Back to products
AffiliateWP Forms For Ninja Forms GPL v1.2.1 Original price was: $4.99.Current price is: $2.99.

Advanced Custom Fields Options Page Addon v2.1.0

Original price was: $4.99.Current price is: $2.99.

SKU: 9 2 6 3 5 Category:

Avada Theme GPL v7.11.13 – Website Builder For WordPress & WooCommerce

Original price was: $69.00.Current price is: $2.99.
The Avada Theme GPL is the #1 selling WordPress theme on the market and has been continuously for 7 years. 600,000 beginners, professionals, agencies,

Bauen Theme GPL v9.3.3 – Architecture & Interior WordPress Theme

Original price was: $69.00.Current price is: $3.49.
Bauen Theme GPL is perfect if you like a minimal, clean, and modern design. This WordPress Theme is ideal for architecture

GeneratePress Premium – Lifetime Deal With Original License | GP Premium

$19.99
GeneratePress Premium is a lightweight WordPress theme that focuses on speed, stability, and accessibility. Start your website off in the right

WP Rentals Theme GPL v3.13.1 – Booking Accommodation WordPress Theme

Original price was: $79.00.Current price is: $4.99.
WP Rentals Theme – Booking Accommodation WordPress Theme which saves you time and money when creating your rentals platform. Either you

The Advanced Custom Fields Options Page feature provides a set of functions to add extra admin pages to edit ACF fields! Each admin page can be fully customized (see code examples below), and sub admin pages can be created too!

  • 1 Year Free Update.
  • No hidden charges.
  • 100% secure and verified downloads.
  • Unlimited Domain Usage
  • One-click instant downloads.
  • We Purchase And Download From Original Authors

Advanced Custom Fields Options Page Overview

The options page feature provides a set of functions to add extra admin pages to edit ACF fields! Each admin page can be fully customized (see code examples below), and sub admin pages can be created too!

All data saved on an options page is global. This means it is not attached to any particular post or page, but is saved in the wp_options table. This allows the data to be displayed on any page throughout the website (good for header and footer data)!

Requirements

To make use of the Advanced Custom Fields Options Page feature, you will need a copy of ACF PRO (ACF v5), or the options page add-on (ACF v4)

Basic Usage

To create an options page, simply open up your functions.php file and add the following line of code:

FUNCTIONS.PHP

if( function_exists('acf_add_options_page') ) {
	
	acf_add_options_page();
	
}

Without passing any parameters to this function, the default options page will be added to your wp-admin sidebar.

Advanced Usage

This example demonstrates how to create a customized options page with children.

FUNCTIONS.PHP

if( function_exists('acf_add_options_page') ) {
	
	acf_add_options_page(array(
		'page_title' 	=> 'Theme General Settings',
		'menu_title'	=> 'Theme Settings',
		'menu_slug' 	=> 'theme-general-settings',
		'capability'	=> 'edit_posts',
		'redirect'		=> false
	));
	
	acf_add_options_sub_page(array(
		'page_title' 	=> 'Theme Header Settings',
		'menu_title'	=> 'Header',
		'parent_slug'	=> 'theme-general-settings',
	));
	
	acf_add_options_sub_page(array(
		'page_title' 	=> 'Theme Footer Settings',
		'menu_title'	=> 'Footer',
		'parent_slug'	=> 'theme-general-settings',
	));
	
}

Template Usage

All the API functions can be used with the “Options Page’s” fields. However, a second parameter is required to target the options page. This is similar to passing through a $post_id to target a specific post object. This example demonstrates how to load a value from an options page. Continue reading: Get values from an options page

<?php the_field('header_title', 'option'); ?>

Notes

The ACF v4 Options Page add-on will automatically add the default options page, however, this is not the case in ACF PRO. If working with ACF PRO, you will need to add the default options page (if required) manually using the code above.

All functions mentioned above must be used before the action admin_menu (priority 99) as this is when the options pages are added to WordPress.

Reviews

There are no reviews yet.

Be the first to review “Advanced Custom Fields Options Page Addon v2.1.0”

Your email address will not be published. Required fields are marked *

Hotel Zante Theme GPL v1.3.5.4 – Hotel Booking WordPress Theme

Original price was: $69.00.Current price is: $3.49.
Hotel Zante Theme GPL – Zante is a WordPress theme crafted for a hotel, hostel, resort, apartment, room reservation, or any other accommodation service. Unlimited Website Usage

Hotel Lux Theme GPL v1.2.8 – Resort and SPA WordPress Websites

Original price was: $69.00.Current price is: $3.49.
Hotel Lux theme GPL becomes a hotel website so easily that you will love it right away – tremendous functionality and

EasyBook Theme GPL v1.4.5 – Hotel Booking, Directory & Listing WordPress Theme

Original price was: $69.00.Current price is: $3.49.
“EasyBook – Directory & Listing WordPress Theme” is perfect if you like a clean and modern design. EasyBook a Hotel Booking

MyTravel Theme GPL v1.0.24 – Tours & Hotel Bookings WooCommerce Theme

Original price was: $59.00.Current price is: $3.49.
MyTravel Theme GPL – MyTravel is a complete Travel WooCommerce Theme for hotels, vacations, rentals, cars, yachts, and activities. Unlimited Website

Sunway Theme GPL v6.8.1 – Hotel Booking WordPress Websites

Original price was: $59.00.Current price is: $3.49.
Sunway Theme GPL is a vacation rental WordPress theme crafted to help you build a profitable vacation rental business. Unlimited Website Usage –

Travelo Theme GPL v5.2.5 – Travel/Tour Booking Responsive WordPress Websites

Original price was: $59.00.Current price is: $3.49.
Travelo GPL is a travel, tour, and booking WordPress theme with an appealing flat design. This fresh WordPress theme comes with

HBook GPL v2.0.27 – Hotel Booking System WordPress Plugin

Original price was: $59.00.Current price is: $3.49.
HBook GPL will allow you to easily enable online reservations on your WordPress website. It is perfectly suited for anybody owning a

Sailing Hotel WordPress Theme GPL v4.3.9

Original price was: $59.00.Current price is: $3.49.
Sailing Hotel GPL is a Creative WordPress theme suitable for travel, tour, hotel booking, room booking, housing, listing, or Airbnb – bed and

Groci Theme GPL v2.2.6 – Organic Food and Grocery Market WordPress Theme

Original price was: $59.00.Current price is: $3.49.
Groci Theme GPL is a ready-to-use, responsive, and innovative organic food WordPress theme that can boost the sales of farming products. The theme allows organic

Lafka Theme GPL v4.5.4 – Multi Store Burger, Pizza & Food Delivery WooCommerce Theme

Original price was: $59.00.Current price is: $3.49.
Lafka GPL is a modern WordPress / WooCommerce theme built with online fast food business needs in mind and great attention to detail,

Hoteller Hotel Booking Theme GPL v6.8.1 – Latest Version

Original price was: $69.00.Current price is: $3.49.
Hoteller WordPress Theme is a responsive WordPress theme created especially for hotels, resorts, and apartments with a completed booking system within

Bellevue Theme GPL v4.2.6 – Hotel + Bed and Breakfast Booking Calendar Website

Original price was: $59.00.Current price is: $3.49.
Bellevue Theme GPL – Perfect for your vacation rental or hotel. Includes a full booking system, availability calendar, and payments through

MotoPress Hotel Booking GPL v5.0.4 – Property Rental WordPress Plugin

Original price was: $59.00.Current price is: $3.49.
WP hotel booking plugin by MotoPress is a complete hotel and vacation rental booking system. As it doesn’t require any

Bloggist Theme GPL v136.8 – Superb Themes

Original price was: $59.00.Current price is: $3.49.
Bloggist Theme GPL is a pure and simple WordPress blog theme for all fans of beautiful design and flexible functionality. Bloggist is created

BlogFeedly Theme GPL v119.5 – Superb Themes

Original price was: $59.00.Current price is: $3.49.
BlogFeedly Theme GPL – It does not matter if you want to create a classic news website, an online editorial

Blogrid Theme GPL v128.4 – Superb Themes

Original price was: $59.00.Current price is: $3.49.
Blogrid Theme GPL is a clean and creative blog theme for writers and bloggers. The theme is responsive, it is fully

RELATED PRODUCTS