Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi 2,

    I have the same question about linkable caption. Picture area above caption may be small even with a downsized text.
    Guess it’s a pure matter of code, but could you help us in this issue ?

    Meta Slider works fine with WP.3.9.1 and twenty fourteen.
    By the way, french translation is quite clear.

    Thanks a lot !
    Theophil

    Hi,

    I join the request above 🙂

    Thanks
    Daniel

    Hi All,

    The caption isn’t linked because the caption itself can contain HTML (including links), and putting a link within a link will generate invalid HTML.

    The easy solution is to include the link in your caption, e.g.

    <a href='http://www.theUrl.com'>Your caption</a>

    Regards,
    Tom.

    Thread Starter jvolvovski

    (@jvolvovski)

    I found a way to add a link. This is not ideal since you’re changing core files that would be overwritten with an update, but:

    If you search for “caption-wrap” in ml-slider/inc/slide/ metaslide.image.class.php

    (I think it’s line 288 & 349)

    You can add:
    <a href="' . $slide['url'] .'"> before <div class="caption-wrap">
    and after </div> on that same line.

    Thanks,
    Jenny

    it works 🙂

    Thanks Jenny

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Make Captions Linkable’ is closed to new replies.