wordpress content.php,2020主题:content.php -ag凯发k8国际
entry(计:条目)
entry-header
entry-content
id="post-">
get_template_part( 'template-parts/entry-header' );
if ( ! is_search() ) {
get_template_part( 'template-parts/featured-image' );
}
?>
if ( is_search() || ! is_singular() && 'summary' === get_theme_mod( 'blog_content', 'full' ) ) {
the_excerpt();
} else {
the_content( __( 'continue reading', 'twentytwenty' ) );
}
?>
wp_link_pages(
array(
'before' => '' . __( 'pages:', 'twentytwenty' ) . '',
'after' => '',
'link_before' => '',
'link_after' => '',
)
);
edit_post_link();
// single bottom post meta.
twentytwenty_the_post_meta( get_the_id(), 'single-bottom' );
if ( is_single() ) {
get_template_part( 'template-parts/entry-author-bio' );
}
?>
if ( is_single() ) {
get_template_part( 'template-parts/navigation' );
}
/**
* output comments wrapper if it's a post, or if comments are open,
* or if there's a comment number – and check for password.
* */
if ( ( is_single() || is_page() ) && ( comments_open() || get_comments_number() ) && ! post_password_required() ) {
?>
}
?>
总结
以上是ag凯发k8国际为你收集整理的wordpress content.php,2020主题:content.php的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: matlab已知坐标均匀取电,基于mat
- 下一篇: php要字符串的后四位,php如何截取字