Support » Fixing WordPress » pubdate validation issue

  • Resolved Pioneer Web Design

    (@swansonphotos)


    On Swanson Heritage (and 2 others also), I am having an HTML5 validation issue (http://validator.w3.org/)

    The generated code in question is:

    <time class="entry-date" pubdate="" datetime="2012-07-07T13:04:42+00:00">

    And the validation error is:

    Attribute pubdate not allowed on element time at this point

    As you can see ‘pubdate’ is blank anyway (should it be??).

    I have looked on here for this issue and found nothing of use…looked online and found a few links stating that this is actually an error by the validator…

    So, as I am trying to get these sites to validate, does anyone have a quick fix to apply to my twentyeleven child themes?

    I assume I can include a custom functions.php file, de-register some function, and add the modified one back in but I am not sure which one or if I may break something in doing so…

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘pubdate validation issue’ is closed to new replies.