On the single post, the WordPress generates the meta title automatically but it gives validation error.

This is what WordPress generates:

<meta name="title" content="The post title goes here"  />

And this is the error I get:

Bad value title for attribute name on element meta: Keyword title is not registered.

How can this be fixed? Please help.

1 Answer 1


title is not part of the current HTML5 spec for meta element names. See here. The <title> element in the document head should be enough for metadata purposes.

  • Thanks, but then how can I remove it? I cannot see the code which generates it. I think wp_head() generates it.
    – jay
    Commented May 15, 2014 at 6:28
  • Look in the header.php file in the template you're using. Failing that, look for functions in your template that are registered to the wp_head action.
    – Todd Rowan
    Commented May 15, 2014 at 6:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.