-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.php
executable file
·60 lines (59 loc) · 2.13 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
<?php get_header(); ?>
<div id="content" class="clearfix container1160 mb_80 blogDetail">
<div id="main" role="main">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<header>
<div class="page-header page-header-blog">
<div class="container container1160">
<div class="blog-detail-title-line">
<div class="backButtonBlock">
<div class="backButton">
<a href="<?php echo site_url(); ?>/blog">
<i class="fa fa-chevron-left button_back"> </i>
</a>
</div>
<div class="small_titles"><a href="<?php echo site_url(); ?>/blog">back</a></div>
</div>
<div class="blog-entry-title-line">
<div class="entry-title"><?php the_title(); ?></div>
<div class="entry-info"><?php the_date('d.m.Y'); ?><?php //echo ", ".get_the_time(); ?></div>
</div>
</div>
</div>
</div>
</header>
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
<section class="clearfix mb_80 mt_32">
<div class="container container620">
<div class="row">
<div class="text_big col-sm-12 clearfix"><?php the_content(); ?></div>
<div class="col-sm-12 text_indent blog_meta">
<div class="blog_posted mt_5">posted in <?php the_category( ' ' ); ?> <span class="disqus-comment-count" data-disqus-identifier="<?php echo $post->post_name; ?>-identifier"></span></div>
</div>
</div>
</div>
</section>
</article>
<?php
// If comments are open or we have at least one comment, load up the comment template.
echo "<div class=\"container container620\">";
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
echo "</div>";
endwhile; ?>
<?php else : ?>
<article id="post-not-found">
<header>
<h1><?php _e("Not Found", "wpbootstrap"); ?></h1>
</header>
<section class="post_content">
<p><?php _e("Sorry, but the requested resource was not found on this site.", "wpbootstrap"); ?></p>
</section>
<footer>
</footer>
</article>
<?php endif; ?>
</div>
</div>
<?php get_footer(); ?>