2017-04-01 17:36:21 +02:00
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
2017-04-04 10:33:49 +02:00
|
|
|
<header>
|
|
|
|
<?php if ( has_post_thumbnail() ) { ?>
|
|
|
|
<span class="image right"><?php the_post_thumbnail('thumbnail'); ?></span>
|
|
|
|
<?php } ?>
|
|
|
|
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark"><?php the_title(); ?></a></h2> <?php edit_post_link(); ?>
|
|
|
|
<?php if ( !is_search() ) get_template_part( 'entry', 'meta' ); ?>
|
|
|
|
</header>
|
2018-02-19 15:42:23 +01:00
|
|
|
<?php
|
|
|
|
if (is_home() && is_sticky() ) {
|
|
|
|
// only title for sticky in blog home
|
|
|
|
} else {
|
|
|
|
get_template_part( 'entry', ( is_archive() || is_search() ? 'summary' : 'content' ) );
|
|
|
|
if ( !is_search() ) get_template_part( 'entry-footer' );
|
|
|
|
}
|
|
|
|
?>
|
2017-04-01 17:36:21 +02:00
|
|
|
</article>
|
2017-04-04 10:33:49 +02:00
|
|
|
<hr style="clear:both;">
|