Lines:
1 to 26 of 26
<?php /** * Genesis Framework. * * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances. * Please do all modifications in the form of a child theme. * * @package Genesis\Menus * @author StudioPress * @license GPL-2.0-or-later * @link https://my.studiopress.com/themes/genesis/ */ add_filter( 'nav_menu_link_attributes', 'genesis_nav_menu_link_attributes' ); /* function genesis_nav_menu_link_attributes() – Pass nav menu link attributes through attribute parser. */ add_action( 'after_setup_theme', 'genesis_register_nav_menus' ); /* function genesis_register_nav_menus() – Register the custom menu locations, if theme has support for them. */ add_action( 'genesis_after_header', 'genesis_do_nav' ); /* function genesis_do_nav() – Echo the "Primary Navigation" menu. */ add_action( 'genesis_after_header', 'genesis_do_subnav' ); /* function genesis_do_subnav() – Echo the "Secondary Navigation" menu. */