web_dor_thumbnail

The Business Responsive web dor thumbnail function.

Description

web_dor_thumbnail( $width, $height ); 

Parameters (2)

0. $width
The width.
1. $height
The height.

Usage

  1. if ( !function_exists( 'web_dor_thumbnail' ) ) { 
  2. require_once '/functions.php'; 
  3.  
  4. // The width. 
  5. $width = null; 
  6.  
  7. // The height. 
  8. $height = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = web_dor_thumbnail($width, $height); 
  12.  

Defined (1)

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

/functions.php  
  1. function web_dor_thumbnail($width, $height) 
  2.  
  3. if (function_exists('has_post_thumbnail') && has_post_thumbnail()) 
  4.  
  5. the_post_thumbnail(array($width, $height)); 
  6.  
  7. elseif (web_dor_empty_thumb()) { 
  8.  
  9. return web_dor_post_thumbnail($width, $height); 
  10.