- This topic has 4 replies, 2 voices, and was last updated 11 years, 5 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 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 eStore Forum › WP eStore Tweaks › estore link additional images in fancy 10 display
I would like the additional images in fancy display 10 to link to the same page as the main image
[http://thepetwash.com/usa-jerky-treats]
By default those images show up in lightbox. You don’t seem to be using the lightbox effect.
Apply the following tweak to link the additional images to the product page:
Open the “shortcode_include.php” file in the extra shortcodes addon plugin and search for the following line of code:
$output .= '<a href="'.trim($image).'" rel="lightbox['.$ret_product->name.']" title="'.$ret_product->name.'">'.$thumb_code.'</a>';
Once you find it change it to the following:
$output .= '<a href="'.trim($ret_product->product_url).'" rel="lightbox['.$ret_product->name.']" title="'.$ret_product->name.'">'.$thumb_code.'</a>';
There will be multiple occurrences of that so change it everywhere.
Hi, I replaced the 2 instances of the code you told me to find with the new code you gave me. The additional images were no longer thers and this was what was there instead:
[http://thepetwash.com/jerky-treats-info/]
There was a little mistake in the code that I gave you in the above post. I have now corrected the code in the above post. Please download a fresh new copy of the extra shortcodes addon then apply the tweak again.
Thank you. It works just the way I wanted it to!!!