• Resolved cgroot

    (@cgroot)


    I see the code for placing an options page under a CPT and I have gotten that to work, but I can’t figure out how to place an options page underneath another options page, in a parent->child setup. For example, in the backend WP left sidebar menu, have an options page labeled “Theme Options” and then have another options page labeled “Content Settings” nested inside it. The Theme Options page would be the parent and the Content Settings page would be the child. I’ve tried adding the parent url admin.php?page=theme-options, but it doesn’t seem to be working. Any advice would be much appreciated!

    @hwk-fr

    • This topic was modified 2 years, 5 months ago by cgroot.
Viewing 1 replies (of 1 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    The ACF Extended Options Page UI module is just an UI that use the native acf_add_options_page() behind the scene. That’s why the settings are exactly the same as in the ACF Documentation.

    As explained in the documentation, in order to register an ACF Options Page under an another ACF Options page you have to use the parent_slug setting, and simply set the slug of the parent here (not the path). ie: theme-general-settings.

    Hope it helps!

    Have a nice day!

    Regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Parent Options Page’ is closed to new replies.