-
Notifications
You must be signed in to change notification settings - Fork 40
/
page.php
78 lines (63 loc) · 1.4 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
73
74
75
76
77
78
<?php
/**
* Theme Page Section for our theme.
*
* @package ColorMag
*
* @since ColorMag 1.0.0
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
get_header();
?>
<div class="cm-row">
<?php
/**
* Hook: colormag_before_body_content.
*/
do_action( 'colormag_before_body_content' );
?>
<div id="cm-primary" class="cm-primary">
<div class="cm-posts clearfix">
<?php
/**
* Hook: colormag_before_single_page_loop.
*/
do_action( 'colormag_before_single_page_loop' );
while ( have_posts() ) :
the_post();
get_template_part( 'template-parts/content', 'page' );
/**
* Hook: colormag_before_comments_template.
*/
do_action( 'colormag_before_comments_template' );
/**
* Functions hooked into colormag_action_after_inner_content action.
*
* @hooked colormag_render_comments - 10
*/
do_action( 'colormag_action_comments' );
/**
* Hook: colormag_after_comments_template.
*/
do_action( 'colormag_after_comments_template' );
endwhile;
/**
* Hook: colormag_after_single_page_loop.
*/
do_action( 'colormag_after_single_page_loop' );
?>
</div><!-- .cm-posts -->
</div><!-- #cm-primary -->
<?php
colormag_sidebar_select();
/**
* Hook: colormag_after_body_content.
*/
do_action( 'colormag_after_body_content' );
?>
</div>
<?php
get_footer();