Aviplugins.com Custom Post Type Attachment