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

Sensei_Twentythirteen   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Coupling/Cohesion

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

2 Methods

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