WordPress “read more” button not working – easy fix

Working on a wordpress site that required 3 different “blog” pages, everything went well until my customer said:

“Hey, the read more button doesn’t work”. Cool… I thought. The usual approach to such problems, search the internet for solutions, and lucky me, I found an easy fix.

So, what you have to do is edit the template which the blog uses (index.php or any other custom template files you created for the extra blog pages). Right at the top, just above the “<?php get_header(); ?>” line, insert this one:

<?php
global $more;
$more = 0;
the_content("More...");?>

And voila, read more works like a charm. If you want to change the default text – link that serves as the button to guide your visitor to the full article, find the line

<?php the_content(__("Continue Reading", .... ));?>

The “continue reading” may be different in your case, depends on the theme, also there may or may not be some other content after the “continue reading”. Regardless, change the “continue reading” text with what you want your link to say. It could be for example

<?php the_content(__("Yes, I need more...!!!", .... ));?>

Have fun.