content_slider

The ColorWay Theme content slider shortcode.


Usage

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

Defined (1)

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

/functions/shortcodes.php  
  1.  
  2. <div id="faded2"> 
  3. <div class="rap"> '.do_shortcode($content).'</div> 
  4. </div></div><div class="container">'; 
  5. add_shortcode('content_slider', 'content_slider_shortcode'); 
  6.  
  7.  
  8. /** Slider Embed */ 
  9. function embed_shortcode( $atts, $content = null ) { 
  10. return '<div>'.do_shortcode($content).'</div>';