Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Shortcodes.php Line 932, find:
- if (isset($id) && $id > 0) {
- $atts = array_merge($atts, array('venue_id'=>$id, 'use_venue_id'=>true));
- }
- Under that, Paste:
- if(isset($show_only_dates) && $show_only_dates == true) {
- $atts['venue_dates_only'] = true;
- }
- event_list_display.php around line 40 you'll see:
- global $this_event_id;
- $this_event_id = $event_id;
- ?>
- After the ?> paste :
- <?php if(isset($venue_dates_only) && $venue_dates_only == true )
- {
- ?>
- <h3 id="event_date-<?php echo $event_id ?>" class="event_date"><a title="<?php _e('Date:', 'event_espresso'); ?>" class="a_event_date" id="a_event_date-<?php echo $event_id ?>" href="<?php echo $registration_url; ?>"><?php echo event_date_display($start_date, get_option('date_format')) ?></a></h3>
- <?php
- } else {
- ?>
- Then on the last line of the same file paste:
- <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement