WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] genesis menus array (2 posts)

  1. lee718
    Member
    Posted 1 year ago #

    I am using genesis framework and want to have an array of menus after content, pulling them in from one php file, "social_media.php".

    I have removed genesis menus and added theme support like this:

    remove_theme_support ( 'genesis-menus' );
    
        add_theme_support ( 'genesis-menus' , array ( 'primary' => 'Primary Navigation Menu' ,    'social_media' => 'Secondary Navigation Menu' ,'social_media_2' => 'Third Navigation Menu' ) );
    
      add_action('genesis_after_content', array('social_media', 'social_media_2'));
             function social_media() {
             require_once('social_media.php');
          }

    What I need to know is can I then call an array like this last part?

    Thanks for your help.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    I'm sorry but as you are using a commercial theme, you need to seek support from the theme's vendors.
    http://www.studiopress.com/support

Topic Closed

This topic has been closed to new replies.

About this Topic