-
Notifications
You must be signed in to change notification settings - Fork 84
/
page.php
34 lines (32 loc) · 913 Bytes
/
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
<?php
/**
* The template for displaying all pages.
*
* @package Neve
* @since 1.0.0
*/
$container_class = apply_filters( 'neve_container_class_filter', 'container', 'single-page' );
get_header();
?>
<div class="<?php echo esc_attr( $container_class ); ?> single-page-container">
<div class="row">
<?php do_action( 'neve_do_sidebar', 'single-page', 'left' ); ?>
<div class="nv-single-page-wrap col">
<?php
do_action( 'neve_page_header', 'single-page' );
do_action( 'neve_before_content', 'single-page' );
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
get_template_part( 'template-parts/content', 'page' );
}
} else {
get_template_part( 'template-parts/content', 'none' );
}
do_action( 'neve_after_content', 'single-page' );
?>
</div>
<?php do_action( 'neve_do_sidebar', 'single-page', 'right' ); ?>
</div>
</div>
<?php get_footer(); ?>