Advanced Custom Fields

1
2
3
4
5
6
7
8
9
10
11
/* INCLUDE ADVANCED CUSTOM FIELDS */
if( function_exists('acf_add_options_page') ) {
 
    acf_add_options_page(array(
        'page_title'    => 'enter name of site options page',
        'menu_title'    => 'enter the name as it should appear in the wp admin area menu',
        'menu_slug'     => 'cb-site-options',
        'capability'    => 'edit_posts',
        'redirect'      => false
    ));   
}