Feature: Post type

Added condition to view only if the post type is selected