[wp-trac] [WordPress Trac] #12799: Allow gallery shortcode to accept a maximum number of items
WordPress Trac
noreply at wordpress.org
Wed Oct 14 15:44:19 UTC 2015
#12799: Allow gallery shortcode to accept a maximum number of items
------------------------------------+------------------
Reporter: dtorbert | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 4.4
Component: Gallery | Version: 2.9
Severity: normal | Resolution:
Keywords: dev-feedback has-patch | Focuses:
------------------------------------+------------------
Comment (by antpb):
Completely agree. It's the robot in me that decided on `maxdisp`. I like
`count` much better. Also, this works just the same with `ids=` as well.
`[gallery ids="8,7,6,5,4" maxdisp="2" orderby="rand"]`
Updated patch below!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12799#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list