<div class="ap-inner">
<div class="article-image">
    <?php the_post_thumbnail('full'); ?>
</div>

<div class="article-caption">

    <div class="inner-overlay">
        <div class="portfolio-icons">
           <div class="socialFooter">
                <div class="portfolioSocial">
                	<?php if(isset($lightbox['enable']) && $lightbox['enable']=='yes'): ?>
                    <a title="<?php the_title(); ?>" class="html5lightbox" data-group='gallery' rel="<?php echo strtolower($tax); ?>" href="<?php echo $url;  ?>">
                    	<span class="portfolio-search fa fa-search"></span>
                    </a>
                    <?php endif; ?>
                   <a href="<?php echo (isset($meta['linkurl']) && !empty($meta['linkurl'])) ? $meta['linkurl'] : get_the_permalink(); ?>" class="linkIcon">
                       <span class="portfolio-link fa fa-link"></span>
                   </a>
                </div>
            </div>
        </div>
    <div class="title">
    	<?php the_title(); ?>
    </div>
    </div>
</div>

</div>