Change direction to a custom post type