Theme won’t display Facebook Page Plugin
-
Hi There,
I created a Facebook Page Plugin at:
https://developers.facebook.com/docs/plugins/page-pluginThen I put the Javascript code in header.php just after the body tag
<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_US/sdk.js#xfbml=1&version=v2.10&appId=1440742826004584"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
And on my page in my visual builder I put this code in the ‘text’ half of the editor:
<div class="fb-page" data-href="https://www.facebook.com/BOLDAF/" data-width="450" data-height="200" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/BOLDAF/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/BOLDAF/">BOLD american fare</a></blockquote></div>
I can’t get anything other than the text “BOLD american fare” to show up on the page. I think it’s an issue with the “Gamba Restaurant Theme” which is no longer supported by its developers. I tried a few other Facebook oriented plugins, and I couldn’t get any of them to work in conjunction with the theme.
Does anybody have any ideas on how to get this going? The plugin is supposed to appear underneath the “About the Restaurant” paragraph at https://boldamericanfare.com/
Thanks in advance for any insight you can provide.
Bill
- The topic ‘Theme won’t display Facebook Page Plugin’ is closed to new replies.