Support

Account

Home Forums Add-ons Options Page No options pages exist

Helping

No options pages exist

  • Hi everyone,

    I’ve added an options page and it shows up as I want (under the general settings page).

        public function add_options_page() {
            if( function_exists('acf_add_options_sub_page') ) {
    
                acf_add_options_sub_page([
                    'page_title' => 'My Settings',
                    'menu_title' => 'Your Settings',
                    'parent_slug' => 'options-general.php'
                ]);
    
            }
        }

    However when I go into ACF I cannot attach fields to it because the drop down says No options pages exist. Any suggestions?

    I am using ACF 5.6.5 on WP 4.9. Thanks!

  • On what hook is your function running?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.