jetpack_the_excerpt_mixed_customizer

Display Content instead of Excerpt in the Customizer when theme uses a 'Mixed' display.

Description

jetpack_the_excerpt_mixed_customizer( $content ); 

Parameters (1)

0. $content
The content.

Usage

  1. if ( !function_exists( 'jetpack_the_excerpt_mixed_customizer' ) ) { 
  2. require_once '/modules/theme-tools/content-options/blog-display.php'; 
  3.  
  4. // The content. 
  5. $content = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = jetpack_the_excerpt_mixed_customizer($content); 
  9.  

Defined (1)

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

/modules/theme-tools/content-options/blog-display.php  
  1. function jetpack_the_excerpt_mixed_customizer( $content ) { 
  2. if ( is_home() || is_archive() ) { 
  3. jetpack_the_content_customizer_class( 'output-the-excerpt' ); 
  4. ob_start(); 
  5. the_content(); 
  6. $content = ob_get_clean(); 
  7. return $content;