Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
combining multiple events with the espresso table custom file | Event Espresso - Staging Server

Support

Home Forums Custom Files combining multiple events with the espresso table custom file

combining multiple events with the espresso table custom file

Posted: July 9, 2012 at 1:56 pm

Viewing 2 reply threads


alex cates

July 9, 2012 at 1:56 pm

hi, how do i replace the register fuction with the add to cart link provided by the multiple cart extension on the espresso table? i tried a straight up replacement, but couldnt figure it out (im still new to php and css) i then tried changing the teble to show a description and having the descriptiopn contain the add to cart link short code, but the espresso table could not do anything with the shortcode.

Any help would be greatly appreciated
thank you


Josh

July 9, 2012 at 3:11 pm

In order to use a shortcode in a template file, use a do_shortcode like this:

<?php echo do_shortcode('[ESPRESSO_CART_LINK event_id="'.$event->id.'" anchor="Register for This Event"]');?>
  • This reply was modified 12 years, 6 months ago by Josh. Reason: code formatting


alex cates

July 9, 2012 at 3:25 pm

Thank you, worked like a charm :)

Viewing 2 reply threads

The support post ‘combining multiple events with the espresso table custom file’ 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 - Staging Server