Title: Problem with #_EVENTIMAGEURL shortcode
Last modified: November 8, 2016

---

# Problem with #_EVENTIMAGEURL shortcode

 *  Resolved [Borneyak](https://wordpress.org/support/users/borneyak/)
 * (@borneyak)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/problem-with-_eventimageurl-shortcode/)
 * I got a problem with the #_EVENTIMAGEURL shortcode.
 * I’d like to use #_EVENTIMAGEURL inside a style parameter like:
 *     ```
       <span style="background-image: url("#_EVENTIMAGEURL");">
          content of span
       </span>
       ```
   
 * This does not work for me as each / (slash forward) inside the url is replaced
   by this:
    `=""` (with a space on the end)
 * So url like this
    `"http://www.disney.com/subpage"` will be this `"http:="" www.
   disney.com="" subpage"` instead.
 * Placing the #_EVENTIMAGEURL normally in the text (not inside any tag) works fine
   and gives a normal url.
 * How can i fix this?

Viewing 1 replies (of 1 total)

 *  Thread Starter [Borneyak](https://wordpress.org/support/users/borneyak/)
 * (@borneyak)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/problem-with-_eventimageurl-shortcode/#post-8409648)
 * *Feels dumb*
 * it was a classic programming error. I used double-quotes where i should have 
   used single-quotes.
 * This is solved now!

Viewing 1 replies (of 1 total)

The topic ‘Problem with #_EVENTIMAGEURL shortcode’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Borneyak](https://wordpress.org/support/users/borneyak/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/problem-with-_eventimageurl-shortcode/#post-8409648)
 * Status: resolved