responsive_excerpt_length

Sets the post excerpt length to 40 words.

Description

responsive_excerpt_length( $length ); 

Adopted from Coraline

Parameters (1)

0. $length
The length.

Usage

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

Defined (1)

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

/includes/functions.php  
  1. function responsive_excerpt_length($length) { 
  2. return 40;