New teachers are often warned that the job isn’t a popularity contest – but, in fact, research suggests that being liked by students leads to better learning and improved wellbeing. So, does it really matter whether you’re popular with your class? Irena Barker finds out