• Skip to primary navigation
  • Skip to main content
OsomCode

OsomCode

Awesome code tutorials for WordPress and Genesis

  • Subscribe
  • My account
    • Edit profile
    • Favorites
    • Update credit card
  • Login

Customize the text before author comments in Genesis Framework

You can customize the text that appears right at the beginning of the author comments in any Genesis Framework child theme using code.

Of all the possible ways to modify a Genesis template, in most cases we focus only on the aesthetic part.

However, it is also worth making small changes to the theme texts to give them a distinctive touch.

For example, you could customize the words that appear before the author’s comment responses, which by default say “<author’s-name> says” (in this case it would be “Nahuai says”).

Are you interested in replacing this phrase? Very easy:

Code snippet to change the text before the author’s comments

Add this snippet at the end of the functions.php file:

To see this and another 839 code snippets of this website, login or subscribe here.

The above code inserts the expression: “<author-name> thinks that” just before the comment.

Of course, you can modify the text to better match the style or voice of the project you are working on.

If you are making changes to the text related to comments, you may also want to know how to rewrite the comment link that appears in the metadata of each post.

Conclusions

It’s as simple as that. Now you can customize the text that enters the author comments in your Genesis Framework child theme.

Any questions? I read you 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. 😉

Comments Genesis Framework PHP

To leave read and make questions about this code, you can login or register.

  • About OsomCode
  • FAQ
  • Contact

Legal Notice · Privacy Policy · Cookie Policy · Terms and conditions
Copyright © 2023

Lost your password?