forked from gramophone-wp/Gramophone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
54 lines (42 loc) · 1.07 KB
/
page.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
52
53
54
<?php
/**
*******************************************************************************
* //page.php
*******************************************************************************
*
* The general page.
*
* CODEX REF
* https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/
*
* @author
* @copyright
* @link
* @todo
* @license
* @since
* @version
**/
?>
<?php get_header(); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="jumbotron jumbotron-fluid">
<div class="container">
<h1><?php the_title(); ?></h1>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12 text-justify">
<?php the_content(); ?>
<?php endwhile; else: ?>
<div class="page-header">
<h1>Oh no!</h1>
</div>
<p>No content is appearing for this page!</p>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>