Advertisement

is_home

Determines whether the query is for the blog homepage.

is_day

Determines whether the query is for an existing day archive.

is_feed

Determines whether the query is for a feed.

Advertisement

is_date

Determines whether the query is for an existing date archive.

is_tax

Determines whether the query is for an existing custom taxonomy archive page.

is_tag

Determines whether the query is for an existing tag archive page.

is_category

Determines whether the query is for an existing category archive page.

Advertisement

is_author

Determines whether the query is for an existing author archive page.

is_attachment

Determines whether the query is for an existing attachment page.

is_post_type_archive

Determines whether the query is for an existing post type archive page.

is_archive

Determines whether the query is for an existing archive page.

Advertisement

wp_reset_postdata

After looping through a separate query, this function restores the $post global to the current post in the main query.

query_posts

Sets up The Loop with query parameters.

wp_reset_query

Destroys the previous query and sets up a new query.