-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpage.php
87 lines (79 loc) · 2.53 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?php get_header(); ?>
<style>
.article-meta {
display: none;
}
#container .article .article-title {
padding-right: 0;
}
.article-header {
padding: 0;
padding-top: 26px;
border-left: none;
text-align: center;
}
.article-header:hover {
border-left: none;
}
.article-title {
font-size: 1.6em
}
.article-entry hr {
margin: 0;
}
.article-meta, #container .article-info-post.article-info {
display: none;
}
#container .article .article-title {
padding: 0;
}
</style>
</head>
<body>
<div id="container">
<!-- 左边栏 -->
<?php include 'left.php'; ?>
<div class="mid-col">
<?php include 'nav.php'; ?>
<div class="body-wrap">
<?php if (have_posts()) : the_post(); update_post_caches($posts); ?>
<article class="article article-type-page"
itemscope itemprop="blogPost">
<div class="article-inner">
<input type="hidden" class="isFancy" />
<header class="article-header">
<h1 class="article-title" itemprop="name"><?php the_title(); ?></h1>
</header>
<div class="article-info article-info-post">
<div class="clearfix"></div>
</div>
<div class="article-entry" itemprop="articleBody">
<hr>
<?php the_content(); ?></div>
</div>
</article>
<div class="share">
<div class="bdsharebuttonbox">
<a href="#" class="fa fa-weibo bds_tsina" data-cmd="tsina"
title="分享到新浪微博"></a> <a href="#" class="fa fa-qq bds_sqq"
data-cmd="sqq" title="分享给 QQ 好友"></a> <a href="#"
class="fa fa-files-o bds_copy" data-cmd="copy" title="复制网址"></a>
<a href="#" class="fa fa fa-envelope-o bds_mail" data-cmd="mail"
title="通过邮件分享"></a> <a href="#" class="fa fa-weixin bds_weixin"
data-cmd="weixin" title="生成文章二维码"></a> <a href="#"
class="fa fa-share-alt bds_more" data-cmd="more"></i></a>
</div>
<script>
window._bd_share_config={
"common":{"bdSnsKey":{},"bdText":"<?php the_title(); ?>| <?php bloginfo('name'); ?>","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"24"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
</script>
</div>
<section id="comments">
<!-- 这里面是评论模块 -->
<?php if(comments_open()): comments_template(); endif;?>
</section>
</div>
<?php endif; ?>
<?php include 'footer.php'; ?>
</body>
</html>