• Resolved SusanRC

    (@susanrc)


    Hi — I am new to WordPress and really like this theme. I have a Posts page that displays all my posts but want the 55 word extract with “continue reading” link to appear. How can I do this?
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter SusanRC

    (@susanrc)

    Solved! I replaced the_content with the_extract in content.php and then added the following code to the funtions.php file to replace the […] with “Read the full article” link.

    // Replaces the excerpt “more” text by a link
    function new_excerpt_more($more) {
    global $post;
    return ‘ID) . ‘”>
    (Read the full article…)
    ‘;
    }
    add_filter(‘excerpt_more’, ‘new_excerpt_more’);

    Theme Author Kyle Gabriel

    (@kizniche)

    SusanRC,

    Just saw all your posts. Glad you resolved this. I’ll mark it complete.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post extract’ is closed to new replies.