added global post type support