-
Notifications
You must be signed in to change notification settings - Fork 41
/
page-archives.php
executable file
·53 lines (43 loc) · 1.37 KB
/
page-archives.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
<?php
/*
Template Name: Archives Page
*/
?>
<?php get_header(); ?>
<div id="container">
<div id="content">
<?php if ( have_posts() ) the_post(); ?>
<?php do_action( 'sb_before_content' ); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php do_action( 'sb_page_title' ); ?>
<div class="entry-content">
<?php the_content(); ?>
<ul id="archives-page" class="xoxo">
<li id="category-archives">
<h3><?php _e('Archives by Category', 'startbox'); ?></h3>
<ul>
<?php wp_list_categories('optioncount=1&feed=RSS&title_li=&show_count=1'); ?>
</ul>
</li>
<li id="monthly-archives">
<h3><?php _e('Archives by Month', 'startbox'); ?></h3>
<ul>
<?php wp_get_archives('type=monthly&show_post_count=1'); ?>
</ul>
</li>
<li id="author-archives">
<h3><?php _e('Archives by Author', 'startbox'); ?></h3>
<ul>
<?php wp_list_authors('optioncount=1'); ?>
</ul>
</li>
</ul>
<?php edit_post_link( __( 'Edit', 'startbox' ), '<span class="edit-link">', '</span>' ); ?>
</div>
</div><!-- .post -->
<?php do_action( 'sb_after_content' ); ?>
<?php comments_template( '', true ); ?>
</div><!-- #content -->
</div><!-- #container -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>