Hello!
How can i enable the facebook and twitter buttons on prettyphoto ligthbox? I have tha latest version.
(4 posts)
(2 voices)
Hello!
How can i enable the facebook and twitter buttons on prettyphoto ligthbox? I have tha latest version.
Hello Christopher,
Open up /wp-content/themes/[your_theme]/lib/scripts/custom.js and around lines 75 - 77 you should see this,
jQuery("a[rel^='prettyPhoto'], a[rel^='lightbox']").prettyPhoto({
overlay_gallery: false, social_tools: '', 'theme': 'light_square' /* light_square / dark_rounded / light_square / dark_square / facebook */
});
Change it like this,
jQuery("a[rel^='prettyPhoto'], a[rel^='lightbox']").prettyPhoto({
overlay_gallery: false, 'theme': 'light_square' /* light_square / dark_rounded / light_square / dark_square / facebook */
});
Thank you! It works!
Do you know what code i need to share each photo when someone clik on like button? (Now i have my facebook fan page)
I'm not familiar with all of the facebook widgets. Do they have a share this button?
I know they have a like / recommend button which we have created a shortcode for, http://mysitemyway.com/docs/index.php?title=Social_Media_Shortcodes#Facebook.
You must log in to post.