使用 the_date() 或 get_the_date() 函数。可以直接使用: <?php the_date(); ?> 或者将其用 <h2> 标签包装起来(例如):<?php get_the_date('F M Y', '<h2>', '</h2>'); ?>