I figured it out:
Gallery -> Other Options -> Lightbox Effects -> Show Advanced Settings:
Delete any entry in “Javascript URL”
works!
bozzo12: I tried this and not only did it not work but also my lightbox no longer works.
I’ve been having the same issues as vote btw.
Any chance anyone has any suggestions? I either have to delete this plugin altogether or fix it within the week.
Thread Starter
votw
(@votw)
Devin,
I had Nextgen & Nextgen Pro and have had nothing but issues with it. they did an upgrade recently and it crashed all the pics on my site. Their answer was to stop using any WordPress media and only use Nextgen media. In my mind this shouldn’t conflict as it didn’t until the upgrade- I have been left with no choice but to delete the Pro plugin and cancel my membership. As I mentioned I often had problems and their support was less than helpful.
Good luck
Thanks Votw.
I had heard this plug-in had great support, any help from the author would be greatly appreciated. The client’s site I’m working on has a giant Pinterest following and it would be a shame to not be able to use this feature anymore.
Anyone out there that could help me with this?
Devin,
Sorry I did not see this thread sooner. What is the URL of your site so I can check it out? I will try to diagnose what is going on and possibly release an update if necessary.
Hi Travis,
The site is http://morebeautifulhome.com
It stopped working when I transferred the website over to it’s current domain. The PinIt button disappeared, then when I tried following “bozzo12” ‘s suggestion above the lightbox stopped working altogether.
Thanks!
Hi Travis, any chances of getting a diagnosis here?
Devin,
Pinterest Lightbox is setup to work with NextGen Gallery. It does not necessary work with other lightbox programs out of the box. Can you confirm that the images that are on the homepage are not NextGen related? If this is the case, I know of a quick fix with a few hooks.
Thanks,
Travis
The images on the home page are not NextGen related. The only place I used the NexGen gallery function is on the “Our Team” page.
Devon,
Pinterest Lightbox is designed to be used with galleries, but you are using a different lightbox on the homepage. This causes a little bit of complications because Pinterest Lightbox will only play nice with one of them. If it was my site, I would change the lightbox effect to whatever you would like, which will apply it to the team page only (the pin it button will not appear). Then, by applying the code below the pinterest button should appear for you with your custom implementation.
If this is what you are attempting to do, I would recommend adding this code to your functions.php file in your WordPress theme:
add_action(‘th_pl_lightbox_thumbnail_selector’, function(){
return “.gallery-fancybox”;
});
add_action(‘th_pl_lightbox_image_selector’, function(){
return “.fancybox-image”;
});
add_action(‘th_pl_lightbox_pin_selector’, function(){
return “.fancybox-outer”;
});
add_action(‘th_pl_lightbox_prepend_or_append’, function(){
return “append”;
});
This should work, but you will notice that the PinIt button slightly goes outside of the Lightbox. This is because the particular lightbox you are using automatically adds a width/height to the lightbox which leaves no room for the pin-it button.
Due to the high interest in this plugin, I think I am going to make some updates in the future for it to work more effectively with other lightboxes, but the original vision was for it to only work with NextGen galleries.
Please let me know if this works for you.
Thanks,
Travis
Hi Travis,
Thanks for the reply.
I think the theme I’m using came with a default lightbox which must be the issue as there is nowhere to turn it on or off. I’m not exactly a wiz with coding, I take it I would open this in the editor and pop the code in there. Where exactly would I put it?
Also, as you can see in the thread above^ I took bozzo12’s advice as I was looking for a quick fix but it made the lightbox no longer work whatsoever. Just thought I should note that.