[wp-trac] [WordPress Trac] #12799: Allow gallery shortcode to accept a maximum number of items

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 1 17:55:56 UTC 2010


#12799: Allow gallery shortcode to accept a maximum number of items
-----------------------------+----------------------------------------------
 Reporter:  dtorbert         |       Owner:                 
     Type:  feature request  |      Status:  new            
 Priority:  normal           |   Milestone:  Unassigned     
Component:  Gallery          |     Version:  2.9.2          
 Severity:  normal           |    Keywords:  gallery maximum
-----------------------------+----------------------------------------------
 A "would be nice" feature of the gallery would be to allow for a maximum
 number of items to be displayed.

 The main use of this feature would be to allow a page to show a "preview"
 of some of the images contained within one or more subpages, eg:

 * Some event
 [gallery link="file" columns="4" orderby="rand" maximum="4" id="164"]
 * Some other event
 [gallery link="file" columns="4" orderby="rand" maximum="4" id="200"]

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12799>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list