Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 49 lines (36 sloc) 1.333 kb
edfeccc @ianstewart _s: initial fork of Toolbox
ianstewart authored
1 <?php
2 /**
3 * The main template file.
4 *
5 * This is the most generic template file in a WordPress theme
6 * and one of the two required files for a theme (the other being style.css).
7 * It is used to display a page when nothing more specific matches a query.
8 * E.g., it puts together the home page when no home.php file exists.
9 * Learn more: http://codex.wordpress.org/Template_Hierarchy
10 *
11 * @package _s
12 * @since _s 1.0
13 */
14
15 get_header(); ?>
16
752d08a Update the HTML "class" system
Matias authored
17 <div id="primary" class="content-area">
18 <div id="content" class="site-content" role="main">
edfeccc @ianstewart _s: initial fork of Toolbox
ianstewart authored
19
20 <?php if ( have_posts() ) : ?>
21
22 <?php _s_content_nav( 'nav-above' ); ?>
23
24 <?php /* Start the Loop */ ?>
25 <?php while ( have_posts() ) : the_post(); ?>
26
27 <?php
28 /* Include the Post-Format-specific template for the content.
29 * If you want to overload this in a child theme then include a file
30 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
31 */
32 get_template_part( 'content', get_post_format() );
33 ?>
34
35 <?php endwhile; ?>
36
37 <?php _s_content_nav( 'nav-below' ); ?>
38
6eb6c34 @mfields Remove current_user_can() check from index.php. A similar conditional no...
mfields authored
39 <?php else : ?>
edfeccc @ianstewart _s: initial fork of Toolbox
ianstewart authored
40
7b04baa @ianstewart _s: Simplifying search, index, and archive, with a common no posts found...
ianstewart authored
41 <?php get_template_part( 'no-results', 'index' ); ?>
edfeccc @ianstewart _s: initial fork of Toolbox
ianstewart authored
42
43 <?php endif; ?>
44
752d08a Update the HTML "class" system
Matias authored
45 </div><!-- #content .site-content -->
46 </div><!-- #primary .content-area -->
edfeccc @ianstewart _s: initial fork of Toolbox
ianstewart authored
47
48 <?php get_sidebar(); ?>
49 <?php get_footer(); ?>
Something went wrong with that request. Please try again.