Add a filter for the post types