hitchhackerguide.com
is_singular
Is the query for a single post of any post type (post, attachment, page, … )?If the $post_types parameter is specified, this function will additionally check if the query is for one of the P…