You pass in post type, but you never use it.