This repository was archived by the owner on Nov 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharticle.php
More file actions
53 lines (40 loc) · 2.04 KB
/
article.php
File metadata and controls
53 lines (40 loc) · 2.04 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
<?php
$page = article_category();
include(theme_path()."Partials/Header.php"); ?>
<!-- MAIN CONTENT WRAPPER -->
<div id="MainWrapper">
<!-- MENU STARTS HERE -->
<div id="NavigationWrapper">
<?php include(theme_path()."Partials/Menu.php"); ?>
</div>
<!-- END MENU -->
<!-- IMAGE/TITLE BLOCK STARTS HERE -->
<div id="ArticleImage">
<img class="articleheader" src="<?php echo article_custom_field("header_image",theme_url('/Resources/IMG/article-fallback.png'));?>">
<div id="ArticleTitle"><?php echo article_title(); ?></div>
<div id="ArticleSubTitle">posted by <?php echo article_author();?> on <time datetime="<?php echo date(DATE_W3C, article_time());?>"><?php echo article_date();?></time></div>
</div>
<!-- END IMAGE/TITLE BLOCK -->
<!--- ARTICLE STARTS HERE -->
<div id="ArticleContent">
<?php echo article_markdown(); ?>
<div id="article_end">-</div>
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'srsstrife'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
<!--- END ARTICLE -->
<!-- FOOTER STARTS HERE -->
<?php include(theme_path()."Partials/Footer.php");?>
<!-- END FOOTER -->
</div>