get_home_template

Definition:
function get_home_template() {}

Retrieve path of home template in current or parent template.
This is the template used for the page containing the blog posts

Source code

function get_home_template() {

	$templates = array( 'home.php', 'index.php' );



	return get_query_template( 'home', $templates );

}

1416

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: