Archived
21 lines
1.6 KiB
PHP
21 lines
1.6 KiB
PHP
<article id="post-<?php the_ID(); ?>" role="article">
|
|
<div class="row">
|
|
<div class="small-6 columns">
|
|
<a href="<?php the_permalink() ?>" class="colored" title="<?php the_title_attribute(); ?>"><?php the_post_thumbnail('four-columns'); ?></a>
|
|
</div>
|
|
<div class="small-6 columns">
|
|
<header class="article-header">
|
|
<h4 class="no-margin"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h4>
|
|
<p class="byline vcard"><time class="updated" datetime="<?php echo get_the_time('Y-m-j'); ?>" pubdate><?php echo get_the_time(get_option('date_format'));?></time> av <span class="author"><?php the_author(); ?></span></p>
|
|
</header> <!-- end article header -->
|
|
<section class="entry-content">
|
|
<?php the_excerpt(); ?>
|
|
</section> <!-- end article section -->
|
|
<footer class="article-footer">
|
|
<a target="_blank" onclick="return !window.open(this.href, 'Facebook', 'width=640,height=300')" href="http://www.facebook.com/sharer/sharer.php?u=<?php the_permalink() ?>" class="btn-tiny primary"><i class="icon-facebook"></i></a>
|
|
<a target="_blank" onclick="return !window.open(this.href, 'Twitter', 'width=640,height=300')" href="https://twitter.com/share?url=<?php the_permalink() ?>&text=<?php the_title(); ?>" class="btn-tiny secondary"><i class="icon-twitter"></i></a>
|
|
</footer> <!-- end article footer -->
|
|
</div>
|
|
</div>
|
|
</article> <!-- end article -->
|