%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 = sprintf( '%2$s', esc_url( get_permalink() ), $time_string ); if ( is_sticky() && ! is_single() ) { $posted_on = sprintf( '%2$s', esc_url( get_permalink() ), esc_html__( 'Featured Post', 'arcegator' ) ); } // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo '' . $posted_on . ''; /* translators: used between list items, there is a space after the comma */ $tags_list = get_the_tag_list( '', esc_html__( ', ', 'arcegator' ) ); if ( $tags_list && ! is_wp_error( $tags_list ) ) { // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo ''; } } if ( is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) { echo ''; comments_popup_link( esc_html__( 'Leave a comment', 'arcegator' ), esc_html__( '1 Comment', 'arcegator' ), esc_html__( '% Comments', 'arcegator' ) ); echo ''; } if ( is_single() ){ edit_post_link( sprintf( /* translators: %s: Name of current post */ esc_html__( 'Edit %s', 'arcegator' ), the_title( '"', '"', false ) ), '', '' ); } } } if ( ! function_exists( 'arcegator_entry_meta' ) ) { /** * Prints HTML with meta information for the categories. */ function arcegator_entry_meta() { if ( 'post' === get_post_type() ) { $categories_list = get_the_category_list( ' ' ); if ( $categories_list ) { // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo '
'; } } } } if ( ! function_exists( 'arcegator_the_custom_logo' ) ) { /** * Displays the optional custom logo or Blog name / Description. * */ function arcegator_the_custom_logo() { if ( function_exists( 'the_custom_logo' ) ) { $custom_logo_id = get_theme_mod( 'custom_logo' ); $logo = wp_get_attachment_image_src( $custom_logo_id , 'full' ); //var_dump($logo); if ( has_custom_logo() ) { echo '