-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpage.php
32 lines (28 loc) · 899 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
<?php
/**
* Static page.
* @copyright Copyright (C) 2020 Ondrej Golasowski, Petr Kucera
* @license GPL(GPLv3)
*/
?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="<?php echo get_bloginfo('template_directory') . get_css_name();?>"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title><?php wp_title('', true,'left'); ?> | <?php echo get_bloginfo('name'); ?></title>
<?php wp_head(); ?>
</head>
<body class="ms-Fabric">
<?php get_header(); ?>
<main class="main post">
<header class="main__header post__header">
<h1><?php the_post(); the_title(); ?></h1>
</header>
<article class="post__content">
<?php the_content(); ?>
</article>
</main>
<?php get_footer(); ?>
</body>
</html>