Changeset 1310921
- Timestamp:
- 12/17/2015 02:30:30 PM (10 years ago)
- Location:
- go-gallery/trunk
- Files:
-
- 2 edited
-
go-gallery.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
go-gallery/trunk/go-gallery.php
r1309971 r1310921 2 2 /** 3 3 * Plugin Name: Go Gallery 4 * Plugin URI: http:// wpdemo.vantco.com/gogallery/4 * Plugin URI: http://bit.ly/go-gal-home 5 5 * Text Domain: go_gallery 6 * Description: This plugin displays beautiful galleries. Simple, lightweight yet very powerful gallery plugin brings you all functionality to display beautiful galleries with less configurations and without slowing down your page.6 * Description: Responsive filterable gallery. Easy to use, lightweight yet very powerful shortcode driven gallery plugin to display beautiful galleries. 7 7 * Version: 1.0 8 8 * Author: AlViMedia … … 73 73 74 74 75 /** Add a category filter to images */ 75 /** Add a category filter to images */ 76 /* 76 77 function go_add_image_category_filter() { 77 78 $screen = get_current_screen(); 78 79 if ( 'upload' == $screen->id ) { 79 $dropdown_options = array( 'show_option_all' => __( 'View all categories', 'ct' ), ' hide_empty' => false, 'hierarchical' => true, 'orderby' => 'name', );80 $dropdown_options = array( 'show_option_all' => __( 'View all categories', 'ct' ), 'taxonomy' => 'attachment_category', 'hide_empty' => false, 'hierarchical' => true, 'orderby' => 'name', ); 80 81 wp_dropdown_categories( $dropdown_options ); 81 82 } 82 83 } 83 84 add_action( 'restrict_manage_posts', 'go_add_image_category_filter' ); 85 */ 84 86 85 87 -
go-gallery/trunk/readme.txt
r1309971 r1310921 21 21 Go Gallery enables categories in media images and adds filter menu to each gallery for easy and beautiful sorting. For more info and examples see [Other Notes](https://wordpress.org/plugins/go-gallery/other_notes/ "Other Notes") 22 22 23 * Live Demo: [Live Demo](http:// wpdemo.vantco.com/gogallery/"Live Demo")24 * QuickStart: [QuickStart](http:// wpdemo.vantco.com/gogallery/quickstart/"QuickStart")23 * Live Demo: [Live Demo](http://bit.ly/go-gal-home "Live Demo") 24 * QuickStart: [QuickStart](http://bit.ly/go-gal-qs "QuickStart") 25 25 26 26 == Understanding Media Categories == … … 32 32 You can add more Media Categories directly in Image Edit or in Media Categories: 33 33 34 == ShortCodes List == 34 == ShortCode OPTIONS List == 35 36 Usage: [go_gallery OPTION1='use quotes for text values OPTIONS space separated' OPTION2=1] 35 37 36 38 * go_gallery = Go Gallery opening shortcode all params follows space separated 37 * cat = ‘category1, category2, …’– comma separated list of media categories to display38 * size = ‘large/medium/small/tiny’– size of the gallery grid: (large – 2 columns, medium – 3 columns, small – 4 columns, tiny – 8 columns)39 * cat = 'category1, category2, …' – comma separated list of media categories to display 40 * size = 'large/medium/small/tiny' – size of the gallery grid: (large – 2 columns, medium – 3 columns, small – 4 columns, tiny – 8 columns) 39 41 * limit = 1-200 – number of images to display (in total) 40 42 * border_size = size (in pixels) of the image border
Note: See TracChangeset
for help on using the changeset viewer.