Tagged: x
-
AuthorPosts
-
December 30, 2016 at 10:07 am #1309965
ledainguParticipantHi there,
Hi, I have been trying to insert facebook plugin page into my x theme.
But it only shows me the title of the facebook page without anything else (no facebook timeline neither facebook header)Here’s my process
1- I’ve created a child theme
2- I’ve added this script to my functions.php :
add_action( ‘x_before_site_begin’, ‘x_print_scripts_in_body’ );
function x_print_scripts_in_body(){
?>
<!– add your code here –>
<?php
}3- I’ve added this script into a raw content
Need some help
ThanksDecember 30, 2016 at 10:33 am #1310001
RahulModeratorHey There,
Thanks for writing in!
Kindly walk-through the guidelines given below to setup Facebook Comments extension which comes along with every purchase of X-theme for free :
https://community.theme.co/kb/extension-facebook-comments/
Let us know if you need any more information on this, would be happy to help you out.
Thanks for understanding!
December 30, 2016 at 11:22 am #1310066
ledainguParticipantThanks for reply
I already done that but it doesn’t work
What i want is to integrate the facebook plugin plugin pageIt is asked to put 2 scripts :
1- Include the SDK JavaScript on your page once,
( it is said “ideally right after the opening <body> tag”) that’s why i input it in the function.php of my child theme.2- place the second in the page which i did in a raw content
But it keeps display like that in the post
December 30, 2016 at 5:09 pm #1310378
FriechModeratorHi There,
Add the code below to your Child Theme’s functions.php file and make sure your child theme is active.
add_action( 'x_before_site_begin', 'x_print_fb_sdk' ); function x_print_fb_sdk(){ ?> <!-- FB CODE HERE --> <?php }Change the <!– FB CODE HERE –> with your actual code.
Then paste your second set of code on a RAW content element, this will be the code that actually output the Facebook widget.
Another thing, make sure the FB page is accessible to public.
If this does not work, please provide us login credentials (wp-admin and FTP) in private reply so we can take a closer look.
Thanks.
December 30, 2016 at 6:28 pm #1310428
ledainguParticipantThis reply has been marked as private.December 30, 2016 at 9:48 pm #1310641
FriechModeratorHi There,
Thanks for the credentials, but please provide us your FB codes as well. And was the FB page accessible to public? Can you provide us the link?
Cheers!
December 30, 2016 at 10:20 pm #1310673
ledainguParticipantThis reply has been marked as private.December 31, 2016 at 12:30 am #1310739
FriechModeratorHi There,
Thank you, but I mean the facebook sdk code, not credentials. And it seems you forgot to provide the site URL and the FTP host name above.
Sorry about this confusions.
December 31, 2016 at 9:05 am #1310954
ledainguParticipantThis reply has been marked as private.December 31, 2016 at 8:30 pm #1311298
Rue NelModeratorHello There,
Thank you for the very detailed information. What you are trying to do has been done and resolve already. Please check out a more and simple instructions added by our staff which you can find in the following topic: https://community.theme.co/forums/topic/facebook-plugin/#post-1273196
Please us know how how it goes.
January 1, 2017 at 8:02 am #1311589
ledainguParticipantHi there nothing have changed since i did what you’ve told me
January 1, 2017 at 5:24 pm #1311904
RadModeratorHi there,
I assume this is the site http://www.demolisha.com/, it works okay. Please check the attached screenshot.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1309965 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
