Limit modification of post_type to archive and search pages.