',
esc_url( get_permalink() ),
esc_attr( get_the_time() ),
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() )
);
}
public static function posted_on_single() {
printf(' %7$s',
esc_url( get_permalink() ),
esc_attr( get_the_time() ),
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() ),
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
esc_attr( sprintf( __( 'View all posts by %s', "best-magazine" ), get_the_author() ) ),
get_the_author()
);
}
public static function entry_meta_cat() {
$categories_list = get_the_category_list(', ' );
echo '';
if ( $categories_list ) {
echo ' ' . $categories_list . '';
}
$tag_list = get_the_tag_list( '', ' , ' );
if ( $tag_list ) {
echo '' . $tag_list . '';
}
echo '
';
}
public static function entry_meta() {
$categories_list = get_the_category_list(', ' );
echo '';
if ( $categories_list ) {
echo ' ' . $categories_list . '';
}
$tag_list = get_the_tag_list( '', ' , ' );
if ( $tag_list ) {
echo '' . $tag_list . '';
}
echo '
';
}
public static function post_nav() {
global $post;
$previous = ( is_attachment() ) ? get_post( $post->post_parent ) : get_adjacent_post( false, '', true );
$next = get_adjacent_post( false, '', false );
if ( ! $next && ! $previous )
return;
?>