In this tutorial, you will learn how to change ‘Leave a Reply’ text in the comment form of a WordPress theme. This text is also known as the Reply Title element.
To change it, all you need to do is add a simple code in your WordPress theme’s function.php file.
Here’s a short guide on how to do it.
Change Leave a Reply Text in Comment Form
Step 1. Log-in to your WordPress dashboard.
Step 2. Go to Appearance → Editor → Theme Functions (functions.php)
Step 3. Find the closing tag: ?>
Then paste the code below before it.
Don’t forget to change ‘Leave a Reply’ text in the code with your preferred Reply title. For example, Post a Comment, Post a Question here, Share Your Thoughts, etc.
Step 4. Click Update file.
Now, go to your site then check the comment form section.