custom post type fix for single sidebar