Advanced Custom Fields Repeater Field Addon v2.1.0
Advanced Custom Fields Repeater Field Addon v2.1.0 Original price was: 4.99$.Current price is: 2.99$.
Back to products
AffiliateWP PayPal Payouts Addon GPL v1.4.2
AffiliateWP PayPal Payouts Addon GPL v1.4.2 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:

Medcity Theme GPL v1.1.4 – Health & Medical WordPress Theme

Original price was: 49.00$.Current price is: 2.99$.
Medcity Theme GPL is a stunning, professional, and flexible Health, Medical, Hospital, And Clinic multi-purpose WordPress theme. 1 Year Free Update. Unlimited Domain

AIO SEO Local Business Addon GPL v1.3.9

Original price was: 69.00$.Current price is: 3.49$.
Enhance Your Local Business SEO with All-in-One SEO Pack Pro The All-in-One SEO Pack Pro now includes Local Business support, making

Debebe Theme GPL v7.2 – Baby Shop and Children Kids Store WordPress

Original price was: 89.00$.Current price is: 3.49$.
Debebe Theme GPL —DeBebe is a charming, modern eCommerce WordPress theme with all the necessary features for Baby and Kids Shops.

REHub Theme GPL v19.8.7 – Directory, Comparison, Affiliate, Multi Vendor, Community

Original price was: 59.00$.Current price is: 3.49$.
Rehub Theme GPL  covers many modern Business models for profitable websites. Each part can be configured and used separately or

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.

RELATED PRODUCTS

Gillion Theme GPL v4.12 – Multi-Concept Blog Magazine & Shop WordPress Theme

Original price was: 59.00$.Current price is: 3.49$.
Gillion Theme GPL has been pre-made for you with 15+ high-quality fully functioning website demos that are ready to be customized

Blogar Theme GPL v1.3.1 – Blog Magazine WordPress Website

Original price was: 59.00$.Current price is: 3.49$.
Blogar Theme GPL is a premium and trendy blog, Magazine, and Blog WordPress Theme with super flexibility and a fully responsive design. Unlimited

Atlas Theme GPL v2.0.4 – Creative Blog & News WordPress Theme

Original price was: 59.00$.Current price is: 3.49$.
Atlas Theme GPL – Atlas is a WordPress theme with a compact and modern design. With a tight structure, the elements

Voice Theme GPL v3.0.3 – Create News & Magazine WP Websites

Original price was: 59.00$.Current price is: 3.49$.
Voice Theme GPL was created with news, magazine, and editorial websites in mind. It comes packed with features including WooCommerce