Support

Account

Home Forums Backend Issues (wp-admin) No options pages exist

Solved

No options pages exist

  • Hello,

    I’m wanting to use an ACF field group with an options page I’ve created, as part of a WP plugin.

    Problem: when configuring the location rule, i.e. “Options page is equal to …” the only option present is “No options pages exist”.

    WordPress: ACF Pro v5.9.9, WordPress 5.8 (Fresh install), a very simple plugin that contains an add_options_page() call.

    Frankly, I’m not certain if actually understand the intent of the Options page location rule, my assumption is that for a given options page, the specified Field Group will also be displayed, as on the edit pages.

    Any help would be appreciated.

    Paul Swanson

  • When you create options pages in a plugin you need to make sure that acf is initialized

    
    add_action('acf/init', 'my_function_name');
    function my_function_name(
      // add options pages here
    )
    
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.