slideshare

Slideshare shortcode format: Old style (still compatible): [slideshare id=5342235&doc=camprock-101002163655-phpapp01&w=300&h=200] New style: [slideshare id=5342235&w=300&h=200&fb=0&mw=0&mh=0&sc=no].


Usage

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

Defined (1)

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

/modules/shortcodes/slideshare.php  
  1. /* mw = iFrame marginwidth (int) 
  2. * mh = iFrame marginheight (int) 
  3. * sc = iFrame Scrollbar (yes/no) 
  4. **/ 
  5.  
  6. add_shortcode( 'slideshare', 'slideshare_shortcode' ); 
  7.  
  8. function slideshare_shortcode( $atts ) { 
  9. global $content_width; 
  10.  
  11. $params = shortcode_new_to_old_params( $atts );