code for caption links 3.4.1 (6 posts)

  1. susanbear
    Posted 3 years ago #

    I'm a WordPress novice. I am using Thesis theme. Please could someone provide me with the html code format that I need to enter in the caption line of images to produce a link. I would like to be able to use caption links to give photo credits. I searched but was unable to find an answer for this question elsewhere. Thank you!

  2. egado
    Posted 3 years ago #

    <a href="http://www.johns-photo-website.com" title="Johns Photo Website">Photo by John</a>

    Thats the website adress

    title="Johns Photo Website"
    This the link title, should be discribe (in a few words) what the link is about or where the user will be taken after he clicks on it. This is what you see while hover the link with your cursor.
    (optional, but good for seo)

    Photo by John
    This is the link text, what you will see directly in your caption

    Hope my english was good enough to help you out :)

  3. susanbear
    Posted 3 years ago #

    Thank you so much!

  4. egado
    Posted 3 years ago #

    Your welcome :)

  5. chiusure
    Posted 3 years ago #

    I also have the version 3.4.1, but after I save the Image with all the details, the caption no longer has the code, this part is gone:
    <a href="http://www .....
    I only see the website title and no link appears. How to fix this? Thanks.

  6. Michael
    Part-Time Forum Moderator
    Posted 3 years ago #

    please post the exact code you are putting into the caption.

    it might also help if you can post a link to your site pointing to the post/page with the caption image.

Topic Closed

This topic has been closed to new replies.

About this Topic