WordPress at a glance
Home Functions Other Functions Main Query

Main Query (category)

add_query_arg()

Retrieves a modified URL query string.

get_queried_object()

Retrieve the currently-queried object.

get_queried_object_id()

Retrieve ID of the current queried object.

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.