Fix: Undefined index $post_type on post type archive