<?php $lastposts = get_posts( $args );
$count = 0; ?>
<?php foreach($lastposts as $post) : setup_postdata($post); ?>
- <a class="post-inner-wrap">
+ <a class="post-inner-wrap" href="<?php echo the_permalink(); ?>">
<div class="row">
<?php if (has_post_thumbnail( $post->ID )) { ?>
<?php $blog_image_url = get_the_post_thumbnail_url($post->ID, 'glm-blog-feed-image'); ?>
<div class="post-excerpt excerpt<?php echo $count ?>"><?php echo the_advanced_excerpt('length=400&length_type=characters&no_custom=1&ellipsis=%26hellip;&exclude_tags=a,img,p,strong,h1,h2,h3,hr,div'); ?>
</div>
<div class="read-more">
- <span href="<?php echo the_permalink(); ?>" class="post-link">Read More</span>
+ <span class="post-link">Read More</span>
</div>
</div>
</div>