layers_excerpt_action

The Layers layers excerpt action function.

Description

layers_excerpt_action(); 

Usage

  1. if ( !function_exists( 'layers_excerpt_action' ) ) { 
  2. require_once '/core/helpers/template.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = layers_excerpt_action(); 
  7.  

Defined (1)

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

/core/helpers/template.php  
  1. function layers_excerpt_action() { 
  2. // Return if there's nothing to show 
  3. if( '' == get_the_excerpt() ) return; 
  4. ?> 
  5. <div class="copy"> 
  6. <?php 
  7. /** 
  8. * Display the Excerpt 
  9. */ 
  10. the_excerpt(); 
  11. ?> 
  12. </div> 
  13. <?php