Open Graph: meta property="template"

  • Author
    Posts
  • #22054
    José

    This issue was supposed to be fixed in mantra (http://www.cryoutcreations.eu/forums/t/w3c-validation), and the same is showing up in tempera. Running facebook debugger yields this:

    Open Graph Warnings That Should Be Fixed
    Extraneous Property Objects of this type do not allow properties named ‘template’.
    Parser Mismatched Metadata The parser’s result for this metadata did not match the input metadata. Likely, this was caused by the data being ordered in an unexpected way, multiple values being given for a property only expecting a single value, or property values for a given property being mismatched. Here are the input properties that were not seen in the parsed result: ‘template’

    The offending code is:
    <meta property=”template” content=”tempera” />

    Probably from a function that is found in theme-meta.php (includes/theme-meta.php)

    * Meta Theme
    */
    function tempera_meta_template() {
    echo PHP_EOL.'<meta property=”template” content=”tempera” />’.PHP_EOL;
    }

    What is the purpose of this meta?

    #24726
    Stephen P Brown

    I’m still having the same problem. Any thoughts how to remove it, please?

    #25108
    azanka

    I’m having the exact same problem with Parabola.

    Any help?

    #26751
    Thomas Tremain

    I too cannot publish to facebook with this meta property included.

    I could just edit the theme, but it’ll come back on the next update.

    I have tried adding this line to my child template, but it doesn’t do the trick, no matter what priority I set it to.
    remove_action (‘cryout_seo_hook’,’mantra_seo_template’,1);

    I don’t mind letting people know I use the Mantra template, in fact I’m proud of it, but Facebook and w3c both throw fits about this property.

    Please advise.

    #26801
    Daniel Gundlach

    I am having exactly the same issue here, I am using WordPress 3.9.2 running Tempera 1.2.2.

    When I go to https://developers.facebook.com/tools/debug/og/object/ it shows me this:

    Warnings That Should Be Fixed
    Extraneous Property Objects of this type do not allow properties named ‘template’.
    Parser Mismatched Metadata The parser’s result for this metadata did not match the input metadata. Likely, this was caused by the data being ordered in an unexpected way, multiple values being given for a property only expecting a single value, or property values for a given property being mismatched. Here are the input properties that were not seen in the parsed result: ‘template’

    This might be the reason why the FB thumbs are not working correctly, would be nice to see this fixed…

    Kind regard, keep up the great work
    Daniel

    #26844
    Dan

    try this. me also new to this and just figured this out. whit lot of googling first.
    in child theme functions.php

    function remove_meta() {
    remove_action (‘*themename*_meta_hook’,’*themename*_meta_template’);
    }
    add_action(‘init’,’remove_meta’);

    #26852
    Kay
    Cryout Creations mastermind

    Hi guys!

    Dan’s solution should do the trick. We’ll also fix this in the next Tempera update.

    Thanks a lot for the feedback guys!


    Before posting consider reading our short theme debugging instructions.
    Please read the FAQs: MantraNirvanaParabolaTempera
    Tutorials: custom menustranslating themeinstalling themecategory page with introdisabling comments Wordpress: child themescategories/posts
    Before making any modifications to your theme we strongly recommend using Child Themes.
Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Open Graph: meta property="template"’ is closed to new replies.