nggallery

The NextCellent Gallery nggallery shortcode.


Usage

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

Defined (2)

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

/lib/shortcodes.php  
  1. // add_filter('the_excerpt', 'do_shortcode', 11); 
  2.  
  3. add_shortcode( 'singlepic', array(&$this, 'show_singlepic' ) ); 
  4. add_shortcode( 'album', array(&$this, 'show_album' ) ); 
  5. add_shortcode( 'nggalbum', array(&$this, 'show_album' ) ); 
  6. add_shortcode( 'nggallery', array(&$this, 'show_gallery') ); 
  7. add_shortcode( 'imagebrowser', array(&$this, 'show_imagebrowser' ) ); 
  8. add_shortcode( 'slideshow', array(&$this, 'show_slideshow' ) ); 
  9. add_shortcode( nggtags, array(&$this, 'show_tags' ) ); 
  10. add_shortcode( 'thumb', array(&$this, 'show_thumbs' ) ); 
  11. add_shortcode( 'random', array(&$this, 'show_random' ) ); 
/lib/sitemap.php  
  1. remove_all_shortcodes(); 
  2.  
  3. // We cannot parse at this point a album, just galleries & single images 
  4. add_shortcode( 'singlepic', array(&$this, 'add_images' ) ); 
  5. add_shortcode( 'thumb', array(&$this, 'add_images' ) ); 
  6. add_shortcode( 'nggallery', array(&$this, 'add_gallery') ); 
  7. add_shortcode( 'imagebrowser', array(&$this, 'add_gallery' ) ); 
  8. add_shortcode( 'slideshow', array(&$this, 'add_gallery' ) ); 
  9.  
  10. // Search now for shortcodes 
  11. do_shortcode( $p->post_content );