Tagged: x
-
AuthorPosts
-
January 13, 2017 at 7:59 am #1328753
Jack DParticipantI am trying to add the new face book plugin to http://www.protectiondogsuk.co.uk. I am sending the code generated by Facebook by private message I have added the first part to my child theme functions.php but cannot seem to get the second part to show the Facebook header.
January 13, 2017 at 8:02 am #1328755
Jack DParticipantThis reply has been marked as private.January 13, 2017 at 12:19 pm #1329041
Nabeel AModeratorHi there,
Thanks for writing in! The code you added in your child theme’s functions.php is not correct, replace your code with this:
add_action('wp_head','facebook_code'); function facebook_code() { ?> <div id="fb-root"></div> <script>(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/en_GB/sdk.js#xfbml=1&version=v2.8&appId=228854317562898"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> <?php }Let us know how this goes!
January 13, 2017 at 1:26 pm #1329102
Jack DParticipantI have added the code and also step 3 onto a page but I’m afraid it does not work
January 13, 2017 at 10:40 pm #1329536
Rue NelModeratorHello There,
Thanks for updating in! To assist you better with this issue, would you mind providing us the url of the page in question with login credentials so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thank you.
January 14, 2017 at 2:32 am #1329688
Jack DParticipantThis reply has been marked as private.January 14, 2017 at 3:09 am #1329714
RadModeratorHi there,
May I know where the Step 3 is added? Or where should it appear? I can’t find it, I’m not sure if it’s added or not. It’s an embed code and should be added in the page content.
Thanks!
January 14, 2017 at 3:18 am #1329720
Jack DParticipantI added it but it did not work so I took it off. You can add it to the bottom of the home page using Cornerstone. This is what I did but it did not work
Regards
Jack
January 14, 2017 at 3:43 am #1329731
Rue NelModeratorThis reply has been marked as private.January 14, 2017 at 3:54 am #1329744
Jack DParticipantPerfect! Many thanks
January 14, 2017 at 4:03 am #1329749
ThaiModeratorIf you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1328753 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
