-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
48 lines (39 loc) · 958 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
get_header();
?>
<?php the_large_title(); ?>
<?php the_showcase(); ?>
<?php
if ( have_posts() ) :
while ( have_posts() ) : the_post();
global $post;
?>
<div id="content" class="wrap group site-content content-two-column content-style" role="main">
<?php
if ( !empty( $post->post_excerpt ) ) { ?>
<div class="content-header">
<h2><?php the_excerpt(); ?></h2>
</div>
<div class="content-top">
<?php print apply_filters( 'the_content', get_cmb_value( 'top_content' ) ); ?>
</div>
<?php } ?>
<div class="three-quarter right">
<?php
the_content();
if ( members_can_current_user_view_post( $post->ID ) ) {
the_accordion();
}
?>
</div>
<div class="quarter sidebar right">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar-generic') ) : ?><!-- no sidebar --><?php endif; ?>
</div>
</div><!-- #content -->
<?php
endwhile;
endif;
?>
<?php
get_footer();
?>