Support » Themes and Templates » Twenty Ten "Continue Reading"

  • Resolved Burke Ingraffia


    I have found every instance of the phrase “Continue Reading” in Twenty Ten 1.1 and all of the child themes I developed and replaced it with the word, “More.” However, all of my loops still say “Continue Reading.”

    What am I missing?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep



    Forum Moderator

    another instance of the the phrase “Continue Reading” ??

    there is a limited amount of template files in a theme (might be a large number, but still limited) – so search again.

    unless you list all the instances where you have found and changed it (so someone can say: but in this or that file there is something….) , or unless you bundle (zip) all your files and upload them for someone to cross-check, you are the only one to have access and check these files.

    did you check for this phrase in functions.php, where it is appended to excerpts ?

    Ha! I battled this for awhile and then I got it ….It is described in the comments of the 2010 functions.php, for the length, but the same idea applies:

    * add_action( 'after_setup_theme', 'my_child_theme_setup' );
     * function my_child_theme_setup() {
     *     // We are providing our own filter for excerpt_length (or using the unfiltered value)
     *     remove_filter( 'excerpt_length', 'twentyten_excerpt_length' );
     *     ...
     * }

    Problem is that the child theme’s functions.php loads BEFORE the 2010 functions.php (so you can override some of the functions).

    Sooooo , you need to engineer things so that your remove comes after the 2010 add.

    So in your 2010 Child theme functions.php

    function really_remove_the_2010_excerpt_filter () {
    remove_filter( ‘excerpt_length’, ‘twentyten_excerpt_length’ );
    remove_filter( ‘get_the_excerpt’, ‘twentyten_custom_excerpt_more’ );
    remove_filter( ‘excerpt_more’, ‘twentyten_auto_excerpt_more’ );


    Here you can see that I changed Excerpt in the 2010 Function PHP from 40 to 900. That removed the Continue Reading Link because I don’t have any posts over 900 words. I tried the other ideas posted here but they did not work for me. Here is how it looks:

    function twentyten_excerpt_length( $length ) {
    return 900;
    add_filter( ‘excerpt_length’, ‘twentyten_excerpt_length’ );

    * Returns a “Continue Reading” link for excerpts

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Twenty Ten "Continue Reading"’ is closed to new replies.