Main Query (category)

add_query_arg()

Retrieves a modified URL query string.

get_queried_object()

Retrieve the currently-queried object.

get_queried_object_id()

Gets the ID of the current query object. It can be: any post, category, tag, other taxonomy element, author's archive.

get_query_var()

Retrieve variable in the WP_Query class.

get_search_query()

Retrieves the contents of the search WordPress query variable.

get_status_header_desc()

Retrieve the description for the HTTP status.

is_embed()

Is the query for an embedded post?

is_robots()

Checks if this is a request to robots.txt file. A conditional tag.

redirect_canonical()

Redirects incoming links to the proper URL based on the site url.

remove_query_arg()

Removes an item or items from a query string.

wp()

Set up the WordPress query.