Wrap elements into div
This commit is contained in:
parent
fa79a446c8
commit
ccf68425ba
1 changed files with 38 additions and 37 deletions
|
|
@ -49,6 +49,7 @@
|
|||
<div class="clear"></div>
|
||||
|
||||
<?php if ( get_the_category()[0]->name == 'Urlaub' ) : ?>
|
||||
<div>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Land</th>
|
||||
|
|
@ -67,12 +68,11 @@
|
|||
<td><?php $ab = get_field( 'abreise' ); echo(substr($ab,6,2).'.'.substr($ab,4,2).'.'.substr($ab,0,4)) ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<?php $location = get_field( 'ort' ); ?>
|
||||
|
||||
<h6>Location: <small><?php echo round( $location['lat'], 4 ) ?>, <?php echo round( $location['lng'], 4 ) ?></small></h6>
|
||||
|
||||
<div class='map' style='height:300px; margin-bottom: 1.6842em' id='map-<?php echo $id ?>'></div>
|
||||
|
||||
<script type='text/javascript'>
|
||||
var map;
|
||||
var map_center = {lat: <?php echo $location['lat'] ?>, lng: <?php echo $location['lng'] ?> };
|
||||
|
|
@ -87,6 +87,7 @@
|
|||
});
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue