Ho messo un href a questo codice, ma a video il testo non si linka, dov'è l'errore?

codice HTML:
<?php  if (1 == get_comments_number()) {         printf(__('One thought on &ldquo;%2$s&rdquo;', 'wp-portfolio') , number_format_i18n(get_comments_number()) , '<a href="' . get_permalink() . '">' . get_the_title() . '</a>');    }    else {         printf(__('%1$s thoughts on &ldquo;%2$s&rdquo;', 'wp-portfolio') , number_format_i18n(get_comments_number()) , '<a href="' . get_permalink() . '">' . get_the_title() . '</a>');    }?>