-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.php
144 lines (119 loc) · 7 KB
/
single.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?php
get_header();
while(have_posts()) {
the_post(); ?>
<!-- Begin Article
================================================== -->
<div class="container">
<div class="row">
<!-- Begin Fixed Left Share -->
<div class="col-md-2 col-xs-12">
<div class="share">
<p>
Share
</p>
<ul>
<li>
<a target="_blank" href="https://twitter.com/home?status=<?php the_permalink(); ?>">
<svg class="svgIcon-use" width="29" height="29" viewbox="0 0 29 29"><path d="M21.967 11.8c.018 5.93-4.607 11.18-11.177 11.18-2.172 0-4.25-.62-6.047-1.76l-.268.422-.038.5.186.013.168.012c.3.02.44.032.6.046 2.06-.026 3.95-.686 5.49-1.86l1.12-.85-1.4-.048c-1.57-.055-2.92-1.08-3.36-2.51l-.48.146-.05.5c.22.03.48.05.75.08.48-.02.87-.07 1.25-.15l2.33-.49-2.32-.49c-1.68-.35-2.91-1.83-2.91-3.55 0-.05 0-.01-.01.03l-.49-.1-.25.44c.63.36 1.35.57 2.07.58l1.7.04L7.4 13c-.978-.662-1.59-1.79-1.618-3.047a4.08 4.08 0 0 1 .524-1.8l-.825.07a12.188 12.188 0 0 0 8.81 4.515l.59.033-.06-.59v-.02c-.05-.43-.06-.63-.06-.87a3.617 3.617 0 0 1 6.27-2.45l.2.21.28-.06c1.01-.22 1.94-.59 2.73-1.09l-.75-.56c-.1.36-.04.89.12 1.36.23.68.58 1.13 1.17.85l-.21-.45-.42-.27c-.52.8-1.17 1.48-1.92 2L22 11l.016.28c.013.2.014.35 0 .52v.04zm.998.038c.018-.22.017-.417 0-.66l-.498.034.284.41a8.183 8.183 0 0 0 2.2-2.267l.97-1.48-1.6.755c.17-.08.3-.02.34.03a.914.914 0 0 1-.13-.292c-.1-.297-.13-.64-.1-.766l.36-1.254-1.1.695c-.69.438-1.51.764-2.41.963l.48.15a4.574 4.574 0 0 0-3.38-1.484 4.616 4.616 0 0 0-4.61 4.613c0 .29.02.51.08.984l.01.02.5-.06.03-.5c-3.17-.18-6.1-1.7-8.08-4.15l-.48-.56-.36.64c-.39.69-.62 1.48-.65 2.28.04 1.61.81 3.04 2.06 3.88l.3-.92c-.55-.02-1.11-.17-1.6-.45l-.59-.34-.14.67c-.02.08-.02.16 0 .24-.01 2.12 1.55 4.01 3.69 4.46l.1-.49-.1-.49c-.33.07-.67.12-1.03.14-.18-.02-.43-.05-.64-.07l-.76-.09.23.73c.57 1.84 2.29 3.14 4.28 3.21l-.28-.89a8.252 8.252 0 0 1-4.85 1.66c-.12-.01-.26-.02-.56-.05l-.17-.01-.18-.01L2.53 21l1.694 1.07a12.233 12.233 0 0 0 6.58 1.917c7.156 0 12.2-5.73 12.18-12.18l-.002.04z"></path></svg>
</a>
</li>
<li>
<a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=<?php the_permalink(); ?>">
<svg class="svgIcon-use" width="29" height="29" viewbox="0 0 29 29"><path d="M16.39 23.61v-5.808h1.846a.55.55 0 0 0 .546-.48l.36-2.797a.551.551 0 0 0-.547-.62H16.39V12.67c0-.67.12-.813.828-.813h1.474a.55.55 0 0 0 .55-.55V8.803a.55.55 0 0 0-.477-.545c-.436-.06-1.36-.116-2.22-.116-2.5 0-4.13 1.62-4.13 4.248v1.513H10.56a.551.551 0 0 0-.55.55v2.797c0 .304.248.55.55.55h1.855v5.76c-4.172-.96-7.215-4.7-7.215-9.1 0-5.17 4.17-9.36 9.31-9.36 5.14 0 9.31 4.19 9.31 9.36 0 4.48-3.155 8.27-7.43 9.15M14.51 4C8.76 4 4.1 8.684 4.1 14.46c0 5.162 3.75 9.523 8.778 10.32a.55.55 0 0 0 .637-.543v-6.985a.551.551 0 0 0-.55-.55H11.11v-1.697h1.855a.55.55 0 0 0 .55-.55v-2.063c0-2.02 1.136-3.148 3.03-3.148.567 0 1.156.027 1.597.06v1.453h-.924c-1.363 0-1.93.675-1.93 1.912v1.78c0 .3.247.55.55.55h2.132l-.218 1.69H15.84c-.305 0-.55.24-.55.55v7.02c0 .33.293.59.623.54 5.135-.7 9.007-5.11 9.007-10.36C24.92 8.68 20.26 4 14.51 4"></path></svg>
</a>
</li>
</ul>
<div class="sep">
</div>
<p>
Talk
</p>
<ul>
<li>
<a href="#comments">
<?php echo get_comments_number(); ?><br/>
<svg class="svgIcon-use" width="29" height="29" viewbox="0 0 29 29"><path d="M21.27 20.058c1.89-1.826 2.754-4.17 2.754-6.674C24.024 8.21 19.67 4 14.1 4 8.53 4 4 8.21 4 13.384c0 5.175 4.53 9.385 10.1 9.385 1.007 0 2-.14 2.95-.41.285.25.592.49.918.7 1.306.87 2.716 1.31 4.19 1.31.276-.01.494-.14.6-.36a.625.625 0 0 0-.052-.65c-.61-.84-1.042-1.71-1.282-2.58a5.417 5.417 0 0 1-.154-.75zm-3.85 1.324l-.083-.28-.388.12a9.72 9.72 0 0 1-2.85.424c-4.96 0-8.99-3.706-8.99-8.262 0-4.556 4.03-8.263 8.99-8.263 4.95 0 8.77 3.71 8.77 8.27 0 2.25-.75 4.35-2.5 5.92l-.24.21v.32c0 .07 0 .19.02.37.03.29.1.6.19.92.19.7.49 1.4.89 2.08-.93-.14-1.83-.49-2.67-1.06-.34-.22-.88-.48-1.16-.74z"></path></svg>
</a>
</li>
</ul>
<div class="sep">
</div>
<p>
Save
</p>
<ul>
<li>
<span class="post-read-more"><a href="https://getpocket.com/save" class="pocket-btn" data-lang="en" data-save-url="<?php the_permalink(); ?>" data-pocket-count="vertical"></a><script type="text/javascript">!function(d,i){if(!d.getElementById(i)){var j=d.createElement("script");j.id=i;j.src="https://widgets.getpocket.com/v1/j/btn.js?v=1";var w=d.getElementById(i);d.body.appendChild(j);}}(document,"pocket-btn-js");</script></span>
</li>
</ul>
</div>
</div>
<!-- End Fixed Left Share -->
<!-- Begin Post -->
<div class="col-md-8 col-md-offset-2 col-xs-12">
<div class="mainheading">
<h1 class="posttitle"><?php the_title() ?></h1>
</div>
<!-- Begin Tags -->
<div class="after-post-tags">
<ul class="tags">
<li><?php echo get_the_category_list(' '); ?></li>
<span class="post-date"><?php the_time('d F Y'); ?></span> -
<span class="post-date"><?php echo reading_time(); ?></span>
</ul>
</div>
<!-- End Tags -->
<!-- Begin Featured Image -->
<img class="featured-image img-fluid" src="assets/img/demopic/10.jpg" alt="">
<!-- End Featured Image -->
<!-- Begin Post Content -->
<div class="article-post">
<?php the_content() ?>
</div>
<!-- End Post Content -->
<!-- Begin Tags -->
<div class="after-post-tags">
<ul class="tags">
<li><?php the_tags( 'Tagged with: ', ' ', '<br />' ); ?></li>
</ul>
</div>
<!-- End Tags -->
<div class="col-md-6 col-xs-12 rightborder pl-0"><div class="thepostlink"><p><?php previous_post_link(); ?></p></div></div>
<div class="col-md-6 col-xs-12 text-right pr-0"><div class="thepostlink"><p><?php next_post_link(); ?> </p> </div></div>
<!-- Begin Top Meta -->
<div class="row post-top-meta">
<div class="col-md-2">
<a href="/author/<?php echo get_the_author_link() ?>"><img class="author-thumb" src="<?php echo get_avatar_url($author->ID, 150); ?>" alt="Author"></a>
</div>
<div class="col-md-10">
<a class="link-dark" href="/author/<?php echo get_the_author_link() ?>"><?php echo get_the_author(); ?></a><a href="/author/<?php echo get_the_author_link() ?>" class="btn follow">Follow</a>
<span class="author-description d-block"><?php echo get_the_author_meta( 'description' ); ?></span>
<span class="post-date"><?php the_time('d F Y'); ?></span><span class="dot">
</div>
<br><br><br>
</div>
<!-- End Top Meta -->
<div class="article-post">
<?php comment_form( $args, $post_id );
paginate_comments_links()
?>
</div>
</div>
<!-- End Post -->
</div>
</div>
<!-- End Article
================================================== -->
<!-- Begin AlertBar
==================================================
<div class="alertbar">
<div class="container text-center">
Never miss a <b>story</b> from us, get updates directly into your inbox. <a href="#" class="btn subscribe">Get Updates</a>
</div>
</div>
End AlertBar
================================================== -->
<?php }
get_footer();
?>