How to Customize Comment Count Text
Tento článek (nebo jeho část) je převzat z externího zdroje. Je tedy slušností jej uvést včetně případného autora.
You can customize the text for displaying the number of comments inside the loop. This is just a simple template edit however it is extremely useful if you are creating a theme that is not a traditional theme or you wanted to inject a little bit of personality into the site.
1 2 3 |
<?php echo get_comments_number_text( "No comments, yet", "One Lonely Comment", "% Happy Comments"); ?> |
Napsat komentář