Skip to content

Instantly share code, notes, and snippets.

@reasonstousegenesis
Created October 16, 2015 00:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reasonstousegenesis/177de97620dde44fa153 to your computer and use it in GitHub Desktop.
Save reasonstousegenesis/177de97620dde44fa153 to your computer and use it in GitHub Desktop.
Use the genesis function to load your entire design with Genesis
<?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