Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1063124
    [email protected]
    Participant

    How do I add this meta tag to my site: <meta property=”fb:pages” content=”155245528011443″ />

    #1063157
    Christopher
    Moderator

    Hi there,

    Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Please add following code in child theme’s functions.php file :

    add_action('wp_head', function(){?>
    <!--- YOURE META HERE -START -->
    
    <!--- YOURE META HERE -END -->
    <?php });

    Hope it helps.

    #1063166
    Paul R
    Moderator

    Hi,

    To add it, you can add the code below in your child theme’s functions.php file located at wp-content/themes/x-child/functions.php

    
    add_action('wp_head', 'add_my_meta');
    function add_my_meta(){    
        ?>
       <meta property="fb:pages" content="155245528011443" />
        <?php 
    }
    

    Hope that helps

    #1063391
    [email protected]
    Participant

    Doesn’t seem to be working.Look at what I want to achieve here: http://www.lukepeerfly.com/create-instant-articles

    #1063395
    [email protected]
    Participant

    The Facebook Instant article.. Looking for way to claim my site on the settings

    #1063436
    Thai
    Moderator

    Hi There,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1063441
    [email protected]
    Participant
    This reply has been marked as private.
    #1063523
    Jade
    Moderator

    Hi there,

    I checked the page of your site and there is a meta tag added in the pages which is:

    <meta property="fb:app_id" content="684634611587520">

    But I am not sure if that’s the code you are trying to add. I tried to login into the admin section to check further but the details provided seems to be incorrect.

    Kindly double check.

  • <script> jQuery(function($){ $("#no-reply-1063124 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>