%2$s'; if (get_the_time('U') !== get_the_modified_time('U')) { $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 = sprintf( /* translators: %s: post date. */ esc_html_x('%s', 'post date', 'bullet'), '' . $time_string . '' ); echo '' . $posted_on . ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } endif; if (!function_exists('bullet_posted_by')) : function bullet_posted_by() { $byline = sprintf( /* translators: %s: post author. */ esc_html_x('%s', 'post author', 'bullet'), '' . esc_html(get_the_author()) . '' ); echo $byline; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } endif; if (!function_exists('bullet_entry_footer')) : function bullet_entry_footer() { // Hide category and tag text for pages. if ('post' === get_post_type()) { /* translators: used between list items, there is a space after the comma */ $categories_list = get_the_category_list(esc_html__(' ', 'bullet')); if ($categories_list) { /* translators: 1: list of categories. */ printf('' . esc_html__('%1$s', 'bullet') . '', $categories_list); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } /* translators: used between list items, there is a space after the comma */ $tags_list = get_the_tag_list('', esc_html_x(' ', 'list item separator', 'bullet')); if ($tags_list) { /* translators: 1: list of tags. */ printf('' . esc_html__('%1$s', 'bullet') . '', $tags_list); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } } } endif; if (!function_exists('bullet_the_post_navigation')) { function bullet_the_post_navigation() { the_post_navigation( array( 'prev_text' => '' . esc_html__('< ', 'bullet') . ' %title', 'next_text' => '%title ' . esc_html__(' >', 'bullet') . '', ) ); } } if (!function_exists('bullet_the_posts_pagination')) { function bullet_the_posts_pagination() { the_posts_pagination( array( // 'type' => 'list', 'class' => 'my-2', 'mid_size' => 1, 'end_size' => 2, ) ); } }