Files
wp-blog/wp-content/themes/Beginning/page.php
T
2018-05-08 11:22:54 +08:00

32 lines
1.1 KiB
PHP

<?php get_header(); ?>
<section id="container">
<div class="row">
<?php the_post(); ?>
<article id="post-box" itemscope itemtype="http://schema.org/Article" <?php post_class( 'span12' ); ?>>
<div class="panel">
<header class="panel-header">
<div class="post-meta-box">
<?php
if ( Bing_mpanel( 'breadcrumbs' ) )
Bing_Breadcrumbs::output();
Bing_post_meta( 'comments' );
?>
</div>
<?php
the_title( '<' . Bing_get_page_title_tag() . ' class="post-title">', '</' . Bing_get_page_title_tag() . '>' );
edit_post_link( '<span class="dashicons dashicons-edit"></span>' . __( '编辑', 'Bing' ), '<span class="right">', '</span>' );
?>
</header>
<section class="context">
<?php
the_content();
wp_link_pages( array( 'before' => '<div class="page-links">' . __( '页码:', 'Bing' ), 'after' => '</div>' ) );
?>
</section>
</div>
</article>
<?php if( !post_password_required() && ( comments_open() || get_comments_number() > 0 ) ) comments_template( '', true ); ?>
</div>
</section>
<?php get_footer(); ?>