Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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' );
return $template;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment