-
AuthorPosts
-
February 2, 2016 at 9:04 am #776109
Hi,
on http://sjc.beeldinuitvoering.nl/contact/
I embedded a facebook-page through the facebook embedding generator. I pasted the Js code in the customizer, and the embed code in a Raw-element on my page.
But there is no ‘feed’ visible, it is displayed as a blockquote. Apparently this is also written in the code. Is there a way to show the actual feed?
Hope you can help out
February 2, 2016 at 10:45 am #776286Hi There,
Please remove the code under Customizer, then adding the following code under functions.php file locates in child theme:
add_action( 'x_before_site_begin', 'x_insert_fb_code' ); function x_insert_fb_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/nl_NL/sdk.js#xfbml=1&version=v2.5"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <?php }
Hope it helps 🙂
February 3, 2016 at 6:41 am #777800Like a charm!
Thanks for your continuous support.February 3, 2016 at 8:20 am #777954Glad it worked 🙂
If you need anything else, please let us know.
-
AuthorPosts