How To Change The Default WordPress Comments Text in Your Theme’s Comments File

1 Flares Twitter 0 Facebook 0 Google+ 1 LinkedIn 0 Pin It Share 0 StumbleUpon 0 Buffer 0 Buffer 1 Flares ×

Customizing your WordPress theme is easy when you are using a child theme. In this tutorial i’ll show you easy it is to change the default text in your comments template.

I’m using a child theme which i have created for the Canvas theme built on the Woo framework. This way any changes you make to any php or css code will be saved when you update your parent theme.

Changing No Comments Yet Text

The php file that needs editing in order to change the text, ‘No Comments Yet’ is located in your parent theme’s files.

The easiest way to locate, make changes to and save the edited file is to copy it from your original theme download to your desktop and edit it using notepad++

You’ll find the text on or around line 81 once you have opened the file in notepad++ or cPanel

comments.php file customization

Once you have customized the text to your own liking, simply upload the file using cPanel or FTP to your child theme and the changes will be saved even after you update your theme.

Here’s the location of where my child theme and customization including the edited comments.php file are stored on my server

public_html/wp-content/themes/canvas-child/

Comments.php File in Child Theme

If you are using the default theme for WordPress, Twenty Eleven, you’ll find your comments.php file won’t be the same as Canvas.

Once you have located and edited your comments file, you can use this free child theme for Twenty Eleven to save the changes you make to all your theme’s files.

WordPress Comments Customization

If you search through your themes files, you will find several php files for comments so be sure to edit the correct file which generally is the comments.php file and Not the comment.php file or the wp-comments.php file.

1 Flares Twitter 0 Facebook 0 Google+ 1 LinkedIn 0 Pin It Share 0 StumbleUpon 0 Buffer 0 Buffer 1 Flares ×
Brad Dalton

Brad Dalton

WordPress Consultant 110+ Hrs/Week, traveler and lover of big surf, making new friends & my family. Read more about Brad Dalton or contact me if you need help with WordPress.
Brad Dalton

@wpsitesdotnet

Howdy! WP Sites creates daily tips & tutorials providing solutions for WordPress users.
Create A Custom Meta Box For A Custom Field http://t.co/ZnEBLGN5KO - 23 hours ago
Brad Dalton

Never Miss The Latest Design Tips!

Speak Your Mind

*

Need A Solution for WordPress?

solutions for wordpress
WP Sites offers new posts & 900+ existing tutorials which include:

  1. 1. The basics on using WordPress to build & design a website
  2. 2. Tested PHP & CSS code snippets for easy customization of your theme
  3. 3. Tips, tricks & idea's on how to solve problems with WordPress

 
Enter your email address below & click "Get Updates!"