Pinterest buttom doesn't appear
-
Hello Travis,
I’ve tried your plug ing Pinterest Lightbox on WordPress 3.9.2
Installed the pluging via wordpress and activated it
I use NextGEN Gallery Version 2.0.66.27
Lightbox Gallery Manager Version 1.1.0
Could you help me please ?Thank you
-
Laeti,
I will need some more information from you. What is the URL of your site? It looks like you are using more than one lightbox manager (NextGen and Lightbox Gallery Manager), it could be a conflict between those two plugins, but I cannot know for sure until I can look at your site.
Thanks,
TravisTravis,
Thank you for your reply
This is my URL stite : http://laetitiabotrel.com/
I am not an expect on but I built myself the site 😉
I use
NextGEN Gallery Version 2.0.66.27
Lightbox Gallery Manager Version 1.1.0
In my page Home page : portfolio slideshow
In my page About I don’t know, I think NextGen
In my page Gallery it is NextGenActually the lightbox Gallery Manager … I am not sure I use it ???
Thank you Travis
Laeti,
I am looking deeper into the issue now. Initially, it looks like this issue is caused because of the Lightbox Gallery Manager possibly overriding the default NextGen functionality, but I will still try to find a workaround so you do not have to change your current plugin configuration. As soon as I know more, I will update this thread.
Thanks,
TravisTravis,
Thank you very much for your quick reply
I won’t change anything until you let’s me know
Have a nice day
From Thailand 🙂Laeti,
I updated my plugin to now include some hooks for advanced situations like yours. Please update the plugin to version 1.4.5. Once you have done that, add this snippet of code to your functions.php file of your active WordPress theme:
add_action(‘th_pl_lightbox_thumbnail_selector’, function(){
return ‘.ngg_lightbox’;
});
add_action(‘th_pl_lightbox_image_selector’, function(){
return ‘#lightbox-image’;
});
add_action(‘th_pl_lightbox_pin_selector’, function(){
return ‘#lightbox-image-details’;
});I believe once you have done this it *should* work properly. If not, I may need some additional access to your website.
Thanks,
TravisTravis,
I updated your plug in! ok done 🙂
but now where do you want me to add this code ??
I have to add this code :add_action(‘th_pl_lightbox_thumbnail_selector’, function(){
return ‘.ngg_lightbox’;
});
add_action(‘th_pl_lightbox_image_selector’, function(){
return ‘#lightbox-image’;
});
add_action(‘th_pl_lightbox_pin_selector’, function(){
return ‘#lightbox-image-details’;
});to my Edit Themes
at the end of the rest of the code ??I am not sure about the code !
Thanks Travis
Laeti,
You need to add it at the end of the functions.php file. You can do this in the WP admin area under the editor, but be careful to paste it exactly because a mistake can cause the site to go down. Usually I recommend to FTP into the server and make changes that way because if you do have a syntax error in the code you can still modify the file.
Here is a little bit more about modifying your functions file:
http://wordpress.org/support/topic/how-to-add-codes-in-functionphp?replies=6Thanks,
TravisI still don’t have FTP (with Filezilla) because I have just change my server
I really don’t know how to pass this code in the .php file 🙁
Laeti,
I would really recommend setting up an FTP account and adding the snippet that way. Who is your server hosted with? They should be able to help you setup an FTP account.
Thanks,
TravisTravis,
My server hosted is OVH a french server before was Blus Host….
I can do it myself no ? FTP account
do you have any recommand tutorial for that ?thank you so much Travis
LaetiLaeti,
Yes you can set it up yourself if you know how. The issue with tutorials is that setting up an FTP account is different for different server environments. If you have issues setting it up, I would recommend reaching out to your hosting provider via their support number.
Thanks,
Travisok thank you very much Travis
Have a nice day !
LaetiLaeti,
I am fairly certain that once you add that snippet of code to your functions.php file, your site should work correctly. I am going to mark this topic resolved for now, but please feel free to open a new thread if it doesn’t work.
Thanks,
Travis
- The topic ‘Pinterest buttom doesn't appear’ is closed to new replies.