Skip to content

Instantly share code, notes, and snippets.

@joshfeck
Created July 3, 2012 23:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshfeck/3044115 to your computer and use it in GitHub Desktop.
Save joshfeck/3044115 to your computer and use it in GitHub Desktop.
widget mod that adds Venue city and price
<p>
<a href="<?php echo $registration_url; ?>">
<strong><?php echo stripslashes_deep($event->event_name) ?></strong>
-
<?php echo do_shortcode('[ESPRESSO_VENUE_CITY event_id="'.$event->id.'"]');?>
-
<?php echo event_date_display($event->start_date) ?>
-
$<?php echo do_shortcode('[EVENT_PRICE event_id="'.$event->id.'" number="0"]');?>
</a>
</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment