change echo the_title -> get_the_title