Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1216522
    Heatonm
    Participant

    Hi guys,

    I’m trying to add the Facebook like button to my home page using a facebook app via their plugins.

    https://developers.facebook.com/docs/plugins/like-button

    It’s asking me to copy some SDK JavaScript on my page right after the opening <body> tag.

    I’m having trouble trying to find where to place this. I can’t find where to put it in my file manager and I can’t find the right place to insert it on my wordpress dashboard either.

    Thanks

    #1216527
    Heatonm
    Participant
    This reply has been marked as private.
    #1216975
    Friech
    Moderator

    Hi There,

    Thanks for writing in! Please follow this post: https://community.theme.co/forums/topic/facebook-javascript-sdk-code/?replyto=352137#post-352343

    Hope it helps, Cheers!

    #1219079
    Heatonm
    Participant

    I’ve done this, now when I try log into my dashboard it comes up with a HTTP 500 error message and when I try visit my site it’s just a blank screen. Any help?

    #1219165
    Lely
    Moderator

    Hi There,

    Your site is not blank screen when I checked. I saw a javascript error though. If you already follow the previous suggestion, please remove the code you have added on Custom JS on Cornerstone. This triggers Javascript error. Then clear cache and check again.

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1216522 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>