Facebook and OG tags.

  • Good afternoon.

    I think I am missing something silly here can anyone help.

    I have used the template for facebook in the doc section on the site (https://docs.grabaperch.com/pe…book-and-twitter-sharing/) and not all the tags are populating on the web page. All the fields are appearing in the back office and are populated.

    What am i missing / doing wrong?

    Calling code

    1. <?php
    2. perch_page_attributes(array(
    3. 'template' => 'facebook.html'
    4. ));
    5. perch_page_attributes(array(
    6. 'template' => 'seo.html'
    7. ));
    8. ?>


    1. <meta property="og:title" content="">
    2. <meta property="og:description" content="">
    3. <meta property="og:site_name" content="IKSAC Ilkeston &amp; Kimberly Sub Aqua Club">
    4. <meta property="og:url" content="http://www.iksac.co.uk">
    5. <meta property="og:image" content="">
    6. <meta property="og:image" content="">
    7. <meta property="og:type" content="">

    Technical Details.


  • Hi Mike,

    Don't think it is anything to do with that.

    Not all the tags have type="hidden in them"

    I have managed to correct the issue by adding a "/" at then of the perch tag inside the ">". Also I have added name to the tags as well as the id.

    Not sure which one corrected the issue but thanks for all the help.