Title: Shortcode &#8211; Link Url image
Last modified: June 4, 2020

---

# Shortcode – Link Url image

 *  Resolved [marcy5977](https://wordpress.org/support/users/marcy5977/)
 * (@marcy5977)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/shortcode-link-url-image/)
 * Hi, I’m Marcello.
    I am using a pro theme that has images loaded in index with
   Shortcode. how does the shortcode work? I’m not very practical with Shortcodes,
   but I can program php, html and css. I have to add a link to an image, it doesn’t
   work. What am I doing wrong? the original code is like this: [services_box animation
   =”” title=”Mobility” description=”Cras metus quam, condimentum uven rutrum ediam.
   Sed vehicula atfringnu lobortis fermentum dignissim” image=”[http://sitename.com/wp-content/themes/wild-safari-pro/images/ws-icon1.png”%5D](http://sitename.com/wp-content/themes/wild-safari-pro/images/ws-icon1.png”%5D)
 * I want to add a link to act as a button to a page.
    it should be, but it doesn’t
   work [services_box animation=”” title=”Mobility” description=”Cras metus quam,
   condimentum uven rutrum ediam. Sed vehicula atfringnu lobortis fermentum dignissim”
   image=”[http://sitename.com/wp-content/themes/wild-safari-pro/images/ws-icon1.png”link](http://sitename.com/wp-content/themes/wild-safari-pro/images/ws-icon1.png”link)
   = “https://www.lipsum.com/; target=””]
    -  This topic was modified 5 years, 10 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

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

 *  [Tapan Kumer Das](https://wordpress.org/support/users/voboghure/)
 * (@voboghure)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/shortcode-link-url-image/#post-12927998)
 * Hello Marcello,
 * How about wrap the whole shortcode with a link tag like follows,
    `<a href="https://
   www.lipsum.com/" target="_blank" rel="noopener noreferrer">[services_box animation
   =”” title=”Mobility” description=”Cras metus quam, condimentum uven rutrum ediam.
   Sed vehicula atfringnu lobortis fermentum dignissim” image=”http://sitename.com/
   wp-content/themes/wild-safari-pro/images/ws-icon1.png”]</a>`
 * Let me know if it works.
 * Thanks.
    -  This reply was modified 5 years, 10 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  Thread Starter [marcy5977](https://wordpress.org/support/users/marcy5977/)
 * (@marcy5977)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/shortcode-link-url-image/#post-12932143)
 * Thank you very much. I imagined it was a simple thing. But I puzzled, my brain
   like an idiot.
    You gave me important help. It works perfectly.
 *  Thread Starter [marcy5977](https://wordpress.org/support/users/marcy5977/)
 * (@marcy5977)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/shortcode-link-url-image/#post-12933560)
 * Sorry for the last question.
    If I want to align two shortcode link images?
 *  Thread Starter [marcy5977](https://wordpress.org/support/users/marcy5977/)
 * (@marcy5977)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/shortcode-link-url-image/#post-12935448)
 * However, I solved it by putting the two Shortcode in an <div> inline-block

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

The topic ‘Shortcode – Link Url image’ is closed to new replies.

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [marcy5977](https://wordpress.org/support/users/marcy5977/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/shortcode-link-url-image/#post-12935448)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
