init blog

This commit is contained in:
dengtongyu committed 2018-05-08 11:22:54 +08:00
1 parent 5acc46db8e
commit 843783ce9a
1820 files changed
+539344

No files matched your search

+46
View File
@@ -0,0 +1,46 @@
<?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( array( 'author', 'date-abb', 'comments', 'tags' ) );
?>
</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>' );
if ( Bing_mpanel( 'mobile_single_collapse' ) )
Bing_mobile_tab_menu();
?>
</header>
<section class="context">
<?php
the_content();
wp_link_pages( array(
'before' => '<div class="page-links">' . __( '页码:', 'Bing' ),
'after' => '</div>'
) );
?>
</section>
</div>
</article>
<?php
Bing_banner_post_bottom();
if( Bing_mpanel( 'related_posts' ) && get_post_type() == 'post' )
Bing_related_posts();
if( !post_password_required() && ( comments_open() || get_comments_number() > 0 ) )
comments_template( '', true );
?>
</div>
</section>
<?php get_footer(); ?>