Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 71 lines (55 sloc) 2.054 kB
8249a3b @saltcod First commit.
authored
1 <?php
2 /**
3 * The template for displaying Archive pages.
4 *
5 * @package WordPress
190c366 @saltcod Removed Toolbox references, changed to Victoria Park
authored
6 * @subpackage Victoria Park
7 * @since Victoria Park 0.1
8249a3b @saltcod First commit.
authored
8 */
9
10 get_header(); ?>
11
12 <section id="primary">
13 <div id="content" role="main">
14
15 <?php if ( have_posts() ) : ?>
16
17 <header class="page-header">
18 <h1 class="page-title">
19 <?php
20 if ( is_day() ) :
c84c7e4 @saltcod toolbox > victoria_park text replace
authored
21 printf( __( 'Daily Archives: %s', 'victoria_park' ), '<span>' . get_the_date() . '</span>' );
8249a3b @saltcod First commit.
authored
22 elseif ( is_month() ) :
c84c7e4 @saltcod toolbox > victoria_park text replace
authored
23 printf( __( 'Monthly Archives: %s', 'victoria_park' ), '<span>' . get_the_date( 'F Y' ) . '</span>' );
8249a3b @saltcod First commit.
authored
24 elseif ( is_year() ) :
c84c7e4 @saltcod toolbox > victoria_park text replace
authored
25 printf( __( 'Yearly Archives: %s', 'victoria_park' ), '<span>' . get_the_date( 'Y' ) . '</span>' );
8249a3b @saltcod First commit.
authored
26 else :
c84c7e4 @saltcod toolbox > victoria_park text replace
authored
27 _e( 'Archives', 'victoria_park' );
8249a3b @saltcod First commit.
authored
28 endif;
29 ?>
30 </h1>
31 </header>
32
33 <?php rewind_posts(); ?>
34
c84c7e4 @saltcod toolbox > victoria_park text replace
authored
35 <?php victoria_park_content_nav( 'nav-above' ); ?>
8249a3b @saltcod First commit.
authored
36
37 <?php /* Start the Loop */ ?>
38 <?php while ( have_posts() ) : the_post(); ?>
39
40 <?php
41 /* Include the Post-Format-specific template for the content.
42 * If you want to overload this in a child theme then include a file
43 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
44 */
45 get_template_part( 'content', get_post_format() );
46 ?>
47
48 <?php endwhile; ?>
49
c84c7e4 @saltcod toolbox > victoria_park text replace
authored
50 <?php victoria_park_content_nav( 'nav-below' ); ?>
8249a3b @saltcod First commit.
authored
51
52 <?php else : ?>
53
54 <article id="post-0" class="post no-results not-found">
55 <header class="entry-header">
c84c7e4 @saltcod toolbox > victoria_park text replace
authored
56 <h1 class="entry-title"><?php _e( 'Nothing Found', 'victoria_park' ); ?></h1>
8249a3b @saltcod First commit.
authored
57 </header><!-- .entry-header -->
58
59 <div class="entry-content">
c84c7e4 @saltcod toolbox > victoria_park text replace
authored
60 <p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'victoria_park' ); ?></p>
8249a3b @saltcod First commit.
authored
61 <?php get_search_form(); ?>
62 </div><!-- .entry-content -->
63 </article><!-- #post-0 -->
64
65 <?php endif; ?>
66
67 </div><!-- #content -->
68 </section><!-- #primary -->
69
70 <?php get_sidebar(); ?>
71 <?php get_footer(); ?>
Something went wrong with that request. Please try again.