-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar-right.php
More file actions
47 lines (32 loc) · 996 Bytes
/
sidebar-right.php
File metadata and controls
47 lines (32 loc) · 996 Bytes
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
<?php
/*
Template Name: Sidebar Right
Template Post Type: post, page, portfolio, news, documents
*/
get_header();
while (have_posts()){
the_post();
?>
<div class="container">
<div class="row">
<div class="col-lg-10 mt-5">
<span class="img-fluid rounded image-contained mb-3"><?php the_post_thumbnail(); ?></span>
<div class="date_holder"><span class="day"><?php the_time('j'); ?></span><span class="month"><?php the_time('F'); ?></span></div>
<h1 class="mt-4"><?php the_title(); ?></h1>
<p class="lead">By <a href="#"><?php echo get_the_author(); ?></a></p>
<hr>
<p>Posted: <?php the_date(get_option('date_format')); ?></p>
<hr>
<?php
the_content();
};
?>
<hr class="specialHr">
<?php comment_form(); ?>
</div>
<div class="col-md-2">
<?php dynamic_sidebar( 'primary' ); ?>
</div>
</div>
</div>
<?php get_footer(); ?>