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

Sensei_Twentytwelve::wrapper_start()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 7
rs 9.4286
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
/**
3
 * Class Sensei_Twentytwelve
4
 *
5
 * Responsible for wrapping twenty twelve theme Sensei content
6
 * with the correct markup
7
 *
8
 * @since 1.9.0
9
*/
10
Class Sensei_Twentytwelve {
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