[wp-trac] [WordPress Trac] #14130: Better gallery shortcode filter

WordPress Trac noreply at wordpress.org
Sun Dec 13 00:49:26 UTC 2015


#14130: Better gallery shortcode filter
-----------------------------+-----------------------
 Reporter:  johnbillion      |       Owner:
     Type:  enhancement      |      Status:  reopened
 Priority:  normal           |   Milestone:
Component:  Shortcodes       |     Version:  3.0
 Severity:  normal           |  Resolution:
 Keywords:  has-patch close  |     Focuses:
-----------------------------+-----------------------
Changes (by HQRaja):

 * status:  closed => reopened
 * resolution:  wontfix =>


Comment:

 Adding this filter will open up a lot of possibilities to modify the
 output without having to reinvent the wheel altogether. For instance, I
 need to make sure the captions are linked to the attachment page, while
 the images themselves link to the full-sized images so that visitors can
 click on any image to view them in any lightbox plugin that may have been
 activated, while still retain the ability to go to the attachments page by
 clicking the linked caption, and view any further details about the image
 and its custom fields etc. Such a filter will allow for that and other
 similar possibilities without having to create a new shortcode for the
 purpose.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/14130#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list