i want to display my portfolio contents in fancybox. I could display the featured image but couldn't display text content. My codes which i used:
<div class="port-img fancybox" rel="gallery">
<img src="<?php echo esc_url( $featured_img ); ?>" alt="Work"/><br/>
<?php $postQuery->printText('general description-small'); ?>
</div>
And my full document is here.