slideshow

The Jetpack by WordPress.com slideshow shortcode.


Usage

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

Defined (1)

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

/modules/shortcodes/slideshow.php  
  1.  
  2. $needs_scripts = false; 
  3.  
  4. // Only if the slideshow shortcode has not already been defined. 
  5. if ( ! array_key_exists( 'slideshow', $shortcode_tags ) ) { 
  6. add_shortcode( 'slideshow', array( $this, 'shortcode_callback' ) ); 
  7. $needs_scripts = true; 
  8.  
  9. // Only if the gallery shortcode has not been redefined. 
  10. if ( isset( $shortcode_tags['gallery'] ) && $shortcode_tags['gallery'] == 'gallery_shortcode' ) {