WordPress.org

Support

Support » Plugins and Hacks » WP Gallery Custom Links » [Resolved] Add link to image caption

[Resolved] Add link to image caption

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author fourlightsweb

    @fourlightsweb

    This plugin doesn’t really do anything with captions, it just changes the link around gallery images, but I believe that WordPress made it possible to put links in image captions around version 3.4.2 or so – but it’s up to your gallery code to use that field. If your theme/gallery code is already using the caption field, I would think you’d just be able to drop the link in there.

    Certainly, I can add a caption link manually, using <a href>. Is that what you’re referring to?
    However, I was hoping that there could be something more automatic, since I have a gallery which will sometimes be updated by my client who doesn’t know HTML.

    …Still, I see your point that the caption is somewhat outside the realm of this plugin (which changes gallery images).

    Thanks for the reply.

    Plugin Author fourlightsweb

    @fourlightsweb

    That sounds like it might be a job for a separate plugin – auto adding a caption would introduce complexities like a) not every gallery layout displays captions, so that might be confusing, b) not everyone would want a custom link to overwrite their caption, c) there would have to be a way to indicate the text that would be linked in the caption, d) making some of these items settings would probably be more complicated than just adding the link manually, etc. etc. This plugin really doesn’t deal with captions, so I don’t feel it’s something within the scope of what this plugin was designed to do, sorry.

    Yup, that sounds totally fair; I understand completely.

    Thanks for your detailed answers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Add link to image caption’ is closed to new replies.
Skip to toolbar