twentyeleven_auto_excerpt_more

Replace "[.

Description

twentyeleven_auto_excerpt_more( (string) $more ); 

..]" in the Read More link with an ellipsis.

The [...] is appended to automatically generated excerpts.

To override this in a child theme, remove the filter and add your own function tied to the excerpt_more filter hook.

Parameters (1)

0. $more (string)
The Read More text.

Usage

  1. if ( !function_exists( 'twentyeleven_auto_excerpt_more' ) ) { 
  2. require_once '/functions.php'; 
  3.  
  4. // The Read More text. 
  5. $more = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = twentyeleven_auto_excerpt_more($more); 
  9.  

Defined (1)

The function is defined in the following location(s).

/functions.php  
  1. function twentyeleven_auto_excerpt_more( $more ) { 
  2. if ( ! is_admin() ) { 
  3. return $more;