Facebook like and share button in portfolio pages with EMPATHY

  • Posted in : Empathy
  • wilson-legros
    Participant

    Hello Gentlemens,

    Since few days, I’m trying many many plugins to add a FB like button and a share button in Portfolio pages, and can’t find one…

    I tried “Shareaholic” as you recommanded it, it works fine for sharing, not liking.

    I tried “Facebook Widget” (https://fr.wordpress.org/plugins/simple-facebook-twitter-widget) and add shortcodes in pages but it doesn’t work…

    The best would be to have only one plugins for those two buttons…

    Help please :)

    Thank you,
    Wilson

    serkan
    Moderator

    Hi Wilson,
    I don’t have any experience on a plugin which can do like and share at the same time.
    Thanks

    wilson-legros
    Participant

    Hello Serkan,

    Maybe you can tell me if there’s a plugin “FB like button” works in portfolio ?

    Thank you,
    Wilson

    wilson-legros
    Participant

    Or to tell me how to do with custom CSS ?

    serkan
    Moderator

    Hi Wilson,
    Could you check out this related topic please?
    Thanks

    wilson-legros
    Participant

    Wich related topic ?

    serkan
    Moderator

    Hi Wilson,
    Sorry, my mistake.
    https://developers.facebook.com/docs/plugins/page-plugin
    Thanks

    wilson-legros
    Participant

    Hello,

    With link https://developers.facebook.com/docs/plugins/like-button I added the two codes generated in home page and it works fine. Good !

    But in portfolio’s page, it doesn’t. I made a test with http://www.miguy.re/#/portfolio/portfolio/vesalius/

    Here the code. Do you know why it doe’nt work?

    (function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = “//connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.5”;
    fjs.parentNode.insertBefore(js, fjs);
    }(document, ‘script’, ‘facebook-jssdk’));

    Thank you,
    Wilson

    wilson-legros
    Participant

    The entire code is not written on my last post. But be sure I pasted the two codes generated on facebook developer’s page.

    serkan
    Moderator

    Hi Wilson,
    Please go to Appearance > Theme Options > Layout > Choose Ajax (No)
    Ajax is conflicting with facebook developer. So you should deactivate it.
    Thanks

    wilson-legros
    Participant

    Very good, thank you Serkan !

    serkan
    Moderator

    You are welcome.

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register