max_num_pages < 2 ) {
return;
}
?>
post_parent ) : get_adjacent_post( false, '', true );
$next = get_adjacent_post( false, '', false );
if ( ! $next && ! $previous ) {
return;
}
?>
%2$s';
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
$time_string = '';
}
$time_string = sprintf(
$time_string,
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() ),
esc_attr( get_the_modified_date( 'c' ) ),
esc_html( get_the_modified_date() )
);
$posted_on = '' . $time_string . '';
$byline = '' . esc_html( get_the_author() ) . '';
$categories = get_the_category_list( esc_html__( ', ', 'blogi' ) );
echo sprintf(
' %1$s %2$s %3$s',
wp_kses(
$posted_on,
array(
'a' => array(
'href' => array(),
'rel' => array(),
),
'time' => array(
'class' => array(),
'datetime' => array(),
),
)
),
wp_kses(
$byline,
array(
'span' => array(
'class' => array(),
),
'a' => array(
'class' => array(),
'href' => array(),
),
)
),
wp_kses(
$categories,
array(
'a' => array(
'href' => array(),
'rel' => array(),
),
)
)
);
}
endif;
if ( ! function_exists( 'blogi_entry_footer' ) ) :
/**
* Prints HTML with meta information for the categories, tags and comments.
*/
function blogi_entry_footer() {
if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
echo '';
}
// Hide category and tag text for pages.
if ( 'post' === get_post_type() ) {
/* translators: used between list items, there is a space after the comma */
$tags_list = get_the_tag_list( '', esc_html__( ', ', 'blogi' ) );
if ( $tags_list ) {
printf(
/* translators: Post Tag list */
'' . wp_kses( __( ' %1$s', 'blogi' ), array( 'i' => array( 'class' => array() ) ) ) . '',
wp_kses(
$tags_list,
array(
'a' => array(
'href' => array(),
'rel' => array(),
),
)
)
);
}
}
edit_post_link( esc_html__( 'Edit', 'blogi' ), ' ', '' );
}
endif;