Private: Home › Forums › WordPress Themes › Elvyre – Retina Ready WordPress Theme › Portfolio Lightbox › Reply To: Portfolio Lightbox
December 3, 2014 at 10:28 am
#1198
Keymaster
Script for PrettyPhoto lightbox is already loaded so you don’t need to load other lightbox scripts.
I changed line 102 in “single-pi_portfolio.php” file and lightbox is working fine.
Here is how code should look like:
echo "<a href='{$image_url}' data-gal='prettyPhoto[pp_gallery_slider]'><img src='{$featured_image}' alt='{$image['title']}'/></a>";