If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I try to add / enable functions “Like” + Twitter + other social media in the prettyPhoto modal windows.
Is it possible?
It has something to do with the pp_social on the prettyPhoto js file but I’m not sure how to turn it on again. Let me tag the rest of the support team to help you out.
Please look at line 56 (yes, its a very long line) of jquery.Prettyphoto.js which is located in /js/prettyPhoto/js/ directory in the theme. About 33% into the line you will see :
If you want to add additional social media (twitter + facebook are already present) you would add the button code in a similar style as you see the twitter/facebook above, and you would paste the code behind the very last </div> but in front of the very last ‘single quote’.
Please take a look at the example here -> (drag the photo) http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/
And also check the many examples on the prettyPhoto developers forum, there are numerous ways you can integrate social media listed there.
prettyPhoto Support Forum -> http://forums.no-margin-for-errors.com/categories/prettyphoto-support
The topic ‘[PROPULSION] Add Like + Twitter function in modal Windows’ is closed to new replies.