Subversion Repositories ZenDark


Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  * The main template file.
  * This is the most generic template file in a WordPress theme
  * and one of the two required files for a theme (the other being style.css).
  * It is used to display a page when nothing more specific matches a query.
  * E.g., it puts together the home page when no home.php file exists.
  * Learn more:


<div id="content">

    if (have_posts()) :
                        // Start the Loop
                        while (have_posts()) : the_post();
        get_template_part('content', false);
    else :
                <header id="search-header">
                        <h1 id="search-title"><?php _e( 'Nothing Found', 'sdt' ); ?></h1>
                </header><!-- .entry-header -->
    <div id="search-content">
                        <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'sdt' ); ?></p>
                        <?php get_search_form(); ?>
                </div><!-- #search-content -->
  <?php endif; ?>

</div><!-- #content -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>