everbox_custom_excerpt

Change default excerpt text.

Description

everbox_custom_excerpt( $excerpt ); 

Parameters (1)

0. $excerpt
The excerpt.

Usage

  1. if ( !function_exists( 'everbox_custom_excerpt' ) ) { 
  2. require_once '/inc/extras.php'; 
  3.  
  4. // The excerpt. 
  5. $excerpt = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = everbox_custom_excerpt($excerpt); 
  9.  

Defined (1)

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

/inc/extras.php  
  1. function everbox_custom_excerpt( $excerpt ) { 
  2. return $excerpt . '<a class="read-more" href="'. get_permalink( get_the_ID() ) . '">' . __('Read More »', 'everbox') . '</a>';