replaced theme name with $blogdetails