changed incorrect get_the_permalink to get_permalink