Support » Themes and Templates » issue whit the_excerpt

Viewing 1 replies (of 1 total)
  • Michael


    Forum Moderator

    check the original twenty ten theme – showing a ‘continue reading’ with excerpts is programmed in;

    done in functions.php (of the original twenty ten):

     * Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and twentyten_continue_reading_link().
     * To override this in a child theme, remove the filter and add your own
     * function tied to the excerpt_more filter hook.
     * @since Twenty Ten 1.0
     * @return string An ellipsis
    function twentyten_auto_excerpt_more( $more ) {
    	return ' …' . twentyten_continue_reading_link();
    add_filter( 'excerpt_more', 'twentyten_auto_excerpt_more' );

    you could try to add:

    remove_filter( 'excerpt_more', 'twentyten_auto_excerpt_more' );

    to functions.php of the child theme.

Viewing 1 replies (of 1 total)
  • The topic ‘issue whit the_excerpt’ is closed to new replies.