let has_post_format convert the string to an array