Changeset 46101
- Timestamp:
- 05/15/08 23:19:06 (2 months ago)
- Files:
-
- reorder-gallery/tags/1.0.0 (copied) (copied from reorder-gallery/trunk)
- reorder-gallery/tags/1.0.0/js/reorder-gallery.js (modified) (2 diffs)
- reorder-gallery/tags/1.0.0/readme.txt (modified) (2 diffs)
- reorder-gallery/tags/1.0.0/reorder-gallery.php (modified) (3 diffs)
- reorder-gallery/trunk/js/reorder-gallery.js (modified) (2 diffs)
- reorder-gallery/trunk/readme.txt (modified) (2 diffs)
- reorder-gallery/trunk/reorder-gallery.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
reorder-gallery/tags/1.0.0/js/reorder-gallery.js
r44025 r46101 5 5 $('#media-items').SortableDestroy(); 6 6 } catch(e) {} 7 $('#media-items media-item').7 $('#media-items .media-item'). 8 8 gallerySortable = $('#media-items').Sortable( { 9 9 accept: 'media-item', … … 23 23 // initialize sortable 24 24 gallerySortableInit(); 25 25 $('#media-items .media-item').css({ 26 position: 'static', 27 cursor: 'move' 28 }); 26 29 }); reorder-gallery/tags/1.0.0/readme.txt
r44020 r46101 5 5 Requires at least: 2.5 6 6 Tested up to: 2.5.2 7 Stable tag: 0.1.07 Stable tag: 1.0.0 8 8 9 Allows you to reorder your gallery images .9 Allows you to reorder your gallery images with the ease of drag and drop. 10 10 11 11 == Description == 12 12 13 Adds an "Order" field to the images in your gallery, much like pages have, which 13 Gives you the ability to simply drag and drop to reorganize your images how you 14 want them to appear in your gallery. If drag and drop isn't your thing, it also 15 adds an "Order" field to the images in your gallery, much like pages have, which 14 16 allows you to reorder them to display in whatever order you want. Requires PHP5. 15 17 … … 22 24 == Frequently Asked Questions == 23 25 26 = One I have them in the order I want them, what do I have to do? = 27 28 Simply click the "Save all changes" button to save their order. 29 24 30 = How do I change the order? = 25 31 26 Each image will have an "Order" field. The lower the number in that field, the earlier in the gallery it is. 32 Each image will have an "Order" field. The lower the number in that field, the earlier in the gallery it is. If you use the drag and drop sorting, this field is updated for you. 27 33 28 34 = What if some images have the same value? = reorder-gallery/tags/1.0.0/reorder-gallery.php
r44025 r46101 2 2 /** 3 3 * Plugin Name: Reorder Gallery 4 * Plugin URI: http://xavisys.com/ 5 * Description: Lets you reorder gallery items with drag and drop6 * Version: 0.1.04 * Plugin URI: http://xavisys.com/wordpress-reorder-gallery-plugin/ 5 * Description: Lets you reorder gallery items with the ease of drag and drop 6 * Version: 1.0.0 7 7 * Author: Aaron D. Campbell 8 8 * Author URI: http://xavisys.com/ … … 11 11 /** 12 12 * Changelog: 13 * 05/15/2008: 1.0.0 14 * - Added the drag and drop functionality 15 * 13 16 * 05/02/2008: 0.1.0 14 17 * - Added to Wordpress.org … … 51 54 $jsDir = get_option('siteurl') . '/wp-content/plugins/reorder-gallery/js/'; 52 55 53 wp_register_script('reorderGallery', "{$jsDir}reorder-gallery.js", array( 'interface' ), ' 0.0.1');56 wp_register_script('reorderGallery', "{$jsDir}reorder-gallery.js", array( 'interface' ), '1.0.1'); 54 57 } 55 58 reorder-gallery/trunk/js/reorder-gallery.js
r44025 r46101 5 5 $('#media-items').SortableDestroy(); 6 6 } catch(e) {} 7 $('#media-items media-item').7 $('#media-items .media-item'). 8 8 gallerySortable = $('#media-items').Sortable( { 9 9 accept: 'media-item', … … 23 23 // initialize sortable 24 24 gallerySortableInit(); 25 25 $('#media-items .media-item').css({ 26 position: 'static', 27 cursor: 'move' 28 }); 26 29 }); reorder-gallery/trunk/readme.txt
r44020 r46101 5 5 Requires at least: 2.5 6 6 Tested up to: 2.5.2 7 Stable tag: 0.1.07 Stable tag: 1.0.0 8 8 9 Allows you to reorder your gallery images .9 Allows you to reorder your gallery images with the ease of drag and drop. 10 10 11 11 == Description == 12 12 13 Adds an "Order" field to the images in your gallery, much like pages have, which 13 Gives you the ability to simply drag and drop to reorganize your images how you 14 want them to appear in your gallery. If drag and drop isn't your thing, it also 15 adds an "Order" field to the images in your gallery, much like pages have, which 14 16 allows you to reorder them to display in whatever order you want. Requires PHP5. 15 17 … … 22 24 == Frequently Asked Questions == 23 25 26 = One I have them in the order I want them, what do I have to do? = 27 28 Simply click the "Save all changes" button to save their order. 29 24 30 = How do I change the order? = 25 31 26 Each image will have an "Order" field. The lower the number in that field, the earlier in the gallery it is. 32 Each image will have an "Order" field. The lower the number in that field, the earlier in the gallery it is. If you use the drag and drop sorting, this field is updated for you. 27 33 28 34 = What if some images have the same value? = reorder-gallery/trunk/reorder-gallery.php
r44025 r46101 2 2 /** 3 3 * Plugin Name: Reorder Gallery 4 * Plugin URI: http://xavisys.com/ 5 * Description: Lets you reorder gallery items with drag and drop6 * Version: 0.1.04 * Plugin URI: http://xavisys.com/wordpress-reorder-gallery-plugin/ 5 * Description: Lets you reorder gallery items with the ease of drag and drop 6 * Version: 1.0.0 7 7 * Author: Aaron D. Campbell 8 8 * Author URI: http://xavisys.com/ … … 11 11 /** 12 12 * Changelog: 13 * 05/15/2008: 1.0.0 14 * - Added the drag and drop functionality 15 * 13 16 * 05/02/2008: 0.1.0 14 17 * - Added to Wordpress.org … … 51 54 $jsDir = get_option('siteurl') . '/wp-content/plugins/reorder-gallery/js/'; 52 55 53 wp_register_script('reorderGallery', "{$jsDir}reorder-gallery.js", array( 'interface' ), ' 0.0.1');56 wp_register_script('reorderGallery', "{$jsDir}reorder-gallery.js", array( 'interface' ), '1.0.1'); 54 57 } 55 58
