An updated theme (based on Atticus Finch) for ClassicPress
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
828 B

3 years ago
3 years ago
3 years ago
3 years ago
  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 Portage
  12. */
  13. get_header();
  14. ?>
  15. <div id="content">
  16. <!-- Start the loop -->
  17. <?php if ( have_posts() ) : ?>
  18. <?php while ( have_posts() ) : the_post(); ?>
  19. <?php get_template_part( 'formats/excerpt', get_post_format() ); ?>
  20. <!-- End the loop -->
  21. <?php endwhile; ?>
  22. <?php endif; ?>
  23. <?php portage_display_nav(); ?>
  24. </div> <!-- end Content -->
  25. <?php portage_post_top_link(); ?>
  26. <?php get_sidebar(); ?>
  27. <?php get_footer(); ?>