-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
45 lines (37 loc) · 1.01 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
41
42
43
44
45
<?php
/*
* The template for displaying all pages.
*
* @package Valhalla
* @subpackage Templates
*/
// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
exit( 'Direct script access denied.' );
}
?>
<?php get_header('2'); ?>
<div class="main-content-area">
<div class="container-fluid page-section1">
<div class="page-content">
<?php while ( have_posts() ) : the_post(); ?>
<?php the_content();?>
<?php endwhile; ?>
</div>
<div class="clear-fix"></div>
<?php if ( comments_open() || get_comments_number() ) :
comments_template();
endif; ?>
<?php echo wp_kses_post('<div class="pages-navigation">');
wp_link_pages( array(
'before' => wp_kses_post('<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'valhalla' ) . '</span>'),
'after' => wp_kses_post('</div>'),
'link_before' => wp_kses_post('<span class="no">'),
'link_after' => wp_kses_post('</span>'),
) );
echo wp_kses_post('</div>');
?>
</div>
<div class="content-separator"></div>
</div>
<?php get_footer(); ?>