catchresponsive_get_archive_content_layout

Returns an array of content layout options registered for catchresponsive.

Description

catchresponsive_get_archive_content_layout(); 

Usage

  1. if ( !function_exists( 'catchresponsive_get_archive_content_layout' ) ) { 
  2. require_once '/inc/catchresponsive-default-options.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = catchresponsive_get_archive_content_layout(); 
  7.  

Defined (1)

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

/inc/catchresponsive-default-options.php  
  1. function catchresponsive_get_archive_content_layout() { 
  2. $layout_options = array( 
  3. 'excerpt-image-left' => array( 
  4. 'value' => 'excerpt-image-left',  
  5. 'label' => __( 'Show Excerpt', 'catch-responsive' ),  
  6. ),  
  7. 'full-content' => array( 
  8. 'value' => 'full-content',  
  9. 'label' => __( 'Show Full Content (No Featured Image)', 'catch-responsive' ),  
  10. ),  
  11. ); 
  12.  
  13. return apply_filters( 'catchresponsive_get_archive_content_layout', $layout_options );