Questo codice mette a video automaticamente il numero dei messaggi sotto le anteprime come si può vedere qui: https://albertifoto.altervista.org
Io avrei bisogno di modificare questo codice in modo che la scritta diventi un link che porta alla pagina dell'articolo
Codice PHP:
<?php
if (1 == get_comments_number()) {
printf(__('One thought on “%2$s”', 'wp-portfolio') , number_format_i18n(get_comments_number()) , '<span>' . get_the_title() . '</span>');
} else {
printf(__('%1$s thoughts on “%2$s”', 'wp-portfolio') , number_format_i18n(get_comments_number()) , '<span>' . get_the_title() . '</span>');
}
?>