Completed
Push — master ( 80c0ca...82d23b )
by Dwain
04:32
created

Sensei_Twentyfourteen   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 34
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A wrapper_start() 0 9 1
A wrapper_end() 0 11 1
1
<?php
2
/**
3
 * Class Sensei_Twentyfourteen
4
 *
5
 * Responsible for wrapping twenty fourteen theme Sensei content
6
 * with the correct markup
7
 *
8
 * @since 1.9.0
9
*/
10
Class Sensei_Twentyfourteen {
11
12
    /**
13
     * Output opening wrappers
14
     * @since 1.9.0
15
     */
16
    public function wrapper_start(){
17
    ?>
18
19
        <div id="main-content" class="main-content">
20
            <div id="primary" class="content-area">
21
                <div id="content" class="site-content" role="main">
22
                    <div class="entry-content">
23
24
    <?php }
25
26
    /**
27
     * Output closing wrappers
28
     *
29
     * @since 1.9.0
30
     */
31
    public function wrapper_end(){ ?>
32
33
34
                    </div>
35
                </div>
36
            </div>
37
        </div>
38
39
        <?php
40
        get_sidebar();
41
	 }
42
43
}
44