-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·35 lines (32 loc) · 1.11 KB
/
index.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
<?php
if (is_page('gateway')) {
get_header('gateway');
} else {
get_header();
?>
<div class="row">
<div id="pagecontent" class="col-md-10 col-md-offset-1">
<?php if ( have_posts() ) {
while ( have_posts() ) {
the_post(); ?>
<div id="wrapper">
<h1 class="text-center"><?php the_title(); ?></h1>
<h6 id="thedate" class="text-center"><?php if (!is_page()){echo the_time('F jS, Y');} ?></h6>
<?php the_content(); ?>
</div>
<?php comments_template(); } } ?>
<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</div>
</div>
<?php
}
if (is_page('gateway')) {
get_footer('gateway');
}else{
get_footer();
}
?>