Reduce Navigation Menu to One Level Depth in Genesis Below is the code to reduce the primary navigation menu to one level depth in Genesis. add_filter( ‘wp_nav_menu_args’, ‘prefix_generate_primary_menu_args’ ); function prefix_generate_primary_menu_args( $args ){ if( ‘primary’ != $args[‘theme_location’] ) return $args; $args[‘depth’] = 1; return $args; } reduce-primary-navigation-menu-one-level-depth.php Below is the code to reduce the […]
Genesis
Custom Breadcrumbs in Genesis Theme
Sometimes we have to customise the breadcrumbs for easy navigation and easy understandings. Here I have given the Breadcrums which I have used. Using this I have layered the Breadcrumbs like a Post under Page. I have used P2P plugin which connects Page to Post. You can simply edit that part and replace your own layer […]