responsive_set_content_width

Adjust the content width for Full Width page template.

Description

responsive_set_content_width(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function responsive_set_content_width() { 
  2. global $content_width; 
  3.  
  4. if ( is_page_template( 'page-full-width.php' ) ) 
  5. $content_width = 918;