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

  1. Jurgen Jessurun
    Posted 2 years 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


  2. Josh Carr
    Posted 2 years ago #


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

  3. Jurgen Jessurun
    Posted 2 years 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

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic