下面的代码用于获取WordPress的文章摘要,特此笔记:
<?php if(!empty($post->post_excerpt)) : ?> <p class="excerpt"><?php print $post->post_excerpt ?></p> <div class="separator light"></div> <?php endif; ?>