Forums
Home / Themes and Templates / Comments title
(@revisedsmile97)
7 years, 10 months ago
Hi, I have problem, I want to have different headings which will depend on the number of comments. This code works if I give 2 sets of values (default code):
printf( _n( '1 A: ', '%1$s B: ', get_comments_number(), 'delta' ), number_format_i18n( get_comments_number() ) );
How can I do 3 sets of values? 1 set – only 1 commentl 2 set – comments 2-4 3 set – comments 5+
Sorry if its easy and obvious but Im bad at php. Sorry for my bad english too.
(@revisedsmile97)
7 years, 10 months ago
Hi,
I have problem, I want to have different headings which will depend on the number of comments. This code works if I give 2 sets of values (default code):
How can I do 3 sets of values?
1 set – only 1 commentl
2 set – comments 2-4
3 set – comments 5+
Sorry if its easy and obvious but Im bad at php.
Sorry for my bad english too.