Add classes to event venue rows
This commit is contained in:
@@ -43,11 +43,11 @@ foreach( $venues as $venue ):
|
|||||||
</thead>
|
</thead>
|
||||||
<?php if ( $address != null || ( $show_maps && $latitude != null && $longitude != null ) ): ?>
|
<?php if ( $address != null || ( $show_maps && $latitude != null && $longitude != null ) ): ?>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr class="sp-event-venue-address-row">
|
||||||
<td><?php echo $address; ?></td>
|
<td><?php echo $address; ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php if ( $show_maps && $latitude != null && $longitude != null ): ?>
|
<?php if ( $show_maps && $latitude != null && $longitude != null ): ?>
|
||||||
<tr>
|
<tr class="sp-event-venue-map-row">
|
||||||
<td><?php sp_get_template( 'venue-map.php', array( 'meta' => $meta ) ); ?></td>
|
<td><?php sp_get_template( 'venue-map.php', array( 'meta' => $meta ) ); ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user