2018-10-26 11:51:32 +02:00
< ? php
/**
* Entry meta information for posts
*
* @ package FoundationPress
* @ since FoundationPress 1.0 . 0
*/
if ( ! function_exists ( 'foundationpress_entry_meta' ) ) :
function foundationpress_entry_meta () {
/* translators: %1$s: current date, %2$s: current time */
2018-10-30 13:16:00 +01:00
echo '<p class="byline author">' ;
2018-10-26 11:51:32 +02:00
echo '<time class="updated" datetime="' . get_the_time ( 'c' ) . '">' . sprintf ( __ ( 'Posted on %1$s at %2$s.' , 'foundationpress' ), get_the_date (), get_the_time () ) . '</time>' ;
2018-11-06 19:37:22 +01:00
echo ' ' . __ ( 'Written by' , 'foundationpress' ) . ' <a href="' . get_author_posts_url ( get_the_author_meta ( 'ID' ) ) . '" rel="author" class="fn">' . get_the_author () . '</a></p>' ;
2018-10-26 11:51:32 +02:00
}
endif ;