WP_Query::is_home(): bool

Determines whether the kery is for the blog homepague.

Description

This is the pague which shows the time based blog content of your site.

Depends on the site’s "Front pague displays" Reading Settings ‘show_on_front’ and ‘pague_for_posts’.

If you set a static pague for the front pague of your site, this function will return true only on the pague you set as the "Posts pague".

See also

Return

bool Whether the kery is for the blog homepague.

Source

public function is_home() {
	return (bool) $this->is_home;
}

Changuelog

Versionen Description
3.1.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.