Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #443117

    Facebook have launched a new plugin to embed a FB page on your website.

    https://developers.facebook.com/docs/plugins/page-plugin

    FB instructions say to add the JS SDK code at the top of the page after the <body> tag

    Question is where to add this in Enfold?

    #443139

    Hi Calcite!

    Please add following code to Functions.php file in Appearance > Editor

    function add_custom_tag(){
    ?>
    YOUR CODE GOES HERE
    <?php
    }
    add_action('wp_footer', 'add_custom_tag');

    Regards,
    Yigit

    #443349

    Hi Yigit,

    That did the trick – thank you :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Where to add the new FB Page Plugin to an Enfold site’ is closed to new replies.