-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcategory-green.php
43 lines (43 loc) · 2.4 KB
/
category-green.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
40
41
42
43
<?php get_header(); ?>
<div id="main" class="container">
<div class="row">
<img id="green_scene_banner" src="http://www.wesward.org/wp-content/themes/wesward_theme/img/GreenScene.png" alt="greenscene"><br>
<aside id="left_sidebar" class="left_sidebar threecol">
<?php include('news-leftsidebar.php'); ?>
</aside>
<section id="main_content" class="sixcol">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article class="post green">
<header>
<h2 class="post_title"><a href="<?php the_permalink(); ?>"><? the_title(); ?></a></h2>
<ul class="post_info">
<li><span class="author green">By <em><?php the_author_posts_link(); ?></em></span></li>
<li><span class="post_date"><img src="http://www.wesward.org/wp-content/themes/wesward_theme/img/icon/wesward_clock.png" alt="time"><time> <?php the_time('F j, Y') ?></time></li>
</ul>
</header>
<?php the_content(); ?>
<footer>
<ul class="post_info">
<li><span class="post_comment"><img src="http://www.wesward.org/wp-content/themes/wesward_theme/img/icon/wesward_comment.png" alt"comment"> <?php comments_popup_link( '0 comments', '1 comment', '% comments' ); ?></span></li>
<li><span class="post_tag"><img src="http://www.wesward.org/wp-content/themes/wesward_theme/img/icon/wesward_tag.png" alt"tag">: <a href=""><?php the_category(', '); ?></a></li>
</ul>
</footer>
<?php comments_template(); ?>
</article>
<?php endwhile; else: endif; ?>
<a href="<?php print $_SERVER['HTTP_REFERER'];?>">
<div class="button">
<button class="large_button green">
← Go Back
</button>
</div>
</a>
<div id="pagination">
<?php echo kriesi_pagination($pages = '', $range = 2); ?>
</div>
</section>
<aside id="right_sidebar" class="threecol last">
</aside>
</div>
</div>
<?php get_footer(); ?>