Currently I have this code for the comment_number:
<?php comments_number(‘0’, ‘1’, ‘%’); ?>
but I wanted to have a standard 3 digit comment like when it is:
0 it will become 000
if it is 1 comment it will be 001
then for 10 comments it will be 010 and so on..
how do I do this?
The topic ‘how to achieve 3 digit comments_number on a 1 comment post’ is closed to new replies.
(@ri-kun)
13 years, 1 month ago
Currently I have this code for the comment_number:
<?php comments_number(‘0’, ‘1’, ‘%’); ?>
but I wanted to have a standard 3 digit comment like when it is:
0 it will become 000
if it is 1 comment it will be 001
then for 10 comments it will be 010 and so on..
how do I do this?