detect post using post type, not query type
let has_post_format convert the string to an array
Merge pull request #477 from niallkennedy/ogp-post

Determine OG type using get_post_type