Created
October 16, 2015 00:00
-
-
Save reasonstousegenesis/177de97620dde44fa153 to your computer and use it in GitHub Desktop.
Use the genesis function to load your entire design with Genesis
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 | |
// Single Portfolio Template | |
// Executive Pro theme | |
//* Force full width content layout | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); | |
//* Remove the breadcrumb navigation | |
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' ); | |
//* Remove the post info function | |
remove_action( 'genesis_entry_header', 'genesis_post_info', 5 ); | |
//* Remove the author box on single posts | |
remove_action( 'genesis_after_entry', 'genesis_do_author_box_single', 8 ); | |
//* Remove the post meta function | |
remove_action( 'genesis_entry_footer', 'genesis_post_meta' ); | |
genesis(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment