HEX
Server: Apache/2.2.22
System: Linux server1.blueharbor.com 3.10.0-1160.90.1.vz7.200.7 #1 SMP Wed Jul 12 12:00:44 MSK 2023 x86_64
User: locglobe (1004)
PHP: 5.6.37
Disabled: NONE
Upload Files
File: /home/locglobe/public_html/wp-content/themes/writers-child/template-parts/content-excerpt.php
<?php
/**
 * Template part for displaying posts.
 *
 * Please browse readme.txt for credits and forking information
 * @package writers
 */

?>
<article id="post-<?php the_ID(); ?>"  <?php post_class('post-content'); ?>>

	<div class="row row-eq-height post-feed-wrapper">
		<div class="col-md-12">
		<!-- Display fallback img-->
		<?php if ( get_theme_mod( 'toggle_fallback_img' ) == '' ) : ?>
				<div class="row">
					<div class="col-md-12 col-xs-12 post-thumbnail-wrap">
						<?php
						if ( is_sticky() && is_home() && ! is_paged() ) {
							printf( '<span class="sticky-post">%s</span>', __( 'Featured', 'writers' ) );
						} ?>
						<?php if ( has_post_thumbnail() ) : ?>
							<?php $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' );?>
							<a href="<?php the_permalink(); ?>" rel="bookmark">
								<div class="post-thumbnail" style="background-image: url('<?php echo $thumb['0'];?>')"></div>
							</a>
						<?php else : ?>
							<a href="<?php the_permalink(); ?>" rel="bookmark">
								<div class="post-thumbnail post-thumbnail-missing" style="background-image: url('<?php echo get_template_directory_uri(); ?>/images/quotation-marks.png')"></div>
							</a>
						<?php endif; ?>
					</div>
				</div>
		<?php else : ?>
		<?php endif; ?>
		<!-- Display fallback img end -->
		<?php if ( get_theme_mod( 'toggle_fallback_img' ) == '' ) : ?>
			<!-- <div class="col-md-7 col-xs-12"> -->
				<div class="row">
					<div class="col-md-12 col-xs-12">
					<?php else : ?>
						<div class="col-md-12 col-xs-12">
						<?php endif; ?>

						<div class="blog-feed-contant">
							<header class="entry-header">	
								<span class="screen-reader-text"><?php the_title();?></span>

								<?php if ( is_single() ) : ?>
									<h1 class="entry-title"><?php the_title(); ?></h1>
								<?php else : ?>
									<h2 class="entry-title">
										<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
									</h2>
								<?php endif; // is_single() ?>

								<?php if ( 'post' == get_post_type() ) : ?>
									<div class="entry-meta">
										<h5 class="entry-date"><?php writers_posted_on(); ?>
											<?php if ( get_theme_mod( 'toggle_fallback_img' ) == '' ) : ?>
											<?php else : ?>
												<?php
												if ( is_sticky() && is_home() && ! is_paged() ) {
													printf( '%s', __( '| Featured', 'writers' ) );
												} ?>
											<?php endif; ?>

										</h5>
									</div><!-- .entry-meta -->
								<?php endif; ?>
							</header><!-- .entry-header -->

							<div class="entry-summary">

								<?php the_excerpt(); ?>
							</div><!-- .entry-summary -->		   	
						</div>
					</div>
				</div>
		</div>	
	</div>


	</article><!-- #post-## -->