Chaged that sharing button will be shown when post & page only.