WordPress.org

Ready to get started?Download WordPress

Forums

Links in Captions
Awesome Plugin! Title Tags Not Working Properly (8 posts)

  1. Tevya
    Member
    Posted 3 years ago #

    When I do the code for the caption, I put "Open website in a new window" for the title tag. But when I hover over the link on the website it only says "Open".

    Is this a problem anyone else is having? Is there a fix for it, or something that needs to be updated in the plugin?

    This plugin solves such a huge problem. They keep putting off fixing it in WordPress itself.

    http://wordpress.org/extend/plugins/links-in-captions/

  2. Zack Katz
    Member
    Plugin Author

    Posted 3 years ago #

    Can you please post the exact code you're using for your caption?

  3. Tevya
    Member
    Posted 3 years ago #

    Sure. Its
    {link url="http://nampanewfies.com" target="new" title="Open website in a new window"}Newfoundland Dogs{/link}

    Its on the Business Websites page of my website. Just hover over any of the captions for the "Examples" and you'll see it just shows the first word "Open".

  4. Zack Katz
    Member
    Plugin Author

    Posted 3 years ago #

    Have you tried using single quotes instead of double?

    {link url='http://nampanewfies.com' target='new' title='Open website in a new window'}Newfoundland Dogs{/link}

    Let me know if that works; if it does, I'll see what I can change in the code.…

  5. Tevya
    Member
    Posted 3 years ago #

    One quote displays "'Open", no quotes displays "Open" (just the stuff inside the double quotes).

    Thanks for looking into this Zack. Great plugin.

  6. Zack Katz
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Tevya,
    Thanks for pointing out this issue; indeed, the plugin wasn't generating wrapping quotes for the title attribute. I just released version 1.2 that fixes the issue and also adds {a} support instead of only {link}; this will allow a more natural {a href="http://example.com"}Example{/a} for people used to HTML.

  7. Tevya
    Member
    Posted 3 years ago #

    Awesome Zack! Thanks. Its a much needed plugin, so glad you created it.

  8. Gazzerk
    Member
    Posted 3 years ago #

    Yes Zack, I concur this is a perfect (and simplest) solution.

    I used this throughout a portfolio site. I did find some occurrences where I would either link to an external site or to an internal PDF and the tickmarks entered in the caption field turned to quotes, not immediately, but when switching from HTML view to Visual view during the work process.

    This would make the link to a site be "http://thisdomain.com/"http://linkeddomain.com"

    I found that using either the HTML character entities " or leaving out the tickmarks was more stable. Followed a logical workflow when applying so fairly sure I did everything correctly.

    Nonetheless, this saved the day--thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic