Home Forums Travel WordPress Theme links in images of a gallery post

This topic contains 2 replies, has 2 voices, and was last updated by  janokary 3 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3717

    janokary
    Participant

    I’d like to put some link in each image in gallery posts.
    It would be ideal to have them inline in the description-caption of each image or separated, maybe under the description.
    Any ideas?

    #3720

    Johnny
    Participant

    Hi, please try this:
    1. edit the gallery post from backend;
    2. click button ‘Upload/Edit Images’;
    3. select ‘Media library’ tab;
    4. select option ‘Uploaded to this post’
    5. click an image. on the right, enter below code to field ‘description’:
    <a href=http://somewhere.com>link text</a>
    6. once you cursor leave this input field, content will be updated.
    7. repeat step 5 and 6, update all image with description text
    8. close the dialog(do not click ‘insert into post’) and view updated gallery post.
    Best

    #3728

    janokary
    Participant

    It worked. I didn’t know that I have to omit quotes.
    Thank you!!!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.