[wp-trac] [WordPress Trac] #18959: Allow choosing multiple header images
WordPress Trac
noreply at wordpress.org
Thu Jun 19 00:11:37 UTC 2014
#18959: Allow choosing multiple header images
-------------------------------------+------------------------------
Reporter: wikicms | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Appearance | Version: 3.3
Severity: normal | Resolution:
Keywords: needs-patch ux-feedback | Focuses:
-------------------------------------+------------------------------
Comment (by jphase):
Hey everyone, this is my first diff so if I did anything wrong
(syntactically or otherwise) then please give me feedback. I want to learn
the right way to contribute :)
I updated the UI to have checkboxes next to each image and a bit of jQuery
to toggle between the "Random" radio and the selected checkboxes. The
"Random" radio still just pulls random images from the default images and
I modified get_random_header_image() to allow an optional paths array to
be passed which will allow a random index to be returned.
Perhaps we could eventually allow an interface to save a preferred order
of the selected images later?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18959#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list