October 1, 2019 at 2:04 pm
#68631
Alberto
Participant
SOLVED!
Now there is also the link:
<?php
if (1 == get_comments_number()) {
printf(__('<a href="' . get_permalink() . '#comments"> 1 commento</a>', 'wp-portfolio') , number_format_i18n(get_comments_number()));
}
else {
printf(__('<a href="' . get_permalink() . '#comments"> %1$s commenti</a>', 'wp-portfolio') , number_format_i18n(get_comments_number()));
}
?>