name, 'author' ) ) { $author_id = get_post_field( 'post_author', get_the_ID() ); if ( $author_link ) { if ( get_the_author_meta( 'url', $author_id ) && apply_filters( 'kadence_author_use_profile_link', true ) ) { $author_string = sprintf( '%2$s', esc_url( get_the_author_meta( 'url', $author_id ) ), esc_html( get_the_author_meta( 'display_name', $author_id ) ) ); } else { $author_string = sprintf( '%2$s', esc_url( get_author_posts_url( $author_id ) ), esc_html( get_the_author_meta( 'display_name', $author_id ) ) ); } } else { $author_string = sprintf( '%1$s', esc_html( get_the_author_meta( 'display_name', $author_id ) ) ); } } if ( ! empty( $author_string ) ) { $author_output = ''; if ( $author_image ) { $author_output .= ''; if ( $author_link ) { $author_output .= sprintf( '%2$s', esc_url( get_author_posts_url( $author_id ) ), get_avatar( $author_id, ( 2 * $author_image_size ) ) ); } else { $author_output .= sprintf( '%1$s', get_avatar( $author_id, ( 2 * $author_image_size ) ) ); } $author_output .= ''; $author_output .= ''; } if ( $author_enable_label ) { $author_output .= '' . esc_html( $author_label ) . ''; } $author_output .= $author_string; $author_output .= ''; echo apply_filters( 'kadence_author_meta_output', $author_output ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } } if ( $date ) { $time_string = ''; 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() ) ); if ( ! empty( $time_string ) ) { ?> ' . esc_html( $date_label ) . ''; } echo $time_string; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> %2$s', esc_attr( get_the_modified_date( 'c' ) ), esc_html( get_the_modified_date() ) ); if ( ! empty( $time_string ) ) { ?> ' . esc_html( $date_updated_label ) . ''; } echo $time_string; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> ' . esc_html( $meta_categories_label ) . ''; } echo '' . get_the_category_list( esc_html( $separator ), '', get_the_ID() ) . ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> '; echo ''; if ( '1' === get_comments_number() ) { echo esc_html( get_comments_number() ) . ' ' . esc_html__( 'Comment', 'kadence-blocks' ); } else { echo esc_html( get_comments_number() ) . ' ' . esc_html__( 'Comments', 'kadence-blocks' ); } echo ''; echo '
'; } do_action( 'kadence_after_loop_entry_meta' ); ?>