-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
57 lines (33 loc) · 921 Bytes
/
index.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
<?php
namespace openday;
if ( ! defined( 'ABSPATH' ) ) { exit; };
get_header();
?>
<div class="row">
<div class="col-xs-12 col-sm-12 <?php echo ( is_active_sidebar( 'column' ) ) ? 'col-md-8 col-lg-8' : 'col-md-12 col-lg-12'; ?>">
<?php
the_pageheader();
?>
<div class="row middle-xs">
<div class="col-xs-12 col-sm-6">
<?php the_breadcrumbs(); ?>
</div>
<div class="col-xs-12 col-sm-6 text-right">
<div class="display-inline"><?php the_share_link( '' ); ?></div>
</div>
</div>
<?php
if ( is_singular() ) {
get_template_part( 'parts/singular' );
} else {
get_template_part( 'parts/archive' );
}
?>
</div>
<?php if ( is_active_sidebar( 'column' ) ) : ?>
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
<?php get_sidebar( 'column' ); ?>
</div>
<?php endif; ?>
</div>
<?php get_footer(); ?>