forked from imvicchen/victheme-Wordpress-Theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
37 lines (37 loc) · 1.6 KB
/
page.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php get_header(); ?>
<div class="row">
<div class="col-sm-12 col-md-12">
<div class="panel panel-default">
<?php if(have_posts()): ?>
<?php while(have_posts()):the_post(); ?>
<article class="vc-blog">
<h1 class="vc-blog-title"><?php the_title(); ?></h1>
<p class="vc-author-info">
<time>
<?php echo get_the_date( 'Y-m-d'); ?>
</time> •
<span><?php echo get_the_author(); ?></span> •
<span><a href=""><?php comments_popup_link( '0','1','%');?>条评论</a></span> •
<span><?php post_views(' ', ' 次浏览'); ?></span>
</p>
<div class="vc-blog-content">
<?php the_content(); ?>
</div>
<span class="vc-tags">
<?php the_tags('',' ',''); ?>
</span>
<div class="vc-copyright">
本站文章除注明转载外,均为原创文章。转载请注明:文章转载自:
<?php bloginfo( 'name'); ?>(
<a href="<?php bloginfo('url'); ?>">
<?php bloginfo( 'url'); ?>
</a>)
</div>
</article>
<?php endwhile; ?>
<?php endif;?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>