Skip to content

Instantly share code, notes, and snippets.

@brandondove
Created September 20, 2012 19:06
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 brandondove/3757729 to your computer and use it in GitHub Desktop.
Save brandondove/3757729 to your computer and use it in GitHub Desktop.
home.php support for AppThemes Vantage theme. Place this code in your functions.php of your child theme.
add_action( 'template_include', 'pjbd_home_include' );
function pjbd_home_include( $template ) {
if( is_front_page() ) :
remove_filter( 'template_include', array( 'APP_Wrapping', 'wrap' ), 99 );
$template = locate_template( 'home.php' );
endif;
return $template;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment