Skip to content

Commit

Permalink
Check-in: Use h-entry and h-geo
Browse files Browse the repository at this point in the history
Bug: #36
  • Loading branch information
prtksxna committed Jan 7, 2015
1 parent dd2a902 commit 187b953
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions content-checkin.php
@@ -1,11 +1,28 @@
<?php $location = get_field('location'); ?>
<div class="checkin" data-lat="<?php echo $location['lat']; ?>" data-lon="<?php echo $location['lng']; ?>">
<div class="map" id="map"></div>
<h1><a href="<?php echo the_permalink() ?>"><?php echo the_title() ?></a></h1>
<h1>
<a href="<?php echo the_permalink() ?>" class="p-name u-url"><?php echo the_title() ?></a>
at
<span class="p-location">
<span class="h-card">
<span class="p-name p-locality">
<?php echo $location['address']; ?>
</span>
<span class="h-geo">
<data class="p-latitude" value="<?php echo $location['lat']; ?>"></data>
<data class="p-longitude" value="<?php echo $location['lng']; ?>"></data>
</span>
</span>
</span>
</h1>
<br>
<footer>
<a href="<?php echo the_permalink() ?>">
<?php echo the_date() ?> at
<?php echo the_time() ?>
<time datetime="<?php the_time( 'Y-m-d H:i' ) ?>" class="dt-published">
<?php echo the_date() ?> at
<?php echo the_time() ?>
</time>
</a>
</footer>
</div>

0 comments on commit 187b953

Please sign in to comment.