-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
executable file
·58 lines (43 loc) · 1.36 KB
/
single.php
File metadata and controls
executable file
·58 lines (43 loc) · 1.36 KB
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
<?php get_header(); ?>
<main class="main" role="main">
<!-- section -->
<section class="single-post-content clear">
<?php if (have_posts()): while (have_posts()) : the_post(); ?>
<!-- article -->
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<!-- post thumbnail -->
<?php if ( has_post_thumbnail()) : // Check if Thumbnail exists ?>
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
<?php the_post_thumbnail(); // Fullsize image for the single post ?>
</a>
<?php endif; ?>
<!-- /post thumbnail -->
<!-- post title -->
<h1><?php the_title(); ?></a></h1>
<!-- /post title -->
<p class="tip-meta"><?php _e( '', 'html5blank' ); the_category(', '); // Separated by commas ?></p>
<?php the_content(); // Dynamic Content ?>
<div class="single-post-rating">
<h2>Beoordeel deze tip:</h2>
<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
</div>
<div class="related-posts">
<?php rp4wp_children(); ?>
</div>
</article>
<!-- /article -->
<?php comments_template(); ?>
<?php endwhile; ?>
<?php else: ?>
<!-- article -->
<article>
<h1><?php _e( 'Sorry, nothing to display.', 'html5blank' ); ?></h1>
</article>
<!-- /article -->
<?php endif; ?>
</section>
<!-- /section -->
</main>
<?php get_sidebar(); ?>
<div class="clear"></div>
<?php get_footer(); ?>