wordpress/php-fpm/wordpress_files/themes/sd-bushwick/content-preview.php

24 lines
735 B
PHP
Raw Normal View History

2020-05-22 03:40:23 +02:00
<?php
/**
* @package Bushwick
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'entry-preview' ); ?>>
<div class="post-aggredated-img">
<?php echo get_first_img_or_any(); ?>
</div>
<div class="entry-title-wrapper"><?php the_title( '<div class="entry-header"><h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1></div><!-- .entry-header -->' ); ?></div>
<div class="entry-meta">
<?php
bushwick_posted_on();
the_tags('',',','');
edit_post_link( __( 'Edit', 'bushwick' ), ' <span class="edit-link">', '</span>' );
?>
</div><!-- .entry-meta -->
<div class="my-excerpt">
<?php echo my_the_excerpt(); ?>
</div>
</article><!-- #post-## -->