Use is_singular() rather than is_single() to check whether current page is single Doc