ACF Option page

/**
 * ACF option page.
 */
if( function_exists( 'acf_add_options_page' ) ) {
	acf_add_options_page(array(
		'page_title' 	=> __( 'Extra settings' ),
		'menu_title'	=> __( 'Extra settings' ),
		'menu_slug' 	=> 'extra_settings',
		'capability'	=> 'delete_pages',
		'redirect'		=> false,
		'position'		=> 63,
		'icon_url'		=> 'dashicons-minus'
	));
}
<?php the_field('name_of_the_field', 'option'); ?>

Leave a Reply

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