Links won't appear in both pages and posts

  • Unknown's avatar

    Hello. I tried to attach a link to an image on a page. As soon as I attempted to include the link to image, the image vanished leaving only the link. I tried multiple times with the same issue.

    I attempted the same on a post end result was the same as my experience in pages.

    Attaching links worked fine late Sunday but not today. Thanks for your help. I am using Comet theme. BTW, my other blogs under different themes are not experiencing this issue. I have no idea what I did wrong. Ugh! Thanks again for your help.

    The blog I need help with is: (visible only to logged in users)

  • Hi there. How exactly did you try to attach the link to the image? Using the Edit Image pop-up or by editing the html directly?

    And can you please give a link to the specific post or page where this is happening?

  • Unknown's avatar

    I added an image from my library to a page. I then wanted to attach a link to my image redirecting to my post. Always worked up until this roadblock. I tried doing it in HTML too and it wouldnt work. I also tried several images and different links too on both post and page.

    here’s the link i am trying to attach to the image in my GIVEAWAYS page, last image on bottom of page

    http://unshelfish.org/2015/08/05/book-blast-giveaway-enchantress-of-paris-a-novel-of-the-sun-kings-court-by-marci-jefferson/

    this is the link to the page where I am trying to add the links to just the last two graphics

    http://unshelfish.org/giveaways/

    However, I am experiencing the same exact problem in post section too. Thanks so much, appreciate your help

  • Unknown's avatar

    hmmm if I change from media link to customer url it works…. media linked has always worked. weird

  • hmmm if I change from media link to customer url it works…. media linked has always worked. weird

    I’m looking at your page now, and the images are linking to the media files, i.e. the actual jpg images in your media library. To have the image link to a post you’ll need to change the link to a custom URL, yes.

    There are four link options for images:

    None – self-explanatory, I think;
    Attachment page – opens image on its own page within the blog with sharing and comment options;
    Media file – opens full-size image in browser; and
    Custom URL – opens page at the internal or external link provided, what it sounds like you want to do.
    https://en.support.wordpress.com/images/image-settings/#attachment-display-settings

    The easiest way to change this is in the Edit Image window, but if you want to change it directly in html you need to wrap the img-tag in a set of a-tags, like this:

    <a href="link_URL_here"><img alt="alt-test" src="image_URL_here"></a>
    https://en.support.wordpress.com/beginning-html/#images-in-html

    Does that answer your question? Or does it still not work even if you change it to custom URL?

  • Unknown's avatar

    it works when I change to custom URL, thanks a bunch. appreictae your help

  • Glad I could help :)

  • The topic ‘Links won't appear in both pages and posts’ is closed to new replies.