Support

Account

Home Forums Add-ons Options Page Sub Options Help Confused

Solved

Sub Options Help Confused

  • Really Confused

    Sub option pages i have mage the options page

    if( function_exists('acf_add_options_page') ) {
    	
     
    	$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,
    		'icon_url' 	=> ''
    	));
     
    }
    

    and i want sub option pages under this

    so would look like

    Theme Settings
    Header
    Content
    Footer

  • Also getting a little confused on this point

  • 
    //ENABLE ACF OPTIONS AND CREATE SITE SETTINGS OPTIONS PAGE
    if(function_exists('acf_add_options_page')) { 
    	acf_add_options_page();
    	acf_add_options_sub_page('Theme Settings');
            acf_add_options_sub_page('Header');
            acf_add_options_sub_page('Content');
            acf_add_options_sub_page('Footer');
    }
    
Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Sub Options Help Confused’ is closed to new replies.