[wp-testers] change of behavior when trying to load a feed for a multi-blog/site that doesn't exist

Paul Bearne pbearne at gmail.com
Tue May 11 18:10:36 UTC 2010


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">&rarr;</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 ' &hellip; <a href="'. get_permalink() . '">' . __('Continue reading
<span class="meta-nav">&rarr;</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


More information about the wp-testers mailing list