-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
44 lines (34 loc) · 1000 Bytes
/
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
<?php
/**
* The template for displaying all single posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package rk_90lat
*/
get_header(); ?>
<div id="content" class="site-content container">
<header class="entry-header__single medium-12 large-8">
<?php the_title( '<h1 class="entry-title">', '</h1>' );
if ( 'post' === get_post_type() ) : ?>
<div class="entry-meta">
<?php rk90_posted_on(); ?>
</div><!-- .entry-meta -->
<?php
endif; ?>
</header>
<div id="primary" class="content-area__single medium-8">
<main id="main" class="site-main" role="main">
<!-- .featured image -->
<!-- #featured image -->
<?php
while ( have_posts() ) : the_post();
get_template_part( 'template-parts/content', get_post_format() );
the_post_navigation();
endwhile; // End of the loop.
?>
</main><!-- #main -->
</div><!-- #primary -->
<?php
get_sidebar();
get_footer();