Home › Forums › Add-ons › Options Page › Sub-pages slug › Reply To: Sub-pages slug
The first thing you want to to is alter the setting for the sub options page
// sub options page for header of the page
acf_add_options_sub_page(
array(
'page_title' => 'Header tools',
'menu_title' => 'Header',
'parent_slug' => 'theme-settings',
'menu_slug' => 'header-tools'
)
);
The location rule is the menu slug. Or you could go into ACF and click on add field group and then examine the select field to find out what the current value that’s being used is.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.