Created
December 13, 2012 14:04
-
-
Save gicolek/4276579 to your computer and use it in GitHub Desktop.
the_time() usage example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// bah | |
?> | |
<a href="#" title="<?php the_time('h:i a'); ?>" rel="bookmark"> | |
<time class="entry-date" datetime="<?php the_time('c'); ?>"><?php the_time( 'jS F Y' ); ?></time> | |
</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment