Leveling heros
There are several ways to level a hero
The most effective one is using them on your attacks ( dont risk them on suicide attacks though unless they are valuable ) and larger the battle is the bigger experience your hero gets. always upgrade your heroes so you can profit more from their attributes. watch out for heroes that have high attributes of all or 2 stats because they become very useful when you redistribute their stats using holy water ( higher lvl costs more ).
Another way is appointing your hero as mayor and just do your own business. they get experience from buildings, troops you recruit from barracks, researches, wall fortifications but they get experience when timer is done, not when you start those. they also get experience when someone attacks your city because your mayor will lead your army while defending your city ( so you better keep your attack hero as mayor while you think someone big is going to attack you and you think you can handle it).