-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsingle.php
executable file
·80 lines (43 loc) · 1.56 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
<?php get_header(); ?>
<?php if (have_posts()): while (have_posts()) : the_post(); ?>
<div id="banner">
<?php if ( has_post_thumbnail()) : // Check if Thumbnail exists ?>
<?php the_post_thumbnail('large'); // Fullsize image for the single post ?>
<?php endif; ?>
<div class="noise"></div>
</div>
<div id="container">
<div id="wiki" class="col8">
<div class="bannerTitle bg5 col8">
<h1><?php the_title(); ?></h1>
</div>
<div id="post">
<div class="intro"><?php the_excerpt(); ?></div>
<div class="wideLine col1"></div>
<?php the_content(); // Dynamic Content ?>
<div class="updated">
<span>Last updated:</span>
<span class="date"><?php the_modified_date(); ?></span>
</div>
<div class="dataBlock">
<h2>Tags</h2>
<div id="tagList">
<?php the_tags( __( '', 'html5blank' ), '', '<br>'); ?>
</div>
</div><div class="dataBlock">
<?php related_posts($post); ?>
</div>
<?php list_references("ref"); ?>
</div><!-- /post -->
</div><!-- /wiki -->
</div><!-- /container -->
<?php endwhile; ?>
<?php else: ?>
<div id="container">
<div id="wiki" class="col8">
<h2>Something went wrong, try again...</h2>
</div><!-- /wiki -->
</div><!-- /container -->
<?php endif; ?>
<?php get_template_part('faq'); ?>
<?php get_footer(); ?>