Your cart is currently empty!
Here is simple WordPress PHP filter to change comment form title “Leave a comment” to your own custom text, filter comment_form_defaults help you to change it using your theme function.php file easily but make sure.
Also try our theme for better customization and support .
Copy below code and paste into theme function.php
add_filter('comment_form_defaults', 'set_my_comment_title', 20); function set_my_comment_title( $defaults ){ $defaults['title_reply'] = __('MY CUSTOM NAME', 'customizr-child'); return $defaults; }
MYTHEME > Function.php (usually found with this name and path)
Before editing code make sure take backup of file. If you have any question please post comment below.
Comments
13 responses to “Change Comment Form Title “Leave a comment” to Custom”
Nice post. thanks for sharing wit us.
Nice work
Nice job. thanks for sharing with us.
nice post,thank you
Love to using wordpress PHP Filter thanks for updating us keep sharing
Thanks for sharing this information. It’s always helpful to read the content on your blog.
I was looking for a way to change the form title for a plugin that i am writing and found this snippet. Solved my problem. Thanks
I am a beginner and facing many problems in optimizing my site. Your this post will help me in optimizing my WordPress site without any type of problem.
Please send your website URL from contact us page.
this is help me so much in my learning Thank you for sharing
Nice
Thank you
Thanks, it works
Grabber Pro
Original price was: $59.$39Current price is: $39.Insertcart Custom WooCommerce Checkbox Ultimate
Original price was: $39.$19Current price is: $19.Android App for Your Website
Original price was: $49.$35Current price is: $35.Abnomize Pro
Original price was: $30.$24Current price is: $24.Medical Portfolio Pro
Original price was: $31.$24Current price is: $24.
Latest Posts
- How to Handle Sudden Traffic Spike in Website – Do Node Balancer Really Help
- How to Use AWS SES Email from Localhost or Website: Complete Configuration in PHP
- How to Upload Images and PDFs in Android Apps Using Retrofit
- [Fix] File Permission Issue in Apache Website WordPress Not Writable to 775
- Best PHP ini Settings for WordPress & WooCommerce: Official Recommendations
Leave a Reply