How to change "0" Comments to "Please leave a reply" in wordpress 3.4.1

Thursday 30 August 2012

I want to go straight to the point to show you how you change the embarrassing statement, "0" Comment to a more formal, presentable and polite statement like "Please leave a reply" in WordPress. Just follow the steps bellow and do it your self.



Steps:

1. Log in to your WordPress dashboard
2. Go to Appearance and select edit
3. Go towards the right of your dashboard and select Page Template (page.php) file
4. Copy the entire page.php file and save in a secure location on your computer in case you make a mistake
4. Now go back to the page.php file and  fine the following codes:

<?php the_author_posts_link(); ?> | <?php the_time('M d, Y') ?> | <a href="<?php comments_link(); ?>"><?php _e('Comments'); ?> <?php comments_number('0','1','%'); ?></a>

5. Found it? Now replace that with the code below: 

 <?php the_author_posts_link(); ?> | <?php the_time('M d, Y') ?> | <a href="<?php comments_link(); ?>"><?php _e('Please leave a reply'); ?> </a>

6. Save your template 

Did this article helped, Please do not forget to give us a reply. Enjoy

No comments:

Post a Comment

 

Most Reading

Tags

Sidebar One