Support » Themes and Templates » Remove “Continue Reading” from TwentyTen

  • Resolved SabreWolfy

    (@sabrewolfy)


    I don’t use excerpts at all. With the default theme in WordPress pre-3.0, viewing posts from a search or from a category or from a month showed the full post for all posts displayed.

    The TwentyTen theme in WordPress 3.0 now shows only part of the post followed by “Continue Reading”. I’ve searched around and I cannot find a way to remove this. Do I need to start hacking away at .php files? I’d like to full post to be displayed.

Viewing 16 replies (of 16 total)
  • How To Remove Continue Reading from posts on 2010 Theme:

    Here you can see that I changed Excerpt in the 2010 Theme Function PHP from 40 to 900. That removed the Continue Reading Link because I don’t have any posts over 900 words. Change this to 1000, 3000, 4000 or what ever you need. Use whatever value you need to show the whole post instead of just part of the post. When you do this the Continue Reading Link is not displayed because the whole post is displayed. I recommend doing it this way because you are only changing the value for a function your are not changing the code. Nothing can break if you do it this way:

    function twentyten_excerpt_length( $length ) {
    return 900;
    }
    add_filter( 'excerpt_length', 'twentyten_excerpt_length' );
    
    /**
    * Returns a "Continue Reading" link for excerpts
Viewing 16 replies (of 16 total)
  • The topic ‘Remove “Continue Reading” from TwentyTen’ is closed to new replies.