I have been trying to create an options page with the advanced custom fields plugin and have added the following code to the theme level functions.php
file:
if( function_exists('acf_add_options_page') ) {
acf_add_options_page('General Info');
}
However, when I refresh the wordpress admin panel, a link to the new menu option isn’t created.
Does anyone know why this is and how to resolve? I am on WordPress 4.4.2
You might need to use the associative array version of the function call so you can specify a
page_title
as well asmenu_title
:Per usual sanity checking, you might also check that the
advanced-custom-fields-pro
plugin is indeed active. Also, there’s a note in that documentation page reading “This function requires at least ACF PRO version 5.0.0.” So options pages may not work on the non-pro version, if that’s related.