This repository was archived by the owner on Feb 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshowpost.php
More file actions
76 lines (68 loc) · 3.08 KB
/
showpost.php
File metadata and controls
76 lines (68 loc) · 3.08 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
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
<head>
<?php
/* Short and sweet */
define('WP_USE_THEMES', false);
require('./blog/wp-blog-header.php');
$post_id = NULL;
if(isset($_GET['p'])){
$post_id = $_GET['p'];
}
setup_postdata(get_post());
?>
<title>WSBF-FM Clemson | <?php the_title();?></title>
<?php include('views/fragments/styles.html'); ?>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div id="wrapper">
<!-- LazyJaxDavis start -->
<div class="page-wrapper">
<section class="banner">
<?php include('views/fragments/nav_main.php'); ?>
</section>
<section class="content" id="lazyjaxdavisroot">
<div class="container" id="blog">
<div class="row">
<div class="col-md header-post">
<h1><?php the_title();?></h1>
<div class="social-share">
<!-- Go to www.addthis.com/dashboard to customize your tools -->
<div class="addthis_sharing_toolbox"></div>
</div>
</div>
</div>
<div class="row">
<hr>
<div class="col-md">
<ul class="postinfo">
<li><?php the_date('j F')?></li>
<li>By <strong><?php the_author(); ?></strong></li>
<li class="categories">In <strong><?php echo get_the_category_list(", "); ?></strong>
</li>
</ul>
</div>
</div>
<div class="row blog-main">
<div class="col-md">
<?php the_content(); ?>
</div>
<!-- Go to www.addthis.com/dashboard to customize your tools -->
<div class="pull-left" style="margin-right:20px;">Share this article: </div> <div class="addthis_sharing_toolbox"></div>
</div>
</div>
</section>
<section id="footer">
<div class="overlay clearfix">
<?php include('views/fragments/footer.home.php'); ?>
</div>
</section>
</div>
<!-- LazyJaxDavis end -->
</div>
<?php include('views/fragments/mediawidget.php'); ?>
<?php include('views/fragments/libraries.html'); ?>
</body>
</html>