How to add Social Buttons and/or comments to lightbox images and/or thumbnails

resolved (5 posts) (2 voices)

  1. Hi, I want to add facebook "like and share" buttons to the bottom of my gallery under each thubmnail image. I also want to add them either as an overlay on the image to one side or at the bottom where the description would be. Later I may add a comment section there as well but I would like to start with the buttons. I know I have to edit the code not sure what file/files I should open within the theme. Any help with this would be greatly appreciated, thank you in advance for your suggestions.

    Note: I have tried two wp plugins I found however they didn't not work!

    Posted 4 years ago #
  2. Elliott

    Hello Tommyboy12,

    Send us a link and take a screenshot highlighting what your wanting to do.

    Posted 4 years ago #
  3. Hi,
    I want to add facebook like and share buttons to the bottom of the open single pic light box currently on another site i am using a plugin to achieve this however I don't like the way it is, it's big and clunky and to the side not the bottom.

    I am using wp and I would like this to display globally on all images opened in overlay box.

    Where I want it

    What I have tried:
    1. Changing the code in gallery.php and singlepic.php but even though it showed on the gallery page at the bottom, it didn't work right and on singlepic.php page didn't work at all. I know in the ifocus theme you can select the type of lightbox you want, I think this is part of the issue for me, not sure what file to edit and not sure how to add the button code so it's working correctly.

    2. I then tried adding facebook code in-place of the output code on the gallery.php page changing the back office settings to image-browser, with custom effect, however this didn't work either and I ended up with a mess and took an hour to get back to the light-box regular view.

    What would be ideal for me is to have the buttons at the bottom of the light box in the overlay or in one of the top corners overplayed such as the next & previous buttons are overplayed over each image which ever would be easier.

    Posted 4 years ago #
  4. Elliott

    Your using the [gallery] shortcode there? That looks like the lightbox that gets shipped with Wordpress. This isn't a theme question. It would be best to ask on the Wordpress support forums.

    Our themes use prettyPhoto which is like lightbox but that's not what is loading there.

    I did a quick google search and found this,

    Posted 4 years ago #
  5. I ended up buying foobox, although it doesn't have the "like" button it has social share buttons good enough for now.

    Posted 4 years ago #


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