Advertisement

is_404

Determines whether the query has resulted in a 404 (returns no results).

is_year

Determines whether the query is for an existing year archive.

is_trackback

Determines whether the query is for a trackback endpoint call.

is_time

Determines whether the query is for a specific time.

Advertisement

is_single

Determines whether the query is for an existing single post.

is_singular

Determines whether the query is for an existing single post of any post type (post, attachment, page, custom post types).

is_search

Determines whether the query is for a search.

is_favicon

Is the query for the favicon.ico file?

Advertisement

is_preview

Determines whether the query is for a post or page preview.

is_robots

Is the query for the robots.txt file?

is_paged

Determines whether the query is for paged results and not for the first page.

is_page

Determines whether the query is for an existing single page.

Advertisement

is_month

Determines whether the query is for an existing month archive.

is_privacy_policy

Determines whether the query is for the Privacy Policy page.

is_home

Determines whether the query is for the blog homepage.