• Resolved SusanRC

    (@susanrc)


    I have added the code to the content.php file to show excerpts for posts

    <?php if ( is_search() || is_category() || is_archive() || is_paged() ) :

    But I am getting way more than 55 characters. I changed the length in the Funtions.php also to no avail. I was getting a completely compressed version of the post.

    Then I added the More button to a long post. This succeeded in shortening the excerpt (but will be a pain to do in every article) but I do not get the “Continue reading” link at the breakpoint.

    How can I activate the 55 character excerpt limit and get a Read More or Continue Reading link at the end of the excerpt?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Tomas Mackevicius

    (@tomasm)

    Usually you would not use a mixed solution. You have to pick one – user MORE to cut text where you want or use excerpt to generate it automatically.

    Try to use search on your site and see if it produces the desired result and then try debugging from there.

    If char. limit is not satisfied, you will not see the link, that’s why you should start with lower values. If I remember correctly # means not characters, but words.

    Thread Starter SusanRC

    (@susanrc)

    The results are the same for search and for the category page — no break unless I use the More button and either way, no Continue reading link.

    I created a dummy post with more than 55 characters. I also tried uncommenting the functions.php statement that sets the length at 20.

    function tinyframework_custom_excerpt_length( $length ) {
    return 20;
    }
    add_filter( ‘excerpt_length’, ‘tinyframework_custom_excerpt_length’, 999 );

    One post has more than 20 characters — no excerpt.
    Second post uses the More button — this excerpts at the site of the More but no link to continue reading.

    Thread Starter SusanRC

    (@susanrc)

    Oops! I just saw the WORDS not CHARACTERS comment — it works now ??

    Thanks for all your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Read More…….’ is closed to new replies.