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

31 lines
978 B
PHP
Raw Permalink 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();
if (is_array(get_the_tags())) {
$tags = get_the_tags();
echo '<span class="aggregated-orig">';
foreach($tags as $tag) {
echo "$tag->name";
}
echo "</span>";
}
/* 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-## -->