-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate-page-fullwidth.php
executable file
·51 lines (41 loc) · 1.14 KB
/
template-page-fullwidth.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
<?php
/**
* Template Name: Full Width
*
* This Full Width template removes the primary and secondary asides so that content
* can be displayed the entire width of the #content area.
*
* @package Deciduous
* @subpackage Templates
*/
?>
<?php
// calling the header.php
get_header();
?>
<?php
// Load action hook: deciduous_a_before_container
deciduous_do_before_container();
?>
<div id="container" class="content-wrapper">
<?php
// Load action hook: deciduous_a_before_content
deciduous_do_before_content();
?>
<div id="content" class="site-content" role="main">
<?php
// Load the page content template part
locate_template( array( 'template-parts/content/content-page.php' ) , true );
?>
</div><!-- #content -->
<?php
// Load action hook: deciduous_a_after_content
deciduous_do_after_content();
?>
</div><!-- #container -->
<?php
// Load action hook: deciduous_a_after_container
deciduous_do_after_container();
// calling footer.php
get_footer();
?>