Current File : /home/kelaby89/teamhachem.com/wp-content/themes/artkombat/tmpl/post-formats/list.php
<?php
/**
 * The default template for displaying standard post format
 */

$post_class = '';
$featured = get_query_var( 'artkombat_featured_disabled' );
if ( function_exists( 'FW' ) AND empty ( $featured ) ) {

	$featured_post = fw_get_db_post_option(get_The_ID(), 'featured');
	if ( !empty($featured_post) ) {

		$post_class = 'ltx-featured-post';
	}
}

?>
<article id="post-<?php the_ID(); ?>" <?php post_class( esc_attr($post_class) ); ?>>
	<?php 
		if ( has_post_thumbnail() ) {

			$artkombat_photo_class = 'photo';
        	$artkombat_layout = get_query_var( 'artkombat_layout' );

			$artkombat_image_src = wp_get_attachment_image_src( get_post_thumbnail_id( get_The_ID()), 'full' );

			if ($artkombat_image_src[2] > $artkombat_image_src[1]) $artkombat_photo_class .= ' vertical';
			
		    echo '<a href="'.esc_url(get_the_permalink()).'" class="'.esc_attr($artkombat_photo_class).'">';

	    	if ( empty($artkombat_layout) OR $artkombat_layout == 'classic'  ) {

	    		the_post_thumbnail();
	    	}
	    		else
	    	if ( $artkombat_layout == 'two-cols'  ) {	    	

	    		the_post_thumbnail();
	    	}
	    		else {


				$sizes_hooks = array( 'artkombat-blog', 'artkombat-blog-full' );
				$sizes_media = array( '1199px' => 'artkombat-blog' );

				artkombat_the_img_srcset( get_post_thumbnail_id(), $sizes_hooks, $sizes_media );
    		}

		    echo '</a>';
		}
	?>
    <div class="description">
		<?php
			$headline = 'inline';
			artkombat_get_the_post_headline( $headline );
		?>    
        <a href="<?php esc_url( the_permalink() ); ?>" class="header"><h3><?php the_title(); ?></h3></a>
        <?php if ( !has_post_thumbnail() ): ?>
        <div class="text text-page">
			<?php
				add_filter( 'the_content', 'artkombat_excerpt' );
			    if( strpos( $post->post_content, '<!--more-->' ) ) {

			        the_content( esc_html__( 'Read more', 'artkombat' ) );
			    }
			    	else  {

			    	the_excerpt();
			    }	
			?>
        </div>            
    	<?php endif; ?>
	    <div class="clearfix"></div>
    </div>    
</article>
Page not found – Hello World !