-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcategory.php
executable file
·35 lines (35 loc) · 993 Bytes
/
category.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('home');
}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(); ?>
<p style="margin-top: 1%;" class="text-justified">
<h1 class="text-center"><?php the_title(); ?> <small><?php the_time('F jS, Y'); ?></small></h1>
<?php
the_excerpt();
?>
</p>
<?php }
} ?>
<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>
</div>
<?php
}
if (is_page('gateway')) {
get_footer('home');
}else{
get_footer();
}
?>