Added post type and taxonomy helper functions