Display event venue address below map
This commit is contained in:
@@ -39,9 +39,6 @@ foreach( $venues as $venue ):
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><?php echo $name; ?></th>
|
<th><?php echo $name; ?></th>
|
||||||
<?php if ( $address != null ) { ?>
|
|
||||||
<th class="sp-event-venue-address-row"><?php echo $address; ?></th>
|
|
||||||
<?php } ?>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<?php if ( $show_maps && $latitude != null && $longitude != null ): ?>
|
<?php if ( $show_maps && $latitude != null && $longitude != null ): ?>
|
||||||
@@ -49,6 +46,11 @@ foreach( $venues as $venue ):
|
|||||||
<tr class="sp-event-venue-map-row">
|
<tr class="sp-event-venue-map-row">
|
||||||
<td<?php if ( $address != null ) { ?> colspan="2"<?php } ?>><?php sp_get_template( 'venue-map.php', array( 'meta' => $meta ) ); ?></td>
|
<td<?php if ( $address != null ) { ?> colspan="2"<?php } ?>><?php sp_get_template( 'venue-map.php', array( 'meta' => $meta ) ); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<?php if ( $address != null ) { ?>
|
||||||
|
<tr>
|
||||||
|
<td class="sp-event-venue-address-row"><?php echo $address; ?></td>
|
||||||
|
</tr>
|
||||||
|
<?php } ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user