Hello,
Excellent Theme!
How can I set up external link in Ajax preview portfolio item?
The link should be linked to other page of the site and now it open the portfolio item in Ajax.
See the link “For reservation” in the yellow strips.
Thank you.
Hey!
When editing the Portfolio item, scroll down to Advanced Portfolio Settings and set it like this – http://screencast.com/t/XMt87uoJDsk
Regards,
Josue
Hello!
You didn’t understand the issue. I mean the links in the yellow strip that I added to portfolio items:
http://screencast.com/t/OEhGroCPNLv
Hi!
Try the following, open js/shortcodes.js and change this line:
container.on("click", "a", methods.load_item);
To:
container.on("click", ".avia-button a", methods.load_item);
That way, the Ajax load will only occur when the button at the bottom is clicked.
Regards,
Josue
Thank you so much!
But the right code is:
container.on(“click”, “a.avia-button”, methods.load_item);
container.on(“click”, “a.grid-image”, methods.load_item);
Glad to hear that, you are welcome :)
Regards,
Josue
Ok, if i do this, all images are dissapearing from the portfolio grid page.
I have Enfold 4.0.5 and working with a child theme.
Can you help me?
For me only added:
container.on(“click”, “a.grid-image”, methods.load_item);
And now it works:)
Hi mjpschouten,
Glad you got it working for you! And thank you for sharing! :)
If you need further assistance please let us know.
Best regards,
Victoria