arc-hive-wordpress-theme/library/entry-meta.php

16 lines
668 B
PHP
Raw Permalink Normal View History

<?php
/**
* Entry meta information for posts
*
2021-04-28 01:20:47 +02:00
* @package arcHIVE-theme
* @since arcHIVE-theme 1.0.0
*/
if ( ! function_exists( 'foundationpress_entry_meta' ) ) :
function foundationpress_entry_meta() {
/* translators: %1$s: current date, %2$s: current time */
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>';
echo '<p class="byline author">' . __( 'Written by', 'foundationpress' ) . ' <a href="' . get_author_posts_url( get_the_author_meta( 'ID' ) ) . '" rel="author" class="fn">' . get_the_author() . '</a></p>';
}
endif;