This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // Do not add this line | |
// Reduce the primary navigation menu to two levels depth. | |
add_filter( 'wp_nav_menu_args', 'genesis_sample_primary_menu_args' ); | |
function genesis_sample_primary_menu_args( $args ) { | |
if ( 'primary' != $args['theme_location'] ) { | |
return $args; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The custom template for the Design category for Modern Portfolio Pro | |
*/ | |
//* Force full width content layout | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); | |
//* Remove the entry meta in the entry header | |
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 ); |
OlderNewer