File "content.php"

Full Path: /home/flipjqml/onlinebetsolution.com/wp-content/themes/xion-progression/template-parts/content.php
File size: 4.14 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * @package pro
 */
?>

<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>	
	<div class="progression-studios-default-blog-index">
		
		
		
		<?php if( get_post_meta($post->ID, 'progression_studios_video_post', true)  ): ?>
			<div class="progression-studios-feaured-image video-progression-studios-format">
				<?php echo apply_filters('progression_studios_video_content_filter', get_post_meta($post->ID, 'progression_studios_video_post', true)); ?>
			</div>
		<?php else: ?>
	
			<?php if(has_post_thumbnail()): ?>
				<div class="progression-studios-feaured-image">
					<?php progression_studios_blog_link(); ?>
						<?php the_post_thumbnail('progression-studios-blog-index'); ?>
						<?php if (get_theme_mod( 'progression_studios_blog_meta_author_display', 'true') == 'true') : ?><div class="progression-studios-image-overlay-gradient"></div><?php endif; ?>
					</a>	
				</div><!-- close .progression-studios-feaured-image -->
			<?php endif; ?><!-- close featured thumbnail -->
				
			
		<?php endif; ?><!-- close video -->


		<div class="progression-blog-content">
			
			
			
			<?php if (get_theme_mod( 'progression_studios_blog_index_meta_category_display', 'true') == 'true') : ?>
				<div class="blog-meta-category-list"><?php the_category(' '); ?></div>
			<?php endif; ?>
			

			<h2 class="progression-blog-title"><?php progression_studios_blog_title_link(); ?><?php the_title(); ?></a></h2>

			
			<?php if (get_theme_mod( 'progression_studios_blog_excerpt_display', 'true') == 'true') : ?>
			<div class="progression-studios-blog-excerpt">
				<?php if(has_excerpt() ): ?>	
					<?php the_excerpt(); ?>
				<?php else: ?>
					<?php if ( 'post' == get_post_type() ) : ?>
				<?php the_content( sprintf( wp_kses( __( 'Continue Reading <i class="fas fa-angle-right"></i>', 'xion-progression' ), array(  'i' => array( 'id' => array(),  'class' => array(),  'style' => array(),  ), 'span' => array( 'class' => array() ) ) ), the_title( '<span class="screen-reader-text">"', '"</span>', false ) ) ); ?>
				<?php endif; ?>
				<?php endif; ?>
			</div><!-- close .progression-studios-blog-excerpt -->
			<?php endif; ?>
			
			
			
			<?php if ( 'post' == get_post_type() &&  get_theme_mod( 'progression_studios_blog_meta_hide', 'true') == 'true') : ?>
				<ul class="progression-post-meta">
					
					<?php if (get_theme_mod( 'progression_studios_blog_meta_author_display', 'true') == 'true') : ?><li class="blog-meta-author-display"><a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ), get_the_author_meta( 'user_nicename' ) ); ?>"><?php echo get_avatar( get_the_author_meta('user_email'), $size = '150'); ?><?php echo esc_html__( 'By', 'xion-progression' ); ?> <?php the_author(); ?></a></li><?php endif; ?>
				
					<?php if ( get_theme_mod( 'progression_studios_blog_meta_date_display', 'true') == 'true' && 'post' == get_post_type() ) : ?>	
						<li class="blog-meta-date-list"><a href="<?php the_permalink(); ?>"><?php the_time(get_option('date_format')); ?></a></li>
					<?php endif; ?>

					
					
					<?php if (get_theme_mod( 'progression_studios_blog_meta_comment_display', 'true') == 'true') : ?><?php if ( comments_open() ) : ?><li class="blog-meta-comments"><?php comments_popup_link( '' . wp_kses( __( '0 Comments', 'xion-progression' ), true ) . '', wp_kses( __( '1 Comment', 'xion-progression' ), true), wp_kses( __( '% Comments', 'xion-progression' ), true ) ); ?></li><?php endif; ?><?php endif; ?>
						
				</ul>
				<div class="clearfix-pro"></div>
			<?php endif; ?>
			
			
			<div class="clearfix-pro"></div>
			
			
			<?php wp_link_pages( array(
				'before' => '<div class="progression-page-nav">' . esc_html__( 'Pages:', 'xion-progression' ),
				'after'  => '</div>',
				'link_before' => '<span>',
				'link_after'  => '</span>',
				) );
			?>
			
			<div class="clearfix-pro"></div>
			
			<?php if ( is_sticky() && is_home() && ! is_paged() ) { printf( '<div class="progression-studios-sticky-post">%s</div>', esc_html__( 'FEATURED', 'xion-progression' ) ); } ?>
			
			
		</div><!-- close .progression-blog-content -->
	
	
	<div class="clearfix-pro"></div>
	</div><!-- close .progression-studios-default-blog-index -->
</div><!-- #post-## -->