image

The ColorWay Theme image shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[image]'); 
  1. // variable usage 
  2. $result = do_shortcode('[image]'); 
  3. echo $result;  

Defined (1)

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

/functions/shortcodes.php  
  1. $output .= "\n" . '<img src="' . $img . '" alt="' . $alt . '" title="' . $alt . '" class="' . $align . ' ' . $border . '"/>'; 
  2.  
  3. return $output; 
  4. add_shortcode('image', 'image_shortcode'); 
  5.  
  6.  
  7. /** 
  8. * Video 
  9. */