Find out how to customize the comment link text that appears in the metadata of any Genesis Framework entry.
Of all the possible ways to customize a Genesis child theme, in most cases we focus only on the aesthetic part.
However, it is worth making small changes to the theme texts so that they too are aligned with the brand.
An example of this would be to change the link to the comments at the top of the posts. By default, it says “Leave a comment”, but would you like to customize this link?
You can get it with a Genesis filter.
Code snippet to change the text of the link to the comments
Add this snippet at the end of the functions.php file:
With the above code fragment the text that appears in the metadata under the title will be “Leave your opinion”. And when there are already comments, it will show “One opinion ” or “X opinions ” depending on the number.
Of course, you can replace these phrases with custom phrases to suit you or your customer.
If you are making changes to the text related to the comments, you may want to know how to edit the text before the author comments.
Now you know how to modify the link text that leads to the comments at the top of the blog posts in Genesis Framework.
Any questions? Let me know in the comments.
And if you want to give me any suggestion for future tutorials, leave it in the contact form. Advantages of being a subscriber. 😉