folder_open' . $categories_list . ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } } } } if ( ! function_exists( 'beetan_post_date' ) ) { /** * Prints HTML with meta information for the current post-date/time. */ function beetan_post_date() { $time_string = ''; if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { /* translators: %s: Updated date text */ $time_string = ' '; } $time_string = sprintf( $time_string, esc_attr( get_the_date( DATE_W3C ) ), esc_html( get_the_date() ), esc_attr( get_the_modified_date( DATE_W3C ) ), esc_html( get_the_modified_date() ) ); $posted_on = '' . $time_string . ''; echo 'schedule' . $posted_on . ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } } if ( ! function_exists( 'beetan_post_author' ) ) { /** * Prints HTML with meta information for the current author. */ function beetan_post_author() { $byline = sprintf( /* translators: %s: post author. */ esc_html_x( '%s ', 'post author', 'beetan' ), // phpcs:ignore WordPress.WP.I18n.NoEmptyStrings '' . esc_html( get_the_author() ) . '' ); echo 'account_circle ' . $byline . ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } } if ( ! function_exists( 'beetan_post_tags' ) ) { /** * Prints HTML with meta information for the tags. */ function beetan_post_tags() { // Hide tag for pages. if ( 'post' === get_post_type() ) { $tags_list = get_the_tag_list( '', ' ' ); if ( $tags_list ) { echo '' . $tags_list . ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } } } } if ( ! function_exists( 'beetan_post_comments' ) ) { /** * Prints HTML with meta information for the comments. */ function beetan_post_comments() { if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) { echo 'comment'; comments_popup_link(); echo ' '; } } } if ( ! function_exists( 'beetan_entry_meta' ) ) { /** * Show entry header meta information */ function beetan_entry_meta() { get_template_part( 'template-parts/post-entry', 'meta' ); } } if ( ! function_exists( 'beetan_entry_footer' ) ) { /** * Show entry footer meta information */ function beetan_entry_footer() { get_template_part( 'template-parts/post-entry', 'footer' ); } } if ( ! function_exists( 'beetan_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 beetan_post_thumbnail() { if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) { return; } if ( is_singular() ) { ?>
the_title_attribute( array( 'echo' => false, ) ), ) ); do_action( 'beetan_after_post_thumbnail' ); ?> edit Edit %s', 'beetan' ), array( 'span' => array( 'class' => array(), ), ) ), wp_kses_post( get_the_title() ) ), '', '' ); } } if ( ! function_exists( 'wp_body_open' ) ) { /** * Shim for sites older than 5.2. * * @link https://core.trac.wordpress.org/ticket/12563 */ function wp_body_open() { // phpcs:ignore WPThemeReview.CoreFunctionality.PrefixAllGlobals.NonPrefixedFunctionFound do_action( 'wp_body_open' ); // phpcs:ignore WPThemeReview.CoreFunctionality.PrefixAllGlobals.NonPrefixedHooknameFound } }