[wp-trac] [WordPress Trac] #40854: Allow media to be embedded in Text widget
WordPress Trac
noreply at wordpress.org
Fri Sep 8 22:11:59 UTC 2017
#40854: Allow media to be embedded in Text widget
-------------------------------------+-----------------------
Reporter: alexvorn2 | Owner: azaozz
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.9
Component: Widgets | Version: 4.8
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: ui
-------------------------------------+-----------------------
Comment (by westonruter):
Thank you for working that out.
Replying to [comment:18 azaozz]:
> Still to be done: shortcodes are not parsed on the front-end there, so
audio, video and galleries fail to show up in the Customizer preview.
Actually, it's not just in the Customizer preview. It's on the frontend
generally, as rendering shortcodes isn't currently supported in the Text
widget in core, and plugins currently are needed to add support for them.
It did not occur to me that shortcodes would be required when adding
media, but it slipped my mind.
> Also still somewhat unclear about having several widgets with
overlapping features.
It does seem somewhat of a shame to go to the trouble of implementing a
Gallery widget when a user could also just add a gallery into a Text
widget. Maybe it's about being able to provide guided user experiences to
accomplish certain tasks.
There is overlap to be sure, but I think there may be enough use cases for
separate widgets. It seems clear that users need to be able to add images
along their text, in particular floating images around text in the
sidebar. But maybe core shouldn't support this, and core should instead
just require two Text widgets with an image widget in between if that is
the desired effect (though it wouldn't be semantically right).
@melchoyce Thoughts?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40854#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list