Continue reading --> in 2010 theme (6 posts)

  1. fiatweb
    Posted 5 years ago #

    Hi, A small issue with the new 2010 theme: How to rid of the "Continue reading-->" at the end of an excerpt in the new 2010 theme? (all excerpts I set up already have "Read more..." at the end!)

    Thanks for help.

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Edit loop.php and remiove:

    <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>

  3. Safirul Alredha
    Posted 5 years ago #

    Open theme's functions.php


    add_filter( 'excerpt_more', 'twentyten_auto_excerpt_more' );

    either delete, or add a comment (//) to that line.

  4. Tonk
    Posted 5 years ago #

    What I want is to add the "read more" on PAGES.

    I added (in page.php)
    <?php global $more; $more = 0; ?>

    <div class="entry-content">
    <?php the_content(); ?>

    Now the "MORE" tags shows, but....
    It does not shows the rest of the page when clicked upon!

    What to do??

  5. MichaelH
    Posted 5 years ago #

    Tonk - please start another topic with your question.

  6. leewutzke
    Posted 4 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.