%PDF- %PDF-
Direktori : /var/www/html/higroup/wp-content/themes/evenex/template-parts/blog/contents/ |
Current File : /var/www/html/higroup/wp-content/themes/evenex/template-parts/blog/contents/content-style2.php |
<div class="col-lg-4 col-md-6"> <article <?php post_class('post-style2'); ?>> <div class="post-media post-image"> <?php if(has_post_thumbnail()): ?> <a href="<?php echo esc_url(get_the_permalink()); ?>"> <img class="img-fluid" src="<?php echo esc_url(get_the_post_thumbnail_url()); ?>" alt=" <?php esc_attr(the_title_attribute()); ?>"> </a> <?php if ( is_sticky() ) { echo '<sup class="meta-featured-post"> <i class="fas fa-thumbtack"></i> ' . esc_html__( 'Sticky', 'evenex' ) . ' </sup>'; } ?> </div> <?php endif; ?> <div class="post-body clearfix"> <div class="entry-header"> <?php evenex_post_meta_style_2(); ?> <h2 class="entry-title"> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> </h2> </div> <?php if ( is_sticky() && !has_post_thumbnail() ) { echo '<sup class="meta-featured-post"> <i class="fas fa-thumbtack"></i> ' . esc_html__( 'Sticky', 'evenex' ) . ' </sup>'; } ?> <div class="post-content"> <div class="entry-content"> <p> <?php evenex_excerpt( 30, null ); ?> </p> </div> <?php if(!is_single()): printf('<div class="post-footer readmore-btn-area"><a class="btn-readmore" href="%1$s"><i class="fas fa-arrow-right"></i> Read More </a></div>', get_the_permalink() ); endif; ?> </div> </div> <!-- post-body end--> </article> </div>