gdtt_is_post_type_archive

gdtt_is_post_type_archive($post_types = array())

  • $post_types: array with post types or string with one post type.

Check if the current page is post type archive. If the post types names are specificed, function will check against that list. This function works even with new intersection archives.

Comments

Leave a Reply