singlepic

The NextCellent Gallery singlepic shortcode.


Usage

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

Defined (2)

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

/lib/shortcodes.php  
  1.  
  2. // do_shortcode on the_excerpt could causes several unwanted output. Uncomment it on your own risk 
  3. // add_filter('the_excerpt', array(&$this, 'convert_shortcode')); 
  4. // add_filter('the_excerpt', 'do_shortcode', 11); 
  5.  
  6. add_shortcode( 'singlepic', array(&$this, 'show_singlepic' ) ); 
  7. add_shortcode( 'album', array(&$this, 'show_album' ) ); 
  8. add_shortcode( 'nggalbum', array(&$this, 'show_album' ) ); 
  9. add_shortcode( 'nggallery', array(&$this, 'show_gallery') ); 
  10. add_shortcode( 'imagebrowser', array(&$this, 'show_imagebrowser' ) ); 
  11. add_shortcode( 'slideshow', array(&$this, 'show_slideshow' ) ); 
/lib/sitemap.php  
  1.  
  2. // Don't process the images in the normal way 
  3. remove_all_shortcodes(); 
  4.  
  5. // We cannot parse at this point a album, just galleries & single images 
  6. add_shortcode( 'singlepic', array(&$this, 'add_images' ) ); 
  7. add_shortcode( 'thumb', array(&$this, 'add_images' ) ); 
  8. add_shortcode( 'nggallery', array(&$this, 'add_gallery') ); 
  9. add_shortcode( 'imagebrowser', array(&$this, 'add_gallery' ) ); 
  10. add_shortcode( 'slideshow', array(&$this, 'add_gallery' ) ); 
  11.