Support

Home Forums Event Espresso Premium Linking shortcodes to images?

Linking shortcodes to images?

Posted: January 9, 2014 at 7:02 am


naifaflorida

January 9, 2014 at 7:02 am

I have tried various ways to hyper-link an image to a shortcode, but can not get it to work.

Rather than use the “View Cart” text generated by MER ([ESPRESSO_CART_LINK event_id=”add_event_id_here” direct_to_cart=1 moving_to_cart=”Redirecting to cart…”]), I would like to hyper-link an image of a shopping cart.

If this is none through editing ESPRESSO_CART_LINK css, that’s fine but there isn’t any css files in the MER folder. Am I missing something?


Tony

  • Support Staff

January 9, 2014 at 9:43 am

Hi Paul,

There are 2 outputs from the ESPRESSO_CART_LINK shortcode.

‘Add to cart’ which can be changed to an image following the method posted here:

https://eventespresso.com/wiki/multiple-events-registration-use-add-to-cart-link-instead-of-default-registration-form/#customizing

Then when you have the event in question in the cart. ‘View Cart’ will be displayed. This needs to be styled using CSS, (which you place within the themes .css file or a custom css file using a plugin such as My Custom CSS)

From the looks of the shortcode you included you only need the ‘Add to Cart’ text replacing as that shortcode directs the user to to cart once clicked, is that correct?

The support post ‘Linking shortcodes to images?’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso