Skip to content

Instantly share code, notes, and snippets.

@richyrb00
Created October 4, 2016 00:12
Show Gist options
  • Save richyrb00/5ba498e8d0fd09b11d4d320d115929ac to your computer and use it in GitHub Desktop.
Save richyrb00/5ba498e8d0fd09b11d4d320d115929ac to your computer and use it in GitHub Desktop.
Displays time and date in Wordpress post loop
<p>Posted: <?php the_date(‘F j, Y’); ?> at <?php the_time(‘g:i a’); ?></p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment