File: /home/ricpug/tecnomarketconsult.co_202106190822/wp-content/themes/ananke/content-gallery.php
<?php
global $theme_option;
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="blog-post" data-scroll-reveal="enter bottom move 100px over 0.5s after 0.1s">
<?php
$gallery = get_post_gallery( get_the_ID(), false );
if(isset($gallery['ids'])){ ?>
<!-- Gallery -->
<div class="flexslider">
<ul class="slides">
<?php
$gallery_ids = $gallery['ids'];
$img_ids = explode(",",$gallery_ids);
foreach( $img_ids AS $img_id ){
$image_src = wp_get_attachment_image_src($img_id,'');
?>
<li><img src="<?php echo esc_url($image_src[0]); ?>" alt=""></li>
<?php } ?>
</ul>
</div>
<?php } ?>
<div class="blog-text-wrap">
<?php echo get_avatar( get_the_author_id(), '70' ); ?>
<div class="blog-text-name"><?php the_author_posts_link(); ?></div>
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<div class="blog-text-date"><?php the_time('d.m.Y.'); ?></div>
<p><?php echo ananke_excerpt(); ?>
<a href="<?php the_permalink(); ?>">
<span>
<?php if($theme_option['read_more']) { echo esc_attr($theme_option['read_more']); }else{ echo '<i class="fa fa-long-arrow-right"></i>'; }?>
</span>
</a>
</p>
</div>
</div>
</article>