The function will be added in wp-content/themes/sweetdate-child/functions.php
It will look like this

COPY CODE

function sqr_add_fb_button_top_social() {
?>
    <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.6&appId=595976700546435";
            fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));</script>


    <div class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-layout="button" data-action="like" data-show-faces="false" data-share="false">

    </div>
<?php
}

//This will add the like button before the social icons
add_action('kleo_before_top_links','sqr_add_fb_button_top_social');

//This will add the like button after the social icons
//add_action('kleo_extra_social_icons','sqr_add_fb_button_top_social');

Log in with your credentials

Forgot your details?