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.
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.
Edit loop.php and remiove:
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); ?>
Open theme's functions.php
find:
add_filter( 'excerpt_more', 'twentyten_auto_excerpt_more' );
either delete, or add a comment (//) to that line.
What I want is to add the "read more" on PAGES.
I added (in page.php)
<?php global $more; $more = 0; ?>
Before:
<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??
Tonk - please start another topic with your question.
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
This topic has been closed to new replies.