I’m crating a set of option pages and field groups to go on each.
called
Home
Posts
I want the same fields on each sub option page but set different option in the fields. However – once i add some content to some fields the same content is then visible on the other subpages.
Is this a bug or is there something wrong with my setup? Thanks!
acf_add_options_page(array(
'page_title' => 'Content settings',
'menu_title' => 'Content Settings',
'menu_slug' => 'wonkhe-content-settings',
'capability' => 'edit_posts',
'icon_url' => 'dashicons-images-alt2',
'position' => 1,
'redirect' => false
));
acf_add_options_sub_page(array(
'page_title' => 'Home Content',
'menu_title' => 'Home Content',
'parent_slug' => 'wonkhe-content-settings',
));
acf_add_options_sub_page(array(
'page_title' => 'Post Content',
'menu_title' => 'Post Content',
'parent_slug' => 'wonkhe-content-settings',
));
Fields on options pages must have unique field names and field keys. All values are stored in the option table.