WordPress.org

Forums

Attitude
Read more option on pages (2 posts)

  1. quince85
    Member
    Posted 1 year ago #

    Hi,

    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
    ent('Continue Reading'); ?>
    `
    Any suggestions?

  2. quince85
    Member
    Posted 1 year ago #

    <?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'); ?>

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags