<desc>

The ColorWay Theme desc shortcode.


Usage

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

Defined (1)

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

/functions/shortcodes.php  
  1. /** Slider Description Wrapper */ 
  2.  
  3. function desc_shortcode( $atts, $content = null ) { 
  4. return '<div class="description">'.do_shortcode($content).'</div>'; 
  5. add_shortcode('desc', 'desc_shortcode'); 
  6.  
  7. ?>