-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpage-documentation.php
More file actions
57 lines (34 loc) · 898 Bytes
/
page-documentation.php
File metadata and controls
57 lines (34 loc) · 898 Bytes
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
/**
* Template Name: Documentation Page
* Description: Page template for documentation
*
* @author Alejandor Mostajo
* @license MIT
* @package Amostajo\DevTemplates
* @version 1.0.0
*/
use DevTemplates\Main as Configuration;
?>
<?php get_header() ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<section id="documentation" class="page-fix">
<div class="container">
<div class="row">
<div class="col-sm-3">
<?php if ( has_nav_menu( Configuration::MENU_DOCUMENTATION ) ) { ?>
<?php theme()->nav( Configuration::MENU_DOCUMENTATION ) ?>
<?php } ?>
</div>
<div class="col-sm-9">
<h1><?php the_title() ?></h1>
<div class="wrapper">
<?php the_content() ?>
</div>
</div>
</div>
</div>
</section>
<?php endwhile; ?>
<?php endif; ?>
<?php get_footer() ?>