: Time element in WordPress site not in format required by HTML5 I'm trying to display blog posts using the BlogPosting schema, but I am having difficulty getting the date to display in an acceptable
I'm trying to display blog posts using the BlogPosting schema, but I am having difficulty getting the date to display in an acceptable format.
Currently, the responsive_child_post_meta_data() function contains the following:
<time itemprop="datePublished">%2$s</time>
But when I try to validate the results using the W3C HTML Validator, I get the following error message:
Error: The text content of element time was not in the required format: The literal did not satisfy the time-datetime format. Syntax of time-datetime: One of the following: month, date, yearless date, time, local date and time, time-zone offset, global date and time, week, non-negative integer, or duration. For more information and examples, see the section on the datetime value in the HTML specification.
More posts by @Heady270
1 Comments
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.