Added new method to gt custom post type