Changed To get_the_title()

Use the get_ functions to store the output into the string.