-
Notifications
You must be signed in to change notification settings - Fork 0
/
category-honors.php
54 lines (37 loc) · 1.46 KB
/
category-honors.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
44
45
46
47
48
49
50
51
52
53
54
<?php
/**
* The template for displaying Category Archive pages.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package hana
* @since hana 1.0
*/
get_header(); ?>
<section id="primary" class="content-area">
<div id="content" class="entry-content" role="main">
<div id="honordescript">
<?php echo category_description( $category_id ); ?>
</div>
<!-- Start the Loop. -->
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<!-- Display the Title as a link to the Post's permalink. -->
<h2 class="honortitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a><span class="honordate">
  |||   humbly posted <?php the_time('m/d/y') ?></span></h2>
<!-- Display the date (November 16th, 2009 format) and a link to other posts by this posts author. -->
<!-- Display the Post's content in a div box. -->
<div class="honorentry">
<?php the_content(); ?>
</div>
<hr>
<!-- Stop The Loop (but note the "else:" - see next line). -->
<?php endwhile; else: ?>
<!-- The very first "if" tested to see if there were any Posts to -->
<!-- display. This "else" part tells what do if there weren't any. -->
<p>Sorry, no posts matched your criteria.</p>
<!-- REALLY stop The Loop. -->
<?php endif; ?>
</div><!-- #content .site-content -->
</section><!-- #primary .content-area -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>