mh_newsdesk_lite_content_width

The MH Newsdesk lite mh newsdesk lite content width function.

Description

mh_newsdesk_lite_content_width(); 

Usage

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

Defined (1)

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

/functions.php  
  1. function mh_newsdesk_lite_content_width() { 
  2. global $content_width; 
  3. if (!isset($content_width)) { 
  4. if (is_page_template('page-full.php')) { 
  5. $content_width = 1180; 
  6. } else { 
  7. $content_width = 777;