-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
68 lines (52 loc) · 2.4 KB
/
single.php
File metadata and controls
68 lines (52 loc) · 2.4 KB
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
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<meta name="description" content="<?php the_excerpt(); ?>">
<meta name="author" content="<?php the_author_meta('nickname'); ?>">
<title><?php the_title(); ?> - <?php bloginfo('name'); ?></title>
<!-- Bootstrap core CSS -->
<link href="<?php echo get_bloginfo('template_directory'); ?>/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom fonts for this template -->
<link href="<?php echo get_bloginfo('template_directory'); ?>/vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<!-- Custom styles for this template -->
<link href="<?php echo get_bloginfo('template_directory'); ?>/css/clean-blog.min.css" rel="stylesheet">
<?php get_header(); ?>
<!-- Page Header -->
<header class="masthead" style="background-image: url('<?=get_bloginfo('template_directory')?>/img/home-bg.jpg')">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-10 mx-auto">
<div class="post-heading">
<h1><?php the_title(); ?></h1>
<span class="meta">Posted by <?php the_author(); ?>
on <?php the_date(); ?></span>
</div>
</div>
</div>
</div>
</header>
<!-- Post Content -->
<article>
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-10 mx-auto">
<?php the_content(); ?>
</div>
</div>
</div>
</article>
<?php endwhile; endif; ?>
<?php get_footer(); ?>
<!-- Bootstrap core JavaScript -->
<script src="<?php echo get_bloginfo('template_directory'); ?>/vendor/jquery/jquery.min.js"></script>
<script src="<?php echo get_bloginfo('template_directory'); ?>/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Custom scripts for this template -->
<script src="<?php echo get_bloginfo('template_directory'); ?>/js/clean-blog.min.js"></script>
</body>
</html>