single_location_format.php
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<section class="em-item-header">
{has_loc_image}
<div class="em-item-image">
#_LOCATIONIMAGE{medium}
</div>
{/has_loc_image}
<div class="em-item-meta">
<section class="em-item-meta-column">
<section class="em-location-where">
<h3><?php esc_html_e('Location', 'events-manager'); ?></h3>
<div class="em-item-meta-line em-location-address">
<span class="em-icon-location em-icon"></span>
#_LOCATIONFULLBR
</div>
</section>
{no_loc_image}
</section>
<section class="em-item-meta-column">
{/no_loc_image}
<section class="em-location-next-event">
<h3><?php esc_html_e('Next Event', 'events-manager'); ?></h3>
{has_events}
<div class="em-item-meta-line em-location-events">
<span class="em-icon-calendar em-icon"></span>
<div>#_LOCATIONNEXTEVENT</div>
</div>
{/has_events}
{no_events}
<div class="em-item-meta-line em-location-no-events">
<span class="em-icon-calendar em-icon"></span>
<div><?php esc_html_e('No upcoming events', 'events-manager'); ?></div>
</div>
{/no_events}
</section>
</section>
</div>
</section>
<section class="em-location-section-map">
#_LOCATIONMAP{100%,0}
</section>
<section class="em-location-content">
#_LOCATIONNOTES
</section>
<section class="em-location-events">
<a name="upcoming-events"></a>
<h3><?php esc_html_e('Upcoming Events', 'events-manager'); ?></h3>
#_LOCATIONNEXTEVENTS
</section>