Title: Image Link
Last modified: August 22, 2016

---

# Image Link

 *  Resolved [hugo2808](https://wordpress.org/support/users/hugo2808/)
 * (@hugo2808)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/image-link-14/)
 * Hi,
    first of all congratulations for your excelent plugin! I’ve search a solution
   for my problem in the support but i didn’t find. I want to show a grid of posts
   with thumbnail and title “linkable” to relative post:
 *     ```
       [loop type="post" count="8" columns="4" pad="0px 10px"]
       <a href='[content field="url"]'>[field thumbnail]</a>
       [field title-link class="center_title"]
       [/loop]
       ```
   
 * I get the title with link but the image I don’t.
    The problem is that I get visible
   someting like:
 * [
    POST THUMBNAIL  title-link
 * So, the HTML is visible and the image doesn’t provide the link!
    Can you help
   me?
 * Thanks
    Hugo
 * [https://wordpress.org/plugins/custom-content-shortcode/](https://wordpress.org/plugins/custom-content-shortcode/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [hugo2808](https://wordpress.org/support/users/hugo2808/)
 * (@hugo2808)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/image-link-14/#post-5245250)
 * Sorry, what I get in online page is
 *     ```
       <a href='http://www.123.net/?p=33'>
       POST THUMBNAIL
       </a>
       title-link
       ```
   
 * So, the HTML is visible and the image doesn’t provide the link!
 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/image-link-14/#post-5245372)
 * Hmm, I tested the code and it seems to be working fine on my end.
 * Looks like you’re seeing the title of the image (POST THUMBNAIL)? I wonder if
   the image link is broken..
 * Can you try `[field image-url]` to see if anything is displayed? If so, does 
   it link correctly to the image?
 *  Thread Starter [hugo2808](https://wordpress.org/support/users/hugo2808/)
 * (@hugo2808)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/image-link-14/#post-5245446)
 * Hi Eliot,
    better to explain visualy my problem.
 * In my backoffice i enter [this](http://imgur.com/dF6ZehR).
    Then I get [this](http://imgur.com/OdRn3xP)
   layout.
 * So I get the html text and is not suposed to.
    Where should be the problem?
 * Thanks
    Hugo
 *  [Julie](https://wordpress.org/support/users/habannah/)
 * (@habannah)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/image-link-14/#post-5245475)
 * I’m happy to have found this thread because I was coming to the forum to ask 
   a very similar question.
 * Eliot, just like the title-link variable exists to present a linked post title,
   it would be wonderful to have an image-link variable to present a linked image.
   It would accomplish what hugo2808 is trying to achieve in a much simpler way.
 * For my own current purposes, I would want the image-link variable to link back
   to the image’s parent post, but if there was a way to specify which url, that
   would be even more useful!
 * Just FYI, when I use image-url, that simply displays the image’s url as text,
   no link, no image.
 * Thank you so much for this fantastic plugin. I’ve found so many different uses
   for it!!
 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/image-link-14/#post-5245501)
 * **hugo2808** – From the screenshot, I see that you’re using the Visual editor.
   I believe this is the reason why the HTML is showing as it is. Please try using
   the Text editor. I wrote a note about this in the documentation, Settings -> 
   Custom Content -> Views.
 * **Julie** – Thank you for the suggestion, good idea. In the latest update, I 
   added `[field image-link]` and `[field thumbnail-link]`that display the featured
   image linked to the post.
 *  [Julie](https://wordpress.org/support/users/habannah/)
 * (@habannah)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/image-link-14/#post-5245502)
 * That was fast! Wow, thanks Eliot!!
 * Your plugin becomes more and more useful with every update. I use it for everything
   I can now. Fantastic work 🙂
 *  Thread Starter [hugo2808](https://wordpress.org/support/users/hugo2808/)
 * (@hugo2808)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/image-link-14/#post-5245506)
 * Yes!! It was it –> Text Editor. I didn’t updated the plugin, so I didn’t read
   it 🙁
    Excelent, now it works perfect, with [field image-link] or [field thumbnail-
   link] I get the link to the post by clicking the image.. Excellent
 * Many thnaks
    Hugo
 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/image-link-14/#post-5245513)
 * Great, I’m glad it worked! 🙂

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Image Link’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-shortcode_766976.svg)
 * [Custom Content Shortcode](https://wordpress.org/plugins/custom-content-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-shortcode/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/image-link-14/#post-5245513)
 * Status: resolved