-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
39 lines (38 loc) · 1.57 KB
/
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
<?php
/**
*
*/
?>
<?php get_header(); ?>
<section>
<div class="articles">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
</h2>
<div class="article-content">
<?php the_content(); ?>
</div>
</article>
<?php endwhile; // end of the loop. ?>
<?php else : ?>
<article>
<h2><a href="/">Nothing!</a>
</h2>
</article>
<?php endif; ?>
</div>
</section>
<script src="<?php echo get_template_directory_uri(); ?>/js/vendor/jquery-1.8.3.min.js"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/plugins.js"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/vendor/jquery.syntaxhighlighter.min.js"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/main.js"></script>
<script>
var _gaq=[['_setAccount','UA-22313242-1'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</body>
</html>