-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpage.php
72 lines (55 loc) · 1.43 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
/**
* The template for displaying all pages.
*
* @package Betheme
* @author Muffin group
* @link http://muffingroup.com
*/
get_header();
?>
<!-- #Content -->
<div id="Content">
<div class="content_wrapper clearfix">
<!-- .sections_group -->
<div class="sections_group">
<div class="entry-content" itemprop="mainContentOfPage">
<?php
while ( have_posts() ){
the_post(); // Post Loop
mfn_builder_print( get_the_ID() ); // Content Builder & WordPress Editor Content
}
?>
<div class="section section-page-footer">
<div class="section_wrapper clearfix">
<div class="column one page-pager">
<?php
// List of pages
wp_link_pages(array(
'before' => '<div class="pager-single">',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
'next_or_number' => 'number'
));
?>
</div>
</div>
</div>
</div>
<?php if( mfn_opts_get('page-comments') ): ?>
<div class="section section-page-comments">
<div class="section_wrapper clearfix">
<div class="column one comments">
<?php comments_template( '', true ); ?>
</div>
</div>
</div>
<?php endif; ?>
</div>
<!-- .four-columns - sidebar -->
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer();
// Omit Closing PHP Tags