Home › Forums › ACF PRO › Different values for same field groups on different options pages? › Reply To: Different values for same field groups on different options pages?
@hube2 Thanks…
But I am currently using acf_add_options_sub_page
without acf_add_options_page()
.
The following code…
// Support showcase Features for this post type, via ACF
if( function_exists('acf_add_options_page') ) {
// add sub page
acf_add_options_sub_page(array(
'page_title' => 'Articles Features',
'menu_title' => 'Articles Features',
'menu_slug' => 'articles-features',
'capability' => 'edit_posts',
'parent_slug' => 'edit.php?post_type=article',
'position' => false,
'icon_url' => false
));
}
… makes a sub-page underneath the “Articles” post type menu entry.
The post_id
parameter seems to pertain to acf_add_options_page()
and not acf_add_options_sub_page
.
Is there another way, eg. to use acf_add_options_page()
for what I want?
I intended to integrate the options page in to the post type menu folder since, rather than break it out elsewhere in the nav, since it pertains to the corresponding post type.
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.