Files
argon-theme/template-parts/content-shuoshuo.php
nanhaoluo 31d8fde308 feat: Argon WordPress主题完整版本
- 基于Argon主题的WordPress博客主题
- 支持响应式设计和暗色模式
- 包含完整的文章管理和评论系统
- 集成友情链接管理功能
- 支持多种自定义设置选项
- 优化的用户界面和交互体验
2026-01-11 19:48:02 +08:00

37 lines
1.4 KiB
PHP

<div class="shuoshuo-container">
<div class="shuoshuo-meta shadow-sm">
<span>
<i class="fa fa-calendar-o" aria-hidden="true"></i>
<span class="shuoshuo-date-month"><?php echo get_the_time('n')?></span> <?php _e('月', 'argon');?>
<span class="shuoshuo-date-date"><?php echo get_the_time('d')?></span> <?php _e('日', 'argon');?> ,
<span class="shuoshuo-date-year"><?php echo get_the_time('Y')?></span>
<div class="post-meta-devide">|</div>
<i class="fa fa-clock-o" aria-hidden="true"></i>
<span class="shuoshuo-date-time"><?php echo get_the_time('G:i:s')?></span>
</span>
<?php if ( is_sticky() ) : ?>
<div class="post-meta-devide">|</div>
<div class="post-meta-detail post-meta-detail-words">
<i class="fa fa-thumb-tack" aria-hidden="true"></i>
<?php _ex('置顶', 'pinned', 'argon');?>
</div>
<?php endif; ?>
</div>
<article class="card shuoshuo-main shuoshuo-foldable bg-white shadow-sm border-0" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( get_the_title() != '' ) : ?>
<a class="shuoshuo-title" href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
<?php endif; ?>
<div class="shuoshuo-content">
<?php the_content(); ?>
</div>
<?php
global $withcomments;
$withcomments = true;
comments_template( '/comments-shuoshuo-preview.php' );
?>
<?php
get_template_part( 'template-parts/shuoshuo', 'operations' );
?>
</article>
</div>