Make Genesis settings page a submenu in the settings menu.

Community Forums Forums Design Tips and Tricks Make Genesis settings page a submenu in the settings menu.

This topic is: resolved

This topic contains 1 reply, has 1 voice, and was last updated by  Gabe 1 year, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32466

    Gabe
    Participant
    Post count: 10

    Hello. I’m trying to make the Genesis settings page a submenu in the settings menu. I know how to remove it from the admin menu and I know how to create a Settings submenu page, I’m just having trouble calling the Genesis theme settings page.

    Below is what I have so far, but I’m not having any luck. Calling ‘theme-settings.php’ as the slug gives me a 404 error and I’ve tried calling multiple functions with no luck. I feel like I’m 90% there, just missing something simple.

    Here’s what I tried:

    //Add Genesis theme settings to Settings submenu
    add_action('admin_menu', 'genesis_theme_settings');
    function genesis_theme_settings() {
    add_options_page('Genesis Settings', 'Genesis Settings', 'manage_options', 'theme-settings.php' );
    }

    The submenu is created fine, I just can’t call the Genesis settings page items.  Any ideas? Thanks.

    #32787

    Gabe
    Participant
    Post count: 10

    Nevermind, I found a different work around.  I’ll mark this resolved.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.