@@ -3,12 +3,12 @@ |
||
3 | 3 | global $post; |
4 | 4 | ?> |
5 | 5 | <header class="event-header"> |
6 | - <?php if ( is_single() ) : ?> |
|
6 | + <?php if (is_single()) : ?> |
|
7 | 7 | <h1 id="event-details-h1-<?php echo $post->ID; ?>" class="entry-title"> |
8 | 8 | <?php else : ?> |
9 | 9 | <h2 id="event-details-h2-<?php echo $post->ID; ?>" class="entry-title"> |
10 | 10 | <?php endif; ?> |
11 | 11 | <a class="" href="<?php the_permalink(); ?>"><?php the_title(); ?></a> |
12 | - <?php if ( is_single() ) : ?></h1><?php else : ?></h2><?php endif; ?> |
|
13 | - <?php if ( ! is_archive() && has_excerpt( $post->ID )): the_excerpt(); endif;?> |
|
12 | + <?php if (is_single()) : ?></h1><?php else : ?></h2><?php endif; ?> |
|
13 | + <?php if ( ! is_archive() && has_excerpt($post->ID)): the_excerpt(); endif; ?> |
|
14 | 14 | </header> |
@@ -5,10 +5,16 @@ |
||
5 | 5 | <header class="event-header"> |
6 | 6 | <?php if ( is_single() ) : ?> |
7 | 7 | <h1 id="event-details-h1-<?php echo $post->ID; ?>" class="entry-title"> |
8 | - <?php else : ?> |
|
9 | - <h2 id="event-details-h2-<?php echo $post->ID; ?>" class="entry-title"> |
|
8 | + <?php else { |
|
9 | + : ?> |
|
10 | + <h2 id="event-details-h2-<?php echo $post->ID; |
|
11 | +} |
|
12 | +?>" class="entry-title"> |
|
10 | 13 | <?php endif; ?> |
11 | 14 | <a class="" href="<?php the_permalink(); ?>"><?php the_title(); ?></a> |
12 | - <?php if ( is_single() ) : ?></h1><?php else : ?></h2><?php endif; ?> |
|
15 | + <?php if ( is_single() ) : ?></h1><?php else { |
|
16 | + : ?></h2><?php endif; |
|
17 | +} |
|
18 | +?> |
|
13 | 19 | <?php if ( ! is_archive() && has_excerpt( $post->ID )): the_excerpt(); endif;?> |
14 | 20 | </header> |
@@ -1,12 +1,12 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | //echo '<br/><h6 style="color:#2EA2CC;">'. __FILE__ . ' <span style="font-weight:normal;color:#E76700"> Line #: ' . __LINE__ . '</span></h6>'; |
3 | 3 | global $post; |
4 | -do_action( 'AHEE_event_details_before_featured_img', $post ); |
|
4 | +do_action('AHEE_event_details_before_featured_img', $post); |
|
5 | 5 | |
6 | -if ( has_post_thumbnail( $post->ID )) : |
|
7 | - if ( $img_ID = get_post_thumbnail_id( $post->ID )) : |
|
8 | - if ( $featured_img = wp_get_attachment_image_src( $img_ID, 'large' )) : |
|
9 | - $caption = esc_attr( get_post( get_post( $img_ID ))->post_excerpt ); |
|
6 | +if (has_post_thumbnail($post->ID)) : |
|
7 | + if ($img_ID = get_post_thumbnail_id($post->ID)) : |
|
8 | + if ($featured_img = wp_get_attachment_image_src($img_ID, 'large')) : |
|
9 | + $caption = esc_attr(get_post(get_post($img_ID))->post_excerpt); |
|
10 | 10 | ?> |
11 | 11 | <div id="ee-event-img-dv-<?php echo $post->ID; ?>" class="ee-event-img-dv"> |
12 | 12 | <a class="" href="<?php the_permalink(); ?>"> |
@@ -18,4 +18,4 @@ discard block |
||
18 | 18 | endif; |
19 | 19 | endif; |
20 | 20 | ?> |
21 | -<?php do_action( 'AHEE_event_details_after_featured_img', $post );?> |
|
21 | +<?php do_action('AHEE_event_details_after_featured_img', $post); ?> |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | //echo '<br/><h6 style="color:#2EA2CC;">'. __FILE__ . ' <span style="font-weight:normal;color:#E76700"> Line #: ' . __LINE__ . '</span></h6>'; |
3 | 3 | global $post; |
4 | -if ( espresso_display_ticket_selector( $post->ID ) && ( is_single() || ( is_archive() && espresso_display_ticket_selector_in_event_list() ))) : |
|
4 | +if (espresso_display_ticket_selector($post->ID) && (is_single() || (is_archive() && espresso_display_ticket_selector_in_event_list()))) : |
|
5 | 5 | ?> |
6 | 6 | <div class="event-tickets" style="clear: both;"> |
7 | - <?php espresso_ticket_selector( $post ); ?> |
|
7 | + <?php espresso_ticket_selector($post); ?> |
|
8 | 8 | </div> |
9 | 9 | <!-- .event-tickets --> |
10 | -<?php elseif ( ! is_single() ) : ?> |
|
11 | -<?php espresso_view_details_btn( $post ); ?> |
|
10 | +<?php elseif ( ! is_single()) : ?> |
|
11 | +<?php espresso_view_details_btn($post); ?> |
|
12 | 12 | <?php endif; ?> |
13 | 13 | \ No newline at end of file |
@@ -37,8 +37,11 @@ |
||
37 | 37 | <?php echo $venue_description; ?> |
38 | 38 | </p> |
39 | 39 | <?php endif; ?> |
40 | - <?php else : ?> |
|
41 | - <?php $venue_excerpt = espresso_venue_excerpt( $VNU_ID, FALSE ); ?> |
|
40 | + <?php else { |
|
41 | + : ?> |
|
42 | + <?php $venue_excerpt = espresso_venue_excerpt( $VNU_ID, FALSE ); |
|
43 | +} |
|
44 | +?> |
|
42 | 45 | <?php if ( $venue_excerpt ) : ?> |
43 | 46 | <p> |
44 | 47 | <strong><?php _e( 'Description:', 'event_espresso' ); ?></strong><br/> |
@@ -1,54 +1,54 @@ |
||
1 | 1 | <?php |
2 | 2 | //echo '<br/><h6 style="color:#2EA2CC;">'. __FILE__ . ' <span style="font-weight:normal;color:#E76700"> Line #: ' . __LINE__ . '</span></h6>'; |
3 | -if (( is_single() && espresso_display_venue_in_event_details() ) || ( is_archive() && espresso_display_venue_in_event_list() ) ) : |
|
3 | +if ((is_single() && espresso_display_venue_in_event_details()) || (is_archive() && espresso_display_venue_in_event_list())) : |
|
4 | 4 | global $post; |
5 | - do_action( 'AHEE_event_details_before_venue_details', $post ); |
|
6 | - $venue_name = espresso_venue_name( 0, 'details', FALSE ); |
|
7 | - if ( empty( $venue_name ) && espresso_is_venue_private() ) { |
|
8 | - do_action( 'AHEE_event_details_after_venue_details', $post ); |
|
5 | + do_action('AHEE_event_details_before_venue_details', $post); |
|
6 | + $venue_name = espresso_venue_name(0, 'details', FALSE); |
|
7 | + if (empty($venue_name) && espresso_is_venue_private()) { |
|
8 | + do_action('AHEE_event_details_after_venue_details', $post); |
|
9 | 9 | return ''; |
10 | 10 | } |
11 | 11 | ?> |
12 | 12 | |
13 | 13 | <div class="espresso-venue-dv<?php echo espresso_is_venue_private() ? ' espresso-private-venue-dv' : ''; ?>"> |
14 | 14 | <h3 class="event-venues-h3 ee-event-h3"> |
15 | - <?php _e( 'Location', 'event_espresso' ); ?> |
|
15 | + <?php _e('Location', 'event_espresso'); ?> |
|
16 | 16 | </h3> |
17 | - <h4><strong><?php _e( 'Venue:', 'event_espresso' ); ?></strong> <strong> <?php echo $venue_name; ?></strong></h4> |
|
17 | + <h4><strong><?php _e('Venue:', 'event_espresso'); ?></strong> <strong> <?php echo $venue_name; ?></strong></h4> |
|
18 | 18 | <p><span class="smaller-text tags-links"><?php echo espresso_venue_categories(); ?></span></p> |
19 | -<?php if ( $venue_phone = espresso_venue_phone( $post->ID, FALSE )) : ?> |
|
19 | +<?php if ($venue_phone = espresso_venue_phone($post->ID, FALSE)) : ?> |
|
20 | 20 | <p> |
21 | - <span class="small-text"><strong><?php _e( 'Venue Phone:', 'event_espresso' ); ?></strong></span> <?php echo $venue_phone; ?> |
|
21 | + <span class="small-text"><strong><?php _e('Venue Phone:', 'event_espresso'); ?></strong></span> <?php echo $venue_phone; ?> |
|
22 | 22 | </p> |
23 | -<?php endif; ?> |
|
24 | -<?php if ( espresso_venue_has_address( $post->ID )) : ?> |
|
25 | - <strong><span class="dashicons dashicons-location-alt"></span><?php _e( 'Address:', 'event_espresso' ); ?></strong> |
|
26 | - <?php espresso_venue_address( 'inline' ); ?> |
|
27 | - <?php espresso_venue_gmap( $post->ID ); ?> |
|
23 | +<?php endif; ?> |
|
24 | +<?php if (espresso_venue_has_address($post->ID)) : ?> |
|
25 | + <strong><span class="dashicons dashicons-location-alt"></span><?php _e('Address:', 'event_espresso'); ?></strong> |
|
26 | + <?php espresso_venue_address('inline'); ?> |
|
27 | + <?php espresso_venue_gmap($post->ID); ?> |
|
28 | 28 | <div class="clear"><br/></div> |
29 | -<?php endif; ?> |
|
29 | +<?php endif; ?> |
|
30 | 30 | |
31 | - <?php $VNU_ID = espresso_venue_id( $post->ID ); ?> |
|
32 | - <?php if ( is_single() ) : ?> |
|
33 | - <?php $venue_description = espresso_venue_description( $VNU_ID, FALSE ); ?> |
|
34 | - <?php if ( $venue_description ) : ?> |
|
31 | + <?php $VNU_ID = espresso_venue_id($post->ID); ?> |
|
32 | + <?php if (is_single()) : ?> |
|
33 | + <?php $venue_description = espresso_venue_description($VNU_ID, FALSE); ?> |
|
34 | + <?php if ($venue_description) : ?> |
|
35 | 35 | <p> |
36 | - <strong><?php _e( 'Description:', 'event_espresso' ); ?></strong><br/> |
|
37 | - <?php echo do_shortcode( $venue_description ); ?> |
|
36 | + <strong><?php _e('Description:', 'event_espresso'); ?></strong><br/> |
|
37 | + <?php echo do_shortcode($venue_description); ?> |
|
38 | 38 | </p> |
39 | - <?php endif; ?> |
|
39 | + <?php endif; ?> |
|
40 | 40 | <?php else : ?> |
41 | - <?php $venue_excerpt = espresso_venue_excerpt( $VNU_ID, FALSE ); ?> |
|
42 | - <?php if ( $venue_excerpt ) : ?> |
|
41 | + <?php $venue_excerpt = espresso_venue_excerpt($VNU_ID, FALSE); ?> |
|
42 | + <?php if ($venue_excerpt) : ?> |
|
43 | 43 | <p> |
44 | - <strong><?php _e( 'Description:', 'event_espresso' ); ?></strong><br/> |
|
44 | + <strong><?php _e('Description:', 'event_espresso'); ?></strong><br/> |
|
45 | 45 | <?php echo $venue_excerpt; ?> |
46 | 46 | </p> |
47 | - <?php endif; ?> |
|
48 | - <?php endif; ?> |
|
47 | + <?php endif; ?> |
|
48 | + <?php endif; ?> |
|
49 | 49 | </div> |
50 | 50 | <!-- .espresso-venue-dv --> |
51 | 51 | <?php |
52 | -do_action( 'AHEE_event_details_after_venue_details', $post ); |
|
52 | +do_action('AHEE_event_details_after_venue_details', $post); |
|
53 | 53 | endif; |
54 | 54 | ?> |
@@ -1,15 +1,15 @@ |
||
1 | 1 | <?php |
2 | 2 | //echo '<br/><h6 style="color:#2EA2CC;">'. __FILE__ . ' <span style="font-weight:normal;color:#E76700"> Line #: ' . __LINE__ . '</span></h6>'; |
3 | 3 | /** |
4 | - * This template will display a single event - copy it to your theme folder |
|
5 | - * |
|
6 | - * @ package Event Espresso |
|
7 | - * @ author Seth Shoultes |
|
8 | - * @ copyright (c) 2008-2013 Event Espresso All Rights Reserved. |
|
9 | - * @ license http://eventespresso.com/support/terms-conditions/ * see Plugin Licensing * |
|
10 | - * @ link http://www.eventespresso.com |
|
11 | - * @ version 4+ |
|
12 | - */ |
|
4 | + * This template will display a single event - copy it to your theme folder |
|
5 | + * |
|
6 | + * @ package Event Espresso |
|
7 | + * @ author Seth Shoultes |
|
8 | + * @ copyright (c) 2008-2013 Event Espresso All Rights Reserved. |
|
9 | + * @ license http://eventespresso.com/support/terms-conditions/ * see Plugin Licensing * |
|
10 | + * @ link http://www.eventespresso.com |
|
11 | + * @ version 4+ |
|
12 | + */ |
|
13 | 13 | |
14 | 14 | global $post; |
15 | 15 | $event_class = has_excerpt( $post->ID ) ? ' has-excerpt' : ''; |
@@ -18,52 +18,52 @@ |
||
18 | 18 | * and/or use any of the template tags functions found in: |
19 | 19 | * \wp-content\plugins\event-espresso-core\public\template_tags.php |
20 | 20 | ************************** IMPORTANT **************************/ |
21 | -add_filter( 'FHEE__content_espresso_events__template_loaded', '__return_true' ); |
|
21 | +add_filter('FHEE__content_espresso_events__template_loaded', '__return_true'); |
|
22 | 22 | |
23 | 23 | //echo '<br/><h6 style="color:#2EA2CC;">'. __FILE__ . ' <span style="font-weight:normal;color:#E76700"> Line #: ' . __LINE__ . '</span></h6>'; |
24 | 24 | |
25 | 25 | global $post; |
26 | -$event_class = has_excerpt( $post->ID ) ? ' has-excerpt' : ''; |
|
27 | -$event_class = apply_filters( 'FHEE__content_espresso_events__event_class', $event_class ); |
|
26 | +$event_class = has_excerpt($post->ID) ? ' has-excerpt' : ''; |
|
27 | +$event_class = apply_filters('FHEE__content_espresso_events__event_class', $event_class); |
|
28 | 28 | ?> |
29 | -<?php do_action( 'AHEE_event_details_before_post', $post ); ?> |
|
30 | -<article id="post-<?php the_ID(); ?>" <?php post_class( $event_class ); ?>> |
|
29 | +<?php do_action('AHEE_event_details_before_post', $post); ?> |
|
30 | +<article id="post-<?php the_ID(); ?>" <?php post_class($event_class); ?>> |
|
31 | 31 | |
32 | -<?php if ( is_single() ) : ?> |
|
32 | +<?php if (is_single()) : ?> |
|
33 | 33 | |
34 | - <div id="espresso-event-header-dv-<?php echo $post->ID;?>" class="espresso-event-header-dv"> |
|
35 | - <?php espresso_get_template_part( 'content', 'espresso_events-thumbnail' ); ?> |
|
36 | - <?php espresso_get_template_part( 'content', 'espresso_events-header' ); ?> |
|
34 | + <div id="espresso-event-header-dv-<?php echo $post->ID; ?>" class="espresso-event-header-dv"> |
|
35 | + <?php espresso_get_template_part('content', 'espresso_events-thumbnail'); ?> |
|
36 | + <?php espresso_get_template_part('content', 'espresso_events-header'); ?> |
|
37 | 37 | </div> |
38 | 38 | |
39 | 39 | <div class="espresso-event-wrapper-dv"> |
40 | - <?php espresso_get_template_part( 'content', 'espresso_events-tickets' ); ?> |
|
41 | - <?php espresso_get_template_part( 'content', 'espresso_events-datetimes' ); ?> |
|
42 | - <?php espresso_get_template_part( 'content', 'espresso_events-details' ); ?> |
|
43 | - <?php espresso_get_template_part( 'content', 'espresso_events-venues' ); ?> |
|
40 | + <?php espresso_get_template_part('content', 'espresso_events-tickets'); ?> |
|
41 | + <?php espresso_get_template_part('content', 'espresso_events-datetimes'); ?> |
|
42 | + <?php espresso_get_template_part('content', 'espresso_events-details'); ?> |
|
43 | + <?php espresso_get_template_part('content', 'espresso_events-venues'); ?> |
|
44 | 44 | <footer class="event-meta"> |
45 | - <?php do_action( 'AHEE_event_details_footer_top', $post ); ?> |
|
46 | - <?php do_action( 'AHEE_event_details_footer_bottom', $post ); ?> |
|
45 | + <?php do_action('AHEE_event_details_footer_top', $post); ?> |
|
46 | + <?php do_action('AHEE_event_details_footer_bottom', $post); ?> |
|
47 | 47 | </footer> |
48 | 48 | </div> |
49 | 49 | |
50 | -<?php elseif ( is_archive() ) : ?> |
|
50 | +<?php elseif (is_archive()) : ?> |
|
51 | 51 | |
52 | - <div id="espresso-event-list-header-dv-<?php echo $post->ID;?>" class="espresso-event-header-dv"> |
|
53 | - <?php espresso_get_template_part( 'content', 'espresso_events-thumbnail' ); ?> |
|
54 | - <?php espresso_get_template_part( 'content', 'espresso_events-header' ); ?> |
|
52 | + <div id="espresso-event-list-header-dv-<?php echo $post->ID; ?>" class="espresso-event-header-dv"> |
|
53 | + <?php espresso_get_template_part('content', 'espresso_events-thumbnail'); ?> |
|
54 | + <?php espresso_get_template_part('content', 'espresso_events-header'); ?> |
|
55 | 55 | </div> |
56 | 56 | |
57 | 57 | <div class="espresso-event-list-wrapper-dv"> |
58 | - <?php espresso_get_template_part( 'content', 'espresso_events-tickets' ); ?> |
|
59 | - <?php espresso_get_template_part( 'content', 'espresso_events-datetimes' ); ?> |
|
60 | - <?php espresso_get_template_part( 'content', 'espresso_events-details' ); ?> |
|
61 | - <?php espresso_get_template_part( 'content', 'espresso_events-venues' ); ?> |
|
58 | + <?php espresso_get_template_part('content', 'espresso_events-tickets'); ?> |
|
59 | + <?php espresso_get_template_part('content', 'espresso_events-datetimes'); ?> |
|
60 | + <?php espresso_get_template_part('content', 'espresso_events-details'); ?> |
|
61 | + <?php espresso_get_template_part('content', 'espresso_events-venues'); ?> |
|
62 | 62 | </div> |
63 | 63 | |
64 | 64 | <?php endif; ?> |
65 | 65 | |
66 | 66 | </article> |
67 | 67 | <!-- #post --> |
68 | -<?php do_action( 'AHEE_event_details_after_post', $post ); |
|
68 | +<?php do_action('AHEE_event_details_after_post', $post); |
|
69 | 69 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php //echo '<h1>' . __FILE__ . '</h1>'; ?> |
2 | 2 | <?php global $post; |
3 | -$wrap_class = has_excerpt( $post->ID ) ? ' has-excerpt' : ''; |
|
3 | +$wrap_class = has_excerpt($post->ID) ? ' has-excerpt' : ''; |
|
4 | 4 | ?> |
5 | -<header class="venue-header<?php echo $wrap_class;?>"> |
|
5 | +<header class="venue-header<?php echo $wrap_class; ?>"> |
|
6 | 6 | <h1 id="venue-details-h1" class="entry-title"> |
7 | 7 | <a class="" href="<?php the_permalink(); ?>"><?php the_title(); ?></a> |
8 | 8 | </h1> |
9 | - <?php if ( has_excerpt( $post->ID )) { the_excerpt(); } ?> |
|
9 | + <?php if (has_excerpt($post->ID)) { the_excerpt(); } ?> |
|
10 | 10 | </header> |
11 | 11 | <!-- .venue-content --> |
@@ -1,16 +1,16 @@ |
||
1 | 1 | <?php //echo '<h1>' . __FILE__ . '</h1>'; |
2 | 2 | global $post; |
3 | -if ( espresso_venue_has_address( $post->ID )) : |
|
3 | +if (espresso_venue_has_address($post->ID)) : |
|
4 | 4 | ?> |
5 | 5 | <div class="venue-location"> |
6 | 6 | |
7 | 7 | <h3 class="venue-address-h3 ee-venue-h3"> |
8 | - <span class="dashicons dashicons-location-alt"></span><?php _e( 'Location', 'event_espresso' ); ?> |
|
8 | + <span class="dashicons dashicons-location-alt"></span><?php _e('Location', 'event_espresso'); ?> |
|
9 | 9 | </h3> |
10 | - <span class="small-text"><strong><?php _e( 'Address:', 'event_espresso' ); ?></strong></span><?php espresso_venue_address( 'inline', $post->ID ); ?> |
|
10 | + <span class="small-text"><strong><?php _e('Address:', 'event_espresso'); ?></strong></span><?php espresso_venue_address('inline', $post->ID); ?> |
|
11 | 11 | <div class="clear"></div> |
12 | 12 | |
13 | - <div class="venue-gmap"><?php espresso_venue_gmap( $post->ID ); ?></div> |
|
13 | + <div class="venue-gmap"><?php espresso_venue_gmap($post->ID); ?></div> |
|
14 | 14 | <div class="clear"></div> |
15 | 15 | |
16 | 16 | </div> |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php //echo '<h1>' . __FILE__ . '</h1>'; ?> |
2 | 2 | <?php global $post; ?> |
3 | -<?php do_action( 'AHEE__content_espresso_venues_template__before_featured_img', $post ); ?> |
|
3 | +<?php do_action('AHEE__content_espresso_venues_template__before_featured_img', $post); ?> |
|
4 | 4 | <?php |
5 | -if ( has_post_thumbnail( $post->ID )) : |
|
6 | - if ( $img_ID = get_post_thumbnail_id( $post->ID )) : |
|
7 | - if ( $featured_img = wp_get_attachment_image_src( $img_ID, 'large' )) : |
|
8 | - $caption = esc_attr( get_post( get_post( $img_ID ))->post_excerpt ); |
|
5 | +if (has_post_thumbnail($post->ID)) : |
|
6 | + if ($img_ID = get_post_thumbnail_id($post->ID)) : |
|
7 | + if ($featured_img = wp_get_attachment_image_src($img_ID, 'large')) : |
|
8 | + $caption = esc_attr(get_post(get_post($img_ID))->post_excerpt); |
|
9 | 9 | $wrap_class .= ' has-img'; |
10 | 10 | ?> |
11 | 11 | <div id="ee-venue-img-dv-<?php echo $post->ID; ?>" class="ee-venue-img-dv"> |
@@ -18,5 +18,5 @@ discard block |
||
18 | 18 | endif; |
19 | 19 | endif; |
20 | 20 | ?> |
21 | -<?php do_action( 'AHEE__content_espresso_venues_template__after_featured_img', $post );?> |
|
21 | +<?php do_action('AHEE__content_espresso_venues_template__after_featured_img', $post); ?> |
|
22 | 22 | <!-- .venue-content --> |
@@ -11,41 +11,41 @@ |
||
11 | 11 | */ |
12 | 12 | |
13 | 13 | global $post; |
14 | -$wrap_class = has_excerpt( $post->ID ) ? ' has-excerpt' : ''; |
|
14 | +$wrap_class = has_excerpt($post->ID) ? ' has-excerpt' : ''; |
|
15 | 15 | ?> |
16 | -<?php do_action( 'AHEE__content_espresso_venues_template__before_post', $post ); ?> |
|
17 | -<article id="post-<?php the_ID(); ?>" <?php post_class( 'espresso-venue-details entry-content ' . $wrap_class ); ?>> |
|
16 | +<?php do_action('AHEE__content_espresso_venues_template__before_post', $post); ?> |
|
17 | +<article id="post-<?php the_ID(); ?>" <?php post_class('espresso-venue-details entry-content '.$wrap_class); ?>> |
|
18 | 18 | |
19 | -<?php if ( is_single() ) : ?> |
|
19 | +<?php if (is_single()) : ?> |
|
20 | 20 | |
21 | - <div id="espresso-venue-header-dv-<?php echo $post->ID;?>" class="espresso-venue-header-dv"> |
|
22 | - <?php espresso_get_template_part( 'content', 'espresso_venues-thumbnail' ); ?> |
|
23 | - <?php espresso_get_template_part( 'content', 'espresso_venues-header' ); ?> |
|
21 | + <div id="espresso-venue-header-dv-<?php echo $post->ID; ?>" class="espresso-venue-header-dv"> |
|
22 | + <?php espresso_get_template_part('content', 'espresso_venues-thumbnail'); ?> |
|
23 | + <?php espresso_get_template_part('content', 'espresso_venues-header'); ?> |
|
24 | 24 | </div> |
25 | 25 | |
26 | 26 | <div class="espresso-venue-wrapper-dv"> |
27 | - <?php espresso_get_template_part( 'content', 'espresso_venues-details' ); ?> |
|
28 | - <?php espresso_get_template_part( 'content', 'espresso_venues-location' ); ?> |
|
27 | + <?php espresso_get_template_part('content', 'espresso_venues-details'); ?> |
|
28 | + <?php espresso_get_template_part('content', 'espresso_venues-location'); ?> |
|
29 | 29 | <footer class="venue-meta"> |
30 | - <?php do_action( 'AHEE__content_espresso_venues_template__footer_top', $post ); ?> |
|
31 | - <?php do_action( 'AHEE__content_espresso_venues_template__footer_bottom', $post ); ?> |
|
30 | + <?php do_action('AHEE__content_espresso_venues_template__footer_top', $post); ?> |
|
31 | + <?php do_action('AHEE__content_espresso_venues_template__footer_bottom', $post); ?> |
|
32 | 32 | </footer> |
33 | 33 | </div> |
34 | 34 | |
35 | -<?php elseif ( is_archive() ) : ?> |
|
35 | +<?php elseif (is_archive()) : ?> |
|
36 | 36 | |
37 | - <div id="espresso-venue-header-dv-<?php echo $post->ID;?>" class="espresso-venue-header-dv"> |
|
38 | - <?php espresso_get_template_part( 'content', 'espresso_venues-thumbnail' ); ?> |
|
39 | - <?php espresso_get_template_part( 'content', 'espresso_venues-header' ); ?> |
|
37 | + <div id="espresso-venue-header-dv-<?php echo $post->ID; ?>" class="espresso-venue-header-dv"> |
|
38 | + <?php espresso_get_template_part('content', 'espresso_venues-thumbnail'); ?> |
|
39 | + <?php espresso_get_template_part('content', 'espresso_venues-header'); ?> |
|
40 | 40 | </div> |
41 | 41 | |
42 | 42 | <div class="espresso-venue-wrapper-dv"> |
43 | - <?php espresso_get_template_part( 'content', 'espresso_venues-details' ); ?> |
|
43 | + <?php espresso_get_template_part('content', 'espresso_venues-details'); ?> |
|
44 | 44 | </div> |
45 | 45 | |
46 | 46 | <?php endif; ?> |
47 | 47 | |
48 | 48 | </article> |
49 | 49 | <!-- #post --> |
50 | -<?php do_action( 'AHEE__content_espresso_venues_template__after_post', $post ); |
|
50 | +<?php do_action('AHEE__content_espresso_venues_template__after_post', $post); |
|
51 | 51 |