WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Twitter card meta data non-valid syntax according to the W3C (3 posts)

  1. Jurgen Jessurun
    Member
    Posted 1 year ago #

    While checking my document i noticed the Twitter card meta data syntax isn't HTML5 valid according to the W3C recommendation.

    To get your HTML5 document validated you can change the syntax within file class-twitter.php :
    <meta name="twitter should become <meta property="twitter (use the property attribute).

    After updating the syntax i did a test via Twitter preview tool. All worked fine.

    Site i am referring to : http://advertbanner.com

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. Josh Carr
    Member
    Posted 1 year ago #

    This.

    I would appreciate it if this were updated in the next version of the plugin.

  3. Jurgen Jessurun
    Member
    Posted 1 year ago #

    Anyone succeeded in setting up a twitter card? Please share some live examples.

    I keep getting the following message: "invalid or incomplete Twitter Cards markup. Please resubmit your submission".

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic