- This topic has 1 reply, 2 voices, and was last updated 10 years, 2 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › WP photo seller – photo details page in new browser tab
Can I possibly have some code to modify “Gallery Template 7” so that when a customer clicks on the album thumbnail, it opens the photo purchasing details page in a new browser tab?
Here is the code tweak that will open the details page in a new tab:
1) Open the following file for editing:
wp-photo-seller/views/photo/template/template-7/gallery-template-7.php
2) Search for the following line of code in this file:
echo '<a class="wpps_popup" title="'.htmlentities($wpsPhotoObj->name, ENT_QUOTES).'" href="'.$preview_url.'">';
Once you find it, replace it with the following:
echo '<a class="wpps_popup" title="'.htmlentities($wpsPhotoObj->name, ENT_QUOTES).'" href="'.$preview_url.'" target="_blank">';