[wp-trac] [WordPress Trac] #26697: HTML5 Galleries
WordPress Trac
noreply at wordpress.org
Thu Mar 6 04:44:19 UTC 2014
#26697: HTML5 Galleries
-------------------------------------------------+-------------------------
Reporter: obenland | Owner: nacin
Type: enhancement | Status: closed
Priority: normal | Milestone: 3.9
Component: Gallery | Version: 3.8
Severity: normal | Resolution: fixed
Keywords: has-patch dev-feedback commit | Focuses: template
needs-codex |
-------------------------------------------------+-------------------------
Comment (by ScottSmith):
Replying to [comment:20 obenland]:
> Replying to [comment:19 ScottSmith]:
> > Right, but using CSS to layout the gallery would effectively break the
user's ability to specify how many columns they want for their gallery.
>
> Not at all, theme authors just need to style it correctly.
[https://core.trac.wordpress.org/browser/trunk/src/wp-
content/themes/twentythirteen/style.css#L1250 See Twenty Thirteen] for
example.
>
> And if they "don't have the time" to do it right, they still have the
option to do the following to keep using core styles:
> `add_filter( 'use_default_gallery_style', '__return_true' );`
Fantastic. This assuages my concerns. Thanks for helping me out (and
hopefully I'm not the only person wondering about this.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26697#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list