I'm customizing the default theme for a funeral home client. They will use this as their obituary page. I'd like to change the word "comments" to "condolences" for the comment link. Thus the viewer would see "condolences" rather than comments. I won't be changing anything else, only what the viewer sees.
In what file can I do this?
Arian Xhezairi
Member
Posted 3 years ago #
if you're talking about one single post, then you should edit singe.php file.
search for something like:
<?php comments_number('No Comment', 'One Comment', '% Comments' );?>
and simply edit the words within the single quotes ''
else, one needs to see you're template file first before giving suggestions I suppose.
Actually, I'd like the word "comments" to appear as "condolences" on every post. The reader will then have the option of leaving a condolence rather than a comment (in reality, it is a comment, just labeled condolence)
My template is the WordPress default template, simply customized in header and typeface color. Everything else is the same.
Arian Xhezairi
Member
Posted 3 years ago #
WordPress default theme you say!
than just search for this line of code
<?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
and replace words 'Comments' with the desired one.
this must suffice.
donedealpal
Member
Posted 3 years ago #
How would I go about adding additional text around the label?
Would changing: <?php comments_number('No Comment', 'One Comment', '% Comments' );?>
To: <?php comments_number('What do you think? (No Comments)', 'What do you think? (One Comment)', 'What do you think? (% Comments)' );?>
Would make it look like: What do you think? (Ten Comments), etc?