[wp-trac] [WordPress Trac] #34396: Gallery shortcode : make image captions relative to the current gallery
WordPress Trac
noreply at wordpress.org
Thu Oct 22 13:01:49 UTC 2015
#34396: Gallery shortcode : make image captions relative to the current gallery
-------------------------+------------------------------
Reporter: Fab1en | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Gallery | Version: 3.5
Severity: normal | Resolution:
Keywords: | Focuses: administration
-------------------------+------------------------------
Comment (by Fab1en):
I see two directions to make this happen :
1. Store the caption of images is the gallery directly in the gallery
shortcode. That is not possible today (because HTML is not allowed in
shortcode attributes) but it could be possible with the future shortcode
format that will allow to split shortcode content into several parts, each
part being an image caption.
2. Store the caption in a postmeta field, linking it to the gallery id.
This is easier to achieve but will not solve the previewing issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34396#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list