[wp-trac] [WordPress Trac] #13361: In Twenty Ten, custom excerpts do not show "Continue reading"

WordPress Trac wp-trac at lists.automattic.com
Wed May 12 16:33:57 UTC 2010


#13361: In Twenty Ten, custom excerpts do not show "Continue reading"
--------------------------+-------------------------------------------------
 Reporter:  pbearne       |       Owner:  iammattthomas
     Type:  defect (bug)  |      Status:  assigned     
 Priority:  normal        |   Milestone:  3.0          
Component:  Themes        |     Version:  3.0          
 Severity:  normal        |    Keywords:               
--------------------------+-------------------------------------------------

Comment(by pbearne):

 add this to the function.php and we get the more link added to extracts
 {{{
 function twentyten_excerpt( $more ) {
 //      return $more.' &hellip; <a href="'. get_permalink() . '">' .
 __('Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten') .
 '</a>';

 }
 add_filter( 'the_excerpt', 'twentyten_excerpt' );
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13361#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list