Options not showing
-
Hello
I have bought the Options upgrade. However when I add the code into my functions.php:
<?php if( function_exists('acf_add_options_page') ) { acf_add_options_page(array( 'page_title' => 'Theme General Settings', 'menu_title' => 'Theme Settings', 'menu_slug' => 'theme-general-settings', 'capability' => 'edit_posts', 'redirect' => false )); acf_add_options_sub_page(array( 'page_title' => 'Theme Header Settings', 'menu_title' => 'Header', 'parent_slug' => 'theme-general-settings', )); acf_add_options_sub_page(array( 'page_title' => 'Theme Footer Settings', 'menu_title' => 'Footer', 'parent_slug' => 'theme-general-settings', )); }
I dont get sub links in /wp-admin showing showing Header and Footer. Am I missing something? And in Options I only see /wp-admin/admin.php?page=acf-options headed Options and a Publish button. Am I missing something else from the functions.php file? I added the code as also seen in the video tutorial.
- The topic ‘Options not showing’ is closed to new replies.