forked from mojaray2k/mayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.php
More file actions
46 lines (34 loc) · 1016 Bytes
/
page.php
File metadata and controls
46 lines (34 loc) · 1016 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
<?php
/**
* The page template. Used when an individual page is queried.
*
* @package Mayer
* @since 1.0.0
*/
?>
<?php get_header(); ?>
<div id="primary-wrapper">
<div id="primary" class="container">
<?php if ( is_rtl() || mayer_has_left_sidebar() ) { ?>
<?php get_sidebar(); ?>
<?php } ?>
<main id="main" class="site-main col-lg-8 col-md-8" role="main">
<?php while ( have_posts() ) { ?>
<?php the_post(); ?>
<div <?php post_class(); ?>>
<h1 class="page-title entry-title">
<?php the_title(); ?>
</h1><!-- .post-title -->
<div class="post-content">
<?php the_content( __( 'Read More', 'mayer' ) ); ?>
</div><!-- .post-content -->
<?php comments_template(); ?>
</div><!-- .col-lg-8 -->
<?php } ?>
</main><!-- #main -->
<?php if ( ! is_rtl() && ! mayer_has_left_sidebar() ) { ?>
<?php get_sidebar(); ?>
<?php } ?>
</div><!-- #primary -->
</div><!-- /#primary-wrapper -->
<?php get_footer(); ?>