balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

blog-standard-content.php (1168B)


      1 <div class="news-block-three">
      2 	<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
      3 		<div class="inner-box">
      4 			<?php if ( has_post_thumbnail() ) : ?>
      5 				<div class="image">
      6 					<a href="<?php echo esc_url( get_permalink() ); ?>"><?php the_post_thumbnail( 'welbim-post-size' ); ?></a>
      7 					<div class="date"><?php echo welbim_posted_on(); ?></div>
      8 				</div>
      9 			<?php endif; ?>
     10 			<div class="content">
     11 				<?php
     12 				if ( is_sticky() ) {
     13 					echo '<div class="sticky_post_icon " title="' . esc_attr__( 'Sticky Post', 'welbim' ) . '"><i class="fas fa-map-pin"></i></div>';
     14 				}
     15 				?>
     16 				<div class="post-meta">
     17 					<?php
     18 					welbim_posted_by();
     19 					welbim_comments_count();
     20 					?>
     21 				</div>
     22 				<h4><a href="<?php echo esc_url( get_permalink() ); ?>"><?php the_title(); ?></a></h4>
     23 				<?php if ( ! empty( get_the_excerpt() ) ) : ?>
     24 					<?php
     25 					if ( get_option( 'rss_use_excerpt' ) ) {
     26 						the_excerpt();
     27 					} else {
     28 						the_excerpt();
     29 					}
     30 					?>
     31 				<?php endif; ?>
     32 				<?php
     33 				wp_link_pages(
     34 					array(
     35 						'before' => '<div class="page-links">',
     36 						'after'  => '</div>',
     37 					)
     38 				);
     39 				?>
     40 			</div>
     41 		</div>
     42 	</div>
     43 </div>