', 'after' => '
', ]); ?>'far fa-clock', 'text' => sprintf(__('发布于 %s', 'aksrt'), get_the_date()), ]; } $author_meta_items[] = [ 'icon' => 'far fa-eye', 'text' => sprintf(__('浏览 %s', 'aksrt'), function_exists('aksrt_format_number') ? aksrt_format_number($views) : number_format_i18n($views)), ]; $author_meta_items[] = [ 'icon' => 'fas fa-download', 'text' => sprintf(__('下载 %s', 'aksrt'), number_format_i18n($downloads)), ]; if ($word_count > 0) { $author_meta_items[] = [ 'icon' => 'far fa-file-word', 'text' => sprintf(__('约 %s 字', 'aksrt'), number_format_i18n($word_count)), ]; } if ($reading_minutes > 0) { $author_meta_items[] = [ 'icon' => 'far fa-hourglass-half', 'text' => sprintf(_n('约 %d 分钟', '约 %d 分钟', $reading_minutes, 'aksrt'), $reading_minutes), ]; } $show_action_card = !empty($single_settings['like_enabled']) || !empty($single_settings['favorite_enabled']) || !empty($single_settings['share_enabled']) || !empty($single_settings['print_enabled']) || !empty($single_settings['pdf_export_enabled']); $copyright_text = trim((string) ($single_settings['copyright_text'] ?? '')); if ($copyright_text === '') { $copyright_text = sprintf( /* translators: %s: author display name */ __('本文由 %s 原创发布,转载请注明出处。', 'aksrt'), get_the_author() ); } set_query_var('aksrt_resource_meta', $resource_meta); ?>
', 'after' => '
', ]); ?>