Home › Forums › ACF PRO › Global Option Page – "Sorry, you are not allowed to access this page." › Reply To: Global Option Page – "Sorry, you are not allowed to access this page."
If all of these are supposed to be on the main dashboard I would combine this to display all at once:
if( function_exists('acf_add_options_page') ) {
acf_add_options_page('Showrooms Global');
acf_add_options_page('Case Studies Global');
acf_add_options_page('Jobs Global');
}
Then I would register your new menu on its own since it should appear in your appearance button:
function register_my_menu() {
register_nav_menu('showrooms-menu',__( 'Showroom Menu' ));
}
add_action( 'init', 'register_my_menu' );
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.