%2$s'; $time_string = sprintf( $time_string, esc_attr( get_the_date( DATE_W3C ) ), esc_html( get_the_date() ) ); $posted_on = '' . $time_string . ''; echo '' . $posted_on . ''; // WPCS: XSS OK. } endif; if ( ! function_exists( 'busify_post_posted_by' ) ) : /** * Prints HTML with meta information for the current author. */ function busify_post_posted_by() { if ( ! empty( get_the_author() ) ) { echo '' . esc_html( get_the_author() ) . ''; // WPCS: XSS OK. } } endif; if ( ! function_exists( 'busify_post_category_links' ) ) : /** * Prints Category for Current Post */ function busify_post_category_links() { // 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_x( ', ', 'list item separator', 'busify' ) ); if ( $tags_list ) { echo '' . $tags_list . ''; // WPCS: XSS OK. } /* translators: used between list items, there is a space after the comma */ $categories_list = get_the_category_list( esc_html__( ', ', 'busify' ) ); if ( $categories_list ) { echo '' . $categories_list . ''; // WPCS: XSS OK. } } } endif; if ( ! function_exists( 'busify_post_leave_comment' ) ) : /** * Prints Comment string on post */ function busify_post_leave_comment() { if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) { echo ''; comments_popup_link( sprintf( wp_kses( /* translators: %s: post title */ __( 'Leave a Comment on %s', 'busify' ), array( 'span' => array( 'class' => array(), ), ) ), esc_html( get_the_title() ) ) ); echo ''; } } endif; if ( ! function_exists( 'busify_post_thumbnail' ) ) : /** * Displays an optional post thumbnail. * * Wraps the post thumbnail in an anchor element on index views, or a div * element when on single views. */ function busify_post_thumbnail() { if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) { return; } if ( is_singular() ) : ?>
' . __( 'Skip to the content', 'busify' ) . ''; } add_action( 'wp_body_open', 'busify_skip_link', 5 );