[wp-trac] [WordPress Trac] #42549: Widgets: Allow gallery widget to display images from currently-queried singular post if no images selected
WordPress Trac
noreply at wordpress.org
Tue Nov 14 18:22:51 UTC 2017
#42549: Widgets: Allow gallery widget to display images from currently-queried
singular post if no images selected
-------------------------+-------------------
Reporter: westonruter | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.9.1
Component: Widgets | Version: 4.9
Severity: normal | Keywords:
Focuses: |
-------------------------+-------------------
In #42548 (pending) a `[gallery]` placed inside of a Text widget will
result in the attachments for a given post to be used in the gallery when
the widget appears on a singular template. The same behavior could be
allowed for the Gallery widget as well. If you add a gallery widget to a
sidebar but don't add any images to it, the widget could conditionally
show if it is being rendered on a singular template for a post that has
image attachments.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42549>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list