Created
September 20, 2012 19:06
-
-
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.
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
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