Added compatibility with Wordpress HabitRPG widget