-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
43 lines (29 loc) · 1.17 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
<?php
/**
* Default Page Template
*
* @package Tomato
* @author ThemeSuared
* @link http://themesuared.com/tomato/
*/
get_header();
//Get Page Meta Value.
$spyropress_options = get_post_meta( get_the_ID(), '_page_options', true );
spyropress_before_main_container();
get_template_part( 'templates/page', 'breadcrumb' ); //Include Page Breadcrumb Html.
spyropress_before_loop();
while( have_posts() ) {
the_post();
spyropress_before_post();
get_template_part( 'page', 'content' );
// Page Comments
if( !isset( $spyropress_options['spyropress_comments'] ) && empty( $spyropress_options['spyropress_comments'] ) ){
echo '<div class="container section"><hr>';
comments_template( '', true );
echo '</div>';
}
spyropress_after_post();
}
spyropress_after_loop();
spyropress_after_main_container();
get_footer();