File "content-portfolio.php"

Full Path: /home/flipjqml/onlinebetsolution.com/wp-content/themes/xion-progression/template-parts/elementor/content-portfolio.php
File size: 1.86 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-portfolio-index">
		
		<?php if(has_post_thumbnail()): ?>
			<div class="progression-studios-portfolio-feaured-image">
				<?php progression_studios_blog_link(); ?>
					<?php the_post_thumbnail('progression-studios-portfolio-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>
				<?php 
					$terms = get_the_terms( $post->ID , 'portfolio-category' ); 
					if ( !empty( $terms ) ) :
						echo '<ul class="portfolio-category-index">';
					foreach ( $terms as $term_single ) {
						$term_link = get_term_link( $term_single, 'portfolio-category' );
						if( is_wp_error( $term_link ) )
							continue;
						echo '<li><a href="' . $term_link . '">' . $term_single->name . '</a></li>';
					} 
					echo '</ul>';
				endif;
				?>
			</div><!-- close .progression-studios-portfolio-feaured-image -->
		<?php endif; ?><!-- close featured thumbnail -->

		<div class="progression-portfolio-content">

			
			
			<h2 class="progression-portfolio-title"><?php progression_studios_blog_title_link(); ?><?php the_title(); ?></a></h2>
			
			<?php if(has_excerpt() ): ?>	
				<div class="progression-studios-portfolio-excerpt"><?php the_excerpt(); ?></div>
			<?php endif; ?>
			
			<?php if(get_post_meta($post->ID, 'progression_studios_button_text', true)): ?>
				<?php progression_studios_portfolio_button_link(); ?><?php echo esc_html( get_post_meta($post->ID, 'progression_studios_button_text', true) );?></a>
			<?php endif; ?>
			
			
			
			<div class="clearfix-pro"></div>
		</div><!-- close .progression-portfolio-content -->
		
	</div><!-- close .progression-studios-default-portfolio-index -->
</div><!-- #post-## -->