Enable facebook - twitter buttons on ligthbox

pending (4 posts) (2 voices)

  1. Christopher
    Member

    Hello!

    How can i enable the facebook and twitter buttons on prettyphoto ligthbox? I have tha latest version.

    http://www.eartboard.com/portfolio/creations/

    Posted 6 months ago #
  2. Elliott
    Support

    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 */
    });
    Posted 6 months ago #
  3. Christopher
    Member

    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)

    Posted 6 months ago #
  4. Elliott
    Support

    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.

    Posted 6 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme