How to change, modify or customize “leave a reply” text in Twenty Ten wordpress 3 default theme to leave a comment in your blog.
In today wordpress 3.0.1 tutorial, we are going to change the wording “leave a reply” in your comment template just after your blog post and before comment box.
This is probably needed if you have specific blog or site’s niche and want to be “different” to your commenters.
It is very recommend that you change those text, because it is more friendly and less formals. Of course, if you have a business blog, you may change it too to more related for your business.
However it is really optional, if you are afraid to change anything, then leave it by default.
The steps:
1. Look for the directory where you install wordpress.
2. Find wp-includes folder.
3. Copy comment-template.php by copying it and rename it to, for example, comment-template1.php
3. Open comment-template.php file.
4. In this demo, i use notepad++ it is in line 1542 (see image)
Find this code: 'title_reply' => __( 'Leave a Reply' ),
Change it to: 'title_reply' => __( 'shoot me your comment' ),
Of course the text above is just an example 🙂
5. Save the file. Refresh your blog and try it.
- Tips: you can change the button from post a comment to shoot, or anything you like. In case something is wrong, rename back the copy of comment-template1.php to the original(comment-template.php).
I always like to change the comment button on my sites. Submit seems so ‘cold’. I’ve changed mine to ‘Have your say!’. I think doing this makes a site seem a bit more welcoming, a bit more inviting.
Warmest regards,
Karl
@Karl Foxley, Hi there
How true, its funny because i just realise that my button still show “submit” haha!
I will definitely change after replying comments today, thanks for the great input!
Best,
Kimi.
@Kimi,
Hey Kimi, I see you’ve changed your comment button text, much more welcoming. 🙂
@Karl Foxley, Yes! 🙂
I changed it yesterday, it looks good for now, but might change the wording i find better one, thanks Karl!
Thanks,
This is a great article and a great website. I liked it very much. It will help me to optimise my websites in europe. I have website in travel and that means a lot of seo work !!
Thanks a lot and greetings,
Dave and Carol
Seo and Travel Website in Europe, France
Thanks for sharing, top tips!!
Thanks for information. 😉
Most welcome! =)
Great post, just what I was looking for!
Can you do the above but specify different pages?
eg, on home page perhaps have “Shoot me a comment” and on another page have “boast about it here” ?
cheers, David
Hey David,
Unfortunately that i can’t do, sorry 🙁
Cheers.
Thanks for the tip. I had trouble finding out how to change the generic “Comment” text. Your tips are always so helpful. Thx!
Hi there Cynthia,
I am glad the post was able to help you.
Thanks for leaving a nice comment.
Cheers 🙂
Great info here very useful, be sure to check out my blog.
Cheers Adam
Maybe I didn’t read the tip correctly, but are you suggesting to make the changes in the file that’s in the wp-includes folder? I would think that you would want to incorporate the change into the theme files so that it doesn’t get written over during core files upgrades.
Hi Shell,
Yes, editing files other than twenty ten files will be overwritten after upgrades, but this kind of changes are very seldom to make, so we have to change manually again.
It is the easiest and not hard to do, thanks for leaving a feedback.
Better override the function in the twenty-ten theme’s comments.php file, at the bottom of this file you’ll find
you could replace it with something like this —
‘Don’t just leave a reply, let me know what’s on your mind’)); ?>
(other array items can be added with a comma in between them)
Hey, I just posted a comment with some code and half of it got eliminated when I submitted it. Disregard in this case, thanks, –s
Should be with
<code>yourcodegoeshere</code>
Like this;
mycode is here
Hi, I have done that the second time around and it didn’t make any difference. I got the same result as in my first try, before I tried the code tags, except I got blank yellow boxes instead of just blank space — I was hoping you would delete both replies. (i.e., the one in the previous thread, above, dated dec 1, 8:46, should also be deleted)
The code tags appear to only change the style of the text, not allow code to be inserted within the text. The comment text field acts as if it were in “html view” in a post and tries to parse out the code I am inserting.
I am trying below replacing the angled brackets with their html equivalent, please delete it if it comes out all botched again, thanks, –s
—
Better override the function in the comments.php file, in the twentyten theme at the bottom of comments.php find
<?php comment_form(); ?>
replace it with
<?php comment_form(array(
'title_reply'=> 'Don't just leave a reply, let me know what you think')); ?>
Shell,
Have you tried this code? i will try later on, and let you know the result.
Thanks.
Yes, it works, I wouldn’t post something off the top of my head, I tried it first. Since it’s an array, if you need to change additional defaults, they can be added between single quotations with a comma in between.
Granted, I think the twenty-ten theme is extremely complicated to customize, I’ve done plenty of customizations using the previous default theme there and there was the odd item here and there I would need to bring in from the core files into the functions.php file, but for the most part it had plenty of stuff available for customization within the theme (the default comments labels for instance were right in the comments.php file). I suppose they view it as an improvement that all that code just gets called in with this one function <?php comment_form(); ?> but it really makes me wonder.
Great! I will try it on the weekend.
congrats for your blog, i´m working with twenty ten theme, i´d like to customized the – leave a reply – expression but i haven´t been able to find the comments-template.php file inside the wp-includes folder, i´ve gone around stuff and no success yet, what do you think is happening?
Hello elias,
It must be there, you have to look for it in cPanel, and not in dashboard.
I hope this helps, good luck!
hi there! how silly i can get sometimes!
i hadn´t notice there were subsecuent pages containing the rest of the template files in te wp-includes folder, i am grateful for your support and tutorials.
This blog is still in the making, my first one to complement with a touristic website, check it out and thanks once more.
Oh, it does not mean that you’re silly, if you are new to Wp, we would not know much 🙂
Btw, it would be easier to test wordpress locally in your pc than in an online test, here is a quick link to install wp local in windows:
https://www.wpvidz.com/install-wordpress-locally-windows/
In mac and ubuntu are in the related post’s links.
Good luck, elias!
try to make these changes and give me error :-(, will be the theme I use?
Hi there,
Well this tutorial is using Twenty Ten theme, and It ONLY applies to Twenty Ten theme.
Kimi.
Thesis makes this much easier but this is a great tip for the Twenty Ten Theme. Thanks a bunch for the tut my friend 🙂
Great post, just what I was looking for! Thanks for the information 😀
I found out that if you don’t change the default “Leave a reply” for comments on WordPress you’ll be the unfortunate receiver of more spam messages, that’s because with google advance search ( that all spam bots can use ) the “allintext:Leave a reply” search (without the quotes) is giving a list of all wordpress blogs, where most-likely the machines will just post casino links automatically.
Hope this is useful,
Robert D.
i think that change is nesesarry and for spaming reasons…its better to have something different than leave a reply…..like…whats your opinion….more difficult for spammers to find your blog
thx for the link to install wp locally i have searched high and low thank-you
Thank you, very nice site, your site would follow with interest from Turkey,good work
Nice share, I like wordpress very much,hope you keeping moving on this nice page.
Great article, I always want to change my blog so it will be different. Thanks so much. I like this post/
I really like this post and it,s comments because these are full of advice
Hi
thanks Great
But can you Please give me some guide lines for wordpress thesis,
How can i change “leave a comment” text..
thanks
Please email me when you write some articles or send me detail..
thanks
http://diythemes.com/forums/index.php
OH THANKS!
I try to translate this almost drive me crazy!, 4 hours without results! XD
thank you very much in 15 minutes I did, thank you!
I was looking for this. Thanks a lot.
Thank you for sharing this clear tutorial on how to change “leave a reply”. Actually, I am planning to customize this section, not only the words but also the box or the comment section box. Is this possible? I will use this to promote my controversial youtube videos.
Because of the way blogs are structures and how they work, sometimes, it can be said that Search Engine Optimization (SEO) for blogs is one step further than websites. While most of these techniques eventually also require a some tweaking, blogs need to be tweaked from a systems perspective – one single change to the blog template will affect all the individual posts.
Great article! This is the type of info that are meant to be shared across the web. Shame on the search engines for now not positioning this post higher! Come on over and talk over with my site . Thanks =)
OH THANKS!
I try to translate this almost drive me crazy!, 4 hours without results! XD
Thanks for sharing help I am really worried about to customize my comment box for commenting.You really done a great job for me
http://wordpress.org/support/topic/theme-twenty-eleven-leave-a-reply-form
useful information! thanks for sharing
zee
walisystemsinc.com/wordpress/
Hi! I’m having a lot of trouble changing my text (even though I’ve done it before)… I’ve already typed everything out on a wordpress support forum, if you wouldn’t mind taking a look:
http://wordpress.org/support/topic/editing-comment-form-labels?replies=5
No one there can help me. Any ideas on why it worked before and not now? I’m trying to avoid doing anything complicated because I really don’t know what I’m doing!
Thanks!! 🙂
Hi Jessica,
I have took a look the forum post 🙂
Did you try to clean your browser cache after changing it? Do you use any cache plugin in your wordpress site? If yes, disable or clean the cache to see the changes. I reckon after changing sometimes, it doesn’t show me the change unless I login to my dashboard and view my site as admin. And because I use w3 total cache, I often click “Empty all cache” to see the change as well.
I guess none can help you in wordpress forum, because the theme you are using isn’t from wordpress team, but from a theme developer. Which means if you have problem you should go to theme site as she/he who develops the theme knows better.
Here is the quick link of the freedream developer site: http://dreamgratuit.canalblog.com/archives/2009/11/17/15836058.html
I hope this helps
Kind regards
Kimi.
That worked!! I deleted all the caches from within WPSuper Cache and then it worked! Thank you so much!!