thx you !
i installed acf and followed every step to create a option page.
the php code i used :
if( function_exists('acf_add_options_page') ) {
acf_add_options_page(array(
'page_title' => 'Options page',
'menu_title' => 'Options',
'menu_slug' => 'theme-general-settings',
'capability' => 'edit_posts',
'redirect' => false
));
}
Then i added a acf field and linked it with the option page as you can see here :
Could you show me how to link correctly that value (field name is armure1) in the description, i tried this but it’s not working, what did i do wrong ? :
<?php the_field('armure1', 'option'); ?>
It is said here that the second parameter ‘option’ is the name of the page, but where can i see that page name ?