Hi Elliot,
Currently the Options Pages system works by putting every Options page that is set up into a sub-menu underneath the top-level Options menu item. This may be ok for sites that have 1 options page, but on many of mine I have in the region of 5-10, all categorised into different functions.
I change the ACF code every time I upgrade but it’d be nice to see this as a configurable option, so the user can implement by:
<? register_options_page('various_options',true); ?>
And then have the default as false (so the options pages are displayed as sub menu items are normal, rather than top level menu items).
You obviously know this Elliot but if anyone stumbles across this and it doesn’t get implemented, you change:
Start by commenting out acf-options-page.php Line 156
$parent_page = add_menu_page($parent_title, $parent_menu, $this->settings['capability'], $parent_slug, array($this, 'html'));
becomes
//$parent_page = add_menu_page($parent_title, $parent_menu, $this->settings['capability'], $parent_slug, array($this, 'html'));
Change acf-options-page.php on Line 171:
$child_page = add_submenu_page($parent_slug, $sub_title, $sub_title, $this->settings['capability'], $sub_slug, array($this, 'html'));
to
$child_page = add_menu_page($sub_title, $sub_title, 'edit_posts', $sub_slug, array($this, 'html'), $icon_url);