Change Continue Reading into Read More in WordPress

In my last post we had discussed about to make WordPress Plugin from scratch. And now we are discussing about to change continue reading into Read More. Oh! you don’t worry about it, if you are not familiar with programming stuff. But yes continue reading button into your post is involving into the programming stuff.

Actually the_content() function of WordPress, is used to display the content of your post. And you can also add two more parameter into this function, you can read more about this function in depth from the WordPress official website;

Before applying this function you have to know which file you have selected to display your article list from your WordPress template. I have taken the example of default WordPress template twentyeleven. Just Open go to the template directory and open the content.php file and use the ctrl+F key to search into the document, and you find the following code into twentyeleven theme:

the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) );

 

Now what you have to do is, just change Continue reading into Read More or whatever you want.

the_content( __( 'Read More...', 'twentyeleven' ) );

 

Posted by Jogesh Sharma

Jogesh Sharma is a web developer and blogger who loves all the things design and the technology, He love all the things having to do with PHP, WordPress, Joomla, Magento, Durpal, Codeigniter, jQuery, HTML5 etc. He is the author of this blog.