![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
-
AuthorPosts
-
April 24, 2014 at 9:19 pm #255797
Hello,
is it possible to add a facebook (and, if possible, twitter) like button (and share button) into the images in the portfolio (when an image is displayed on a lightbox) ?
For example here (my website) http://www.natureinframe.it/portfolio-articoli/intimate-visions/ I would add a facebook button near the description of each picturesThanKs
April 24, 2014 at 9:33 pm #255806Hello!
It is possible but that would require a heavy customization and unfortunately that’s beyond the scope of the support we can offer. If you really need it try contacting a specialist.
Cheers!
JosueApril 25, 2014 at 12:29 am #255887Ok …but yesterday Kriesi said me that is possible ( my comment was with nickname ”estetica_s” http://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990/comments?page=175 )
Yes thats possible. the theme uses the prettyphoto lightbox plugin which allows social sharing buttons in the lightbox. this can be activated with a smple code change that we can provide if you need it ;)
Just drop by in our support forum at https://kriesi.at/support/ once you have purchased the theme and need help :)
do you know if is it possible to change the code ? Kriesi said ” this can be activated with a smple code change ”
Thanks
-
This reply was modified 10 years, 4 months ago by
alessioandreani.
April 25, 2014 at 4:06 am #255912Hi!
Yeah sorry, i found the trick, open js/avia.js and look for line 845:
elements.prettyPhoto({ social_tools:,slideshow: 5000, deeplinking: false, overlay_gallery:false, default_width: ww, default_height: wh });
Replace it by:
elements.prettyPhoto({ social_tools:'<div class="pp_social"><div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="http://www.facebook.com/plugins/like.php?locale=en_US&href='+location.href+'&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div></div>',slideshow: 5000, deeplinking: false, overlay_gallery:false, default_width: ww, default_height: wh });
Cheers!
JosueApril 26, 2014 at 12:09 am #256398Thanks …I replaced the code (line 829, not 845) but it doesn’t work
April 26, 2014 at 1:16 am #256407Hi!
It works on my end:
It may need some adjusting but it’s working. Refresh the page a few times.
Best regards,
JosueApril 26, 2014 at 3:14 am #256419yep, now it works! thank you :)
April 26, 2014 at 3:21 am #256423You are welcome, glad we could help :)
Regards,
Josue -
This reply was modified 10 years, 4 months ago by
-
AuthorPosts
- The topic ‘Insert social button for each pictures’ is closed to new replies.