?>

<article id="post-<?php 
the_ID();
?>
" <?php 
post_class();
?>
>
	<header class="entry-header">
		<?php 
the_title('<h1 class="entry-title">', '</h1>');
?>

		<?php 
if ('post' === get_post_type() && ($meta = screenr_posted_on(false))) {
    ?>
		<div class="entry-meta">
			<?php 
    echo $meta;
    ?>
		</div><!-- .entry-meta -->
		<?php 
}
?>

		<?php 
if (!get_theme_mod('disable_featured_image', 0)) {
    if (has_post_thumbnail()) {
        echo '<div class="entry-thumb">';
        the_post_thumbnail('screenr-blog-list');
Beispiel #2
0
?>
" <?php 
post_class();
?>
>
	<header class="entry-header">
		<?php 
the_title('<h2 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h2>');
?>

		<?php 
if ('post' === get_post_type()) {
    ?>
			<div class="entry-meta">
				<?php 
    screenr_posted_on();
    ?>
			</div><!-- .entry-meta -->
		<?php 
}
?>

		<?php 
if (has_post_thumbnail()) {
    echo '<div class="entry-thumb">';
    the_post_thumbnail('screenr-blog-list');
    echo '</div>';
}
?>
	</header><!-- .entry-header -->
	<div class="entry-content">