Find out how to change the title of comments in any Genesis Framework child theme using code.
Of all the ways to customize a Genesis template, we mostly focus on the aesthetic side.
However, it is also worth making small changes to the theme texts to make them stand out.
For example, the default title for comments is exactly that, “Comments“.
It may be your or your client’s intention to turn that aspect of the site into a very active section that invites feedback. Then, why not call it the “Discussion Zone” or “Debate area”, for example?
As you’ll see below, you only need to use a WordPress filter to do so.
Code to change the title of the comments
Add this snippet at end of the functions.php file:
With the previous code, the title of the comments is replaced by “Debate area”.
Modify this text according to your needs so that it is aligned with the personality of the website you are working on.
If you are making changes to the text related to comments, you may want to know how to replace the text that invites for comments on blog entries.
Now you know how to change the title of the comments in a Genesis child theme using code.
If you have any question, please leave it in the comments. And if you want to give me a suggestion for future snippets, please send it through the contact form.
Benefits of being a subscriber. 🙂