';
}
}
if ( ! function_exists( 'aqwa_entry_post_meta' ) ) {
/**
* Prints HTML with meta information for the categories, tags and comments.
* Footer entry meta is displayed differently in archives and single posts.
*
* @since Aqwa 1.0
*
* @return void
*/
function aqwa_entry_post_meta() {
// Early exit if not a post.
if ( 'post' !== get_post_type() ) {
return;
}
// Hide meta information on pages.
if ( ! is_single() ) {
if ( is_sticky() ) {
echo '
';
/* translators: used between list items, there is a space after the comma. */
$categories_list = get_the_category_list( __( ', ', 'aqwa' ) );
if ( $categories_list ) {
echo sprintf( '%1$s',
$categories_list
);
}
/* translators: used between list items, there is a space after the comma. */
$tags_list = get_the_tag_list( '', __( ', ', 'aqwa' ) );
if ( $tags_list ) {
echo sprintf(
'%1$s', $tags_list
);
}
echo '
';
/* translators: used between list items, there is a space after the comma. */
$categories_list = get_the_category_list( __( ', ', 'aqwa' ) );
if ( $categories_list ) {
echo sprintf( '%1$s ',
$categories_list
);
}
/* translators: used between list items, there is a space after the comma. */
$tags_list = get_the_tag_list( '', __( ', ', 'aqwa' ) );
if ( $tags_list ) {
echo sprintf(
'%1$s', $tags_list
);
}
echo '
';
}
}
}
}
if ( ! function_exists( 'aqwa_the_post_navigation' ) ) {
/**
* Prints HTML with meta information about theme author.
*
*/
function aqwa_the_post_navigation(){
$previous_post = get_previous_post();
$next_post = get_next_post();
?>