view by post type location works