wpseek.com
WordPress开发者和主题制作者的搜索引擎
post_excerpt_meta_box › WordPress Function
Since2.6.0
已弃用n/a
› post_excerpt_meta_box ( $post )
参数: |
|
定义在: |
|
文档: |
Displays post excerpt form fields.
Related Functions: post_comment_meta_box, post_format_meta_box, post_custom_meta_box, post_tags_meta_box, post_submit_meta_box
源码
function post_excerpt_meta_box( $post ) { ?> <label class="screen-reader-text" for="excerpt"> <?php /* translators: Hidden accessibility text. */ _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="%s">Learn more about manual excerpts</a>.' ), __( 'https://wordpress.org/documentation/article/what-is-an-excerpt-classic-editor/' ) ); ?> </p> <?php }