Example #1
0
if ($location_address) {
    ?>
<div id='evo_locationcard_gmap' class="evo_location_map" data-address='<?php 
    echo $location_address;
    ?>
' data-latlng='<?php 
    echo $location_latlan;
    ?>
' data-location_type='<?php 
    echo $location_type;
    ?>
'data-zoom='16'></div><?php 
}
?>
			<h3 class="location_subtitle"><?php 
evo_lang_e('Events at this location');
?>
</h3>
		
		<?php 
echo do_shortcode('[add_eventon_list number_of_months="5" ' . $tax . '=' . $term->term_id . ' hide_mult_occur="no" hide_empty_months="yes"]');
?>
		</div>
	</div>
</div>

<?php 
do_action('eventon_after_main_content');
?>

<?php 
Example #2
0
echo !empty($term_meta['evcal_org_address']) ? '<p>' . $term_meta['evcal_org_address'] . '</p>' : null;
?>
				</div>				
			</div>	
			<?php 
if (!empty($term_meta['evcal_org_address'])) {
    ?>
<div id='evo_locationcard_gmap' class="evo_location_map" data-address='<?php 
    echo stripslashes($term_meta['evcal_org_address']);
    ?>
' data-latlng='' data-location_type='add'data-zoom='16'></div><?php 
}
?>
		
			<h3 class="location_subtitle"><?php 
evo_lang_e('Events by this organizer');
?>
</h3>
		
		<?php 
echo do_shortcode('[add_eventon_list number_of_months="5" ' . $tax . '=' . $term->term_id . ' hide_mult_occur="no" hide_empty_months="yes"]');
?>
		</div>
	</div>
</div>

<?php 
do_action('eventon_after_main_content');
?>

<?php