Changeset 994142
- Timestamp:
- 09/21/2014 09:12:56 AM (12 years ago)
- Location:
- easy-image-display/trunk
- Files:
-
- 2 edited
-
sb-easy-image-display.php (modified) (4 diffs)
-
sb-easy-image-widget.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
easy-image-display/trunk/sb-easy-image-display.php
r961977 r994142 4 4 Plugin URI: http://shellbotics.com/wordpress-plugins/easy-image-display/ 5 5 Description: An easy way to display random or latest images on your site. 6 Version: 1.2. 06 Version: 1.2.1 7 7 Author: Shellbot 8 8 Author URI: http://shellbotics.com … … 41 41 /* Shortcodes --------------------------------------------------------------- */ 42 42 43 add_shortcode( ' gallery', array( $this, 'custom_gallery_shortcode' ) );43 add_shortcode( 'sb_gallery', array( $this, 'custom_gallery_shortcode' ) ); 44 44 add_shortcode( 'sb_easy_image', array( $this, 'sb_image_shortcode' ) ); 45 45 … … 243 243 $ids .= $attachment->ID . ', '; 244 244 } 245 return do_shortcode( '[ gallery columns="' . $args['columns'] . '" ids="' . $ids . '" size="' . strtolower( $args['size'] ) . '" link="' . strtolower( $args['link'] ) . '" url="' . strtolower( $args['url'] ) . '"]' );245 return do_shortcode( '[sb_gallery columns="' . $args['columns'] . '" ids="' . $ids . '" size="' . strtolower( $args['size'] ) . '" link="' . strtolower( $args['link'] ) . '" url="' . strtolower( $args['url'] ) . '"]' ); 246 246 247 247 } else { … … 326 326 327 327 function custom_gallery_shortcode( $attr ) { 328 328 329 global $post, $wp_locale; 329 330 -
easy-image-display/trunk/sb-easy-image-widget.php
r961977 r994142 2 2 /** 3 3 * Widget Name: Easy Image Display 4 * Version: 1.2. 04 * Version: 1.2.1 5 5 */ 6 6
Note: See TracChangeset
for help on using the changeset viewer.