[wp-trac] [WordPress Trac] #32168: Add start and count attributes to gallery shortcode

WordPress Trac noreply at wordpress.org
Tue Apr 28 17:03:01 UTC 2015


#32168: Add start and count attributes to gallery shortcode
-----------------------------+-----------------------------
 Reporter:  frymi            |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Gallery          |    Version:  4.2.1
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Add shotcodes COUNT for views full gallery after click on MORE. Home
 Modify files ./wp-includes/media.php
 Lines 699 (add COUNT => '-1')
 Lines 767-798 (add ForEach ... )
 Use in WP:
 [gallery] ... show standard gallery
 OR
 [gallery count=3] ... show images 1-3
 more -
 [gallery count=3+] ... show images 4-n

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32168>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list