WordPress.org

Ready to get started?Download WordPress

Forums

WP Gallery Custom Links
[resolved] Add link to image caption (5 posts)

  1. mahlerthetitan
    Member
    Posted 1 year ago #

    Hi,

    I love this plugin! Thanks very much, fourlightsweb. :D

    I'm wondering if there's a way to change each image's caption text into a link which points to the "Gallery Link URL".

    Any help would be much appreciated.
    Thanks.

    http://wordpress.org/extend/plugins/wp-gallery-custom-links/

  2. fourlightsweb
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. mahlerthetitan
    Member
    Posted 1 year ago #

    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.

  4. fourlightsweb
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  5. mahlerthetitan
    Member
    Posted 1 year ago #

    Yup, that sounds totally fair; I understand completely.

    Thanks for your detailed answers.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.