Show location independent of post category

This commit is contained in:
Markus Ankenbrand 2016-09-12 22:20:14 +02:00
parent 6a9187e619
commit a5b9b4d301

View file

@ -69,9 +69,10 @@
</tr>
</table>
</div>
<?php endif; ?>
<?php $location = get_field( 'ort' ); ?>
<?php if ( $location ) : ?>
<div class="post-meta">
<?php $location = get_field( 'ort' ); ?>
<div class='map' style='height:300px; margin-bottom: 1.6842em' id='map-<?php echo $id ?>'></div>
<script type='text/javascript'>
var map;