reorg theme
This commit is contained in:
parent
9ddb9f3c60
commit
e63af0b7ce
243 changed files with 10 additions and 11506 deletions
16
library/entry-meta.php
Normal file
16
library/entry-meta.php
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?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 */
|
||||
echo '<p class="byline author">';
|
||||
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 ' ' . __( 'Written by', 'foundationpress' ) . ' <a href="' . get_author_posts_url( get_the_author_meta( 'ID' ) ) . '" rel="author" class="fn">' . get_the_author() . '</a></p>';
|
||||
}
|
||||
endif;
|
Loading…
Add table
Add a link
Reference in a new issue