I would like to add read more option on pages.
I’ve inserted below code to page.php but the left side page template gets all messed up and the link (Continue reading) doesn’t work:
<?php
global $more;
$more = 0;
?>
//The code must be inserted ahead of the call the_content, but AFTER the_post()
<?php the_cont
<?php
global $more;
$more = 0;
?>
//The code must be inserted ahead of the call the_content, but AFTER the_post()
<?php the_content('Continue Reading'); ?>
@quinice85 The same thing is done inside this function attitude_theloop_for_template_blog_full_content for the blog full post content page template. You can see it and see if it helps. Also, on the other hand I don’t see a need for the ‘Read More’ option on the Pages. There is a ‘Excerpt’ option box in the page editor screen in the dashboard, this allows you to control the excerpt content and length. Try it out as well and see if this helps you.