post_excerpt_meta_box()
最后更新于:2021-11-27 19:11:35
post_excerpt_meta_box( GC_Post$post)Display post excerpt form fields.
参数
- $post
-
(GC_Post) (Required)
源文件
文件: gc-admin/includes/meta-boxes.php
function post_excerpt_meta_box( $post ) {
?>
<label class="screen-reader-text" for="excerpt"><?php _e( 'Excerpt' ); ?></label><textarea rows="1" cols="40" name="excerpt" id="excerpt"><?php echo $post->post_excerpt; // textarea_escaped ?></textarea>
<p>
<?php
printf(
/* translators: %s: Documentation URL. */
__( 'Excerpts are optional hand-crafted summaries of your content that can be used in your theme. <a href="https://docs.gechiui.com/functions/post_excerpt_meta_box/%s">Learn more about manual excerpts</a>.' ),
__( 'https://gechiui.org/support/article/excerpt/' )
);
?>
</p>
<?php
}