How to remove featured image from Portfolio pop-up in RokoPhoto
Buy default RokoPhoto's portfolio pop-up box shows the featured image, but it can be removed by following this tutorial. First of all, make sure that you're using a child theme to do that.
Copy /sections/portfolio.php file to your child theme and remove the following code from it:
<?php $image_id = get_post_thumbnail_id(); $modal_mobile = wp_get_attachment_image_src($image_id,'thumbnail_portfolio_mobile', true); ?> <picture> <source srcset="<?php echo $modal_mobile; ?>" media="(max-width: 460px)"> <?php the_post_thumbnail( 'thumbnail_portfolio_modal', array( 'class' => "img-responsive")); ?> </picture>
And save your changes, and that will do.