Create a General Settings Page with ACF — a practical guide to Create a General Settings Page with ACF themes tutorial with clear examples you can reuse in real projects.
Create a custom General Settings page using Advanced Custom Fields (ACF) to manage global theme options from the WordPress admin panel.
/* create general setting tab */
if(function_exists(‘acf_add_options_page’)){
acf_add_options_page (array(
‘page_title’=>’General Setting’,
‘menu_title’=>’General Setting’,
‘menu_slug’=>’theme-general-settings’,
‘capability’=>’edit_posts’,
‘redirect’ => false
));
}