mirror of
https://git.sindominio.net/estibadores/wordpress.git
synced 2024-11-22 18:41:07 +01:00
31 lines
978 B
PHP
31 lines
978 B
PHP
<?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-## -->
|