Paul Bearne http://www.bearne.com
On Tue, May 11, 2010 at 2:10 PM, Paul Bearne <[email protected]> wrote: > Hi all > > I am trying to get the_excerpt() to work on 3.0 beta 2 with 2010 > > we have this code > <?php if ( is_archive() || is_search() ) : // Only display Excerpts for > archives & search ?> > <div class="entry-summary"> > <?php the_excerpt( __( 'Continue reading <span > class="meta-nav">→</span>', 'twentyten' ) ); ?> > </div><!-- .entry-summary --> > <?php else : ?> > Pluss > /** > * Sets the "read more" link to something pretty. > * > * To override this link in a child theme, remove the filter and add your > own > * function tied to the excerpt_more filter hook. > * > * @since 3.0.0 > * @return string A pretty 'Continue reading' link. > */ > function twentyten_excerpt_more( $more ) { > return ' … <a href="'. get_permalink() . '">' . __('Continue reading > <span class="meta-nav">→</span>', 'twentyten') . '</a>'; > } > add_filter( 'excerpt_more', 'twentyten_excerpt_more' ); > > in function.php > > But I am not getting the "Continue reading " text and link if I enter > an extract into the post only for the more ect. > > What going on here? > > Paul > > > > > Paul Bearne > http://www.bearne.com > > > _______________________________________________ wp-testers mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-testers
