
<div class="job-loop mht">
<date><?php echo get_the_date('d.m.Y') ?></date>
<div class="inner">
    
 <div class="logo-img" data-mh="image">
	 <?php if(has_post_thumbnail())  { ?>
        
           <a href="<?php the_permalink(); ?>">         
           <img src="<?php the_post_thumbnail_url ('logo'); ?>" alt="<?php the_title() ?>" />
           </a>
                              
        <?php } ?>
          </div>     
	
    <div class="job-title" data-mh="title"><?php the_title() ?></div>
    <div class="emp" data-mh="emp"><?php the_field('employer') ?></div>
    <div class="for" data-mh="emp"><?php the_field('for') ?></div>
    <div class="entry"><?php theme_excerpt('30') ?></div>
    
    	
 
<?php if(get_field('file_attachment')) {
	$link = get_field ('file_attachment');
} elseif(get_field('external_link')) {	
	$link = get_field ('external_link');
} else {
	$link = get_the_permalink();
} ?>


<div class="readmore">
<?php if(get_field('external_link')) { ?>
<a href="<?php echo $link; ?>" target="_blank" class="read hvr-shrink"> <?php _e( 'Read More', 'themelang' )?></a>
<?php } else { ?>
<a href="<?php echo $link; ?>" class="read hvr-shrink"> <?php _e( 'Read More', 'themelang' )?></a>
<?php } ?>
</div>	

</div><!--inner-->

</div><!--job-loop-->