allow dynamic post type filtering