-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.php
executable file
·52 lines (36 loc) · 1.23 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
<?php get_header(); ?>
<?php
while ( have_posts() ) :
the_post();
?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="row">
<div class="col-md-8">
<?php do_action( 'orbis_before_main_content' ); ?>
<?php get_template_part( 'templates/sections' ); ?>
<?php do_action( 'orbis_after_main_content' ); ?>
<?php comments_template( '', true ); ?>
</div>
<div class="col-md-4">
<?php do_action( 'orbis_before_side_content' ); ?>
<div class="card">
<div class="card-header"><?php esc_html_e( 'Additional Information', 'orbis-4' ); ?></div>
<div class="card-body">
<dl>
<dt><?php esc_html_e( 'Posted on', 'orbis-4' ); ?></dt>
<dd><?php echo esc_html( get_the_date() ); ?></dd>
<dt><?php esc_html_e( 'Posted by', 'orbis-4' ); ?></dt>
<dd><?php echo esc_html( get_the_author() ); ?></dd>
<?php if ( null !== get_edit_post_link() ) : ?>
<dt><?php esc_html_e( 'Actions', 'orbis-4' ); ?></dt>
<dd><?php edit_post_link( __( 'Edit', 'orbis-4' ) ); ?></dd>
<?php endif; ?>
</dl>
</div>
</div>
<?php do_action( 'orbis_after_side_content' ); ?>
</div>
</div>
</div>
<?php endwhile; ?>
<?php get_footer(); ?>