forked from NGXTDN/pandapro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
40 lines (39 loc) · 1.32 KB
/
page.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
<?php
/**
* The template for displaying all single posts#single-post
*
* @package Panda PRO
*/
get_header();
?>
<?php while ( have_posts() ) : the_post() ?>
<main class="py-4 py-md-5">
<div class="container">
<?php pandapro_breadcrumbs() ?>
<div class="row">
<div class="col-lg-8">
<div class="post card">
<div class="card-body">
<div class="post-header mb-3">
<h1 class="h3 m-0"><?php the_title() ?><?php edit_post_link(__('Edit', 'pandapro'), '<small class="mx-2">[', ']</small>'); ?></h1>
</div>
<div class="post-content">
<?php the_content() ?>
<?php get_template_part( 'template-parts/wp-link-pages' ); ?>
</div>
</div>
</div>
<?php get_template_part('template-parts/ad/single-ad'); ?>
<?php
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
</div>
<?php get_sidebar() ?>
</div>
</div>
</main>
<?php endwhile; ?>
<?php
get_footer();