twentythirteen_content_width

Adjust content_width value for video post formats and attachment templates.

Description

twentythirteen_content_width(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function twentythirteen_content_width() { 
  2. global $content_width; 
  3.  
  4. if ( is_attachment() ) 
  5. $content_width = 724; 
  6. elseif ( has_post_format( 'audio' ) ) 
  7. $content_width = 484;