WordPress.org

Ready to get started?Download WordPress

Forums

Non-visible text date using the_time? (1 post)

  1. mediadecay
    Member
    Posted 3 years ago #

    I'm updating my site to use the Schema microdata and one of the things specifically requested by Google is the inclusion of the date of a post in ISO format. But since this format isn't super user readable I'd like to use the way I currently display the post's date to users and have a non-visible ISO date for search engines to read.

    My current code is: 'This review was posted on <?php the_time('l, F jS, Y'); ?> at <?php the_time(); ?>. ' How would I keep that and add a non-visible to users ISO date?

Topic Closed

This topic has been closed to new replies.

About this Topic