-
Notifications
You must be signed in to change notification settings - Fork 48
/
page.php
41 lines (36 loc) · 860 Bytes
/
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
<?php
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site will use a
* different template.
*
* Please see /external/bootsrap-utilities.php for info on BsWp::get_template_parts()
*
* @package WordPress
* @subpackage Bootstrap 5.3.2
* @autor Babobski
*/
$BsWp = new BsWp;
$BsWp->get_template_parts([
'parts/shared/html-header',
'parts/shared/header'
]);
?>
<div class="content">
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<h2>
<?php the_title(); ?>
</h2>
<?php the_content(); ?>
<?php comments_template( '', true ); ?>
<?php endwhile; ?>
</div>
<?php
$BsWp->get_template_parts([
'parts/shared/footer',
'parts/shared/html-footer'
]);
?>