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.

49 lines
1.0 KiB

3 years ago
3 years ago
3 years ago
3 years ago
  1. <?php
  2. /**
  3. * The page 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. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  17. <?php portage_edit_post(); ?>
  18. <?php do_action( 'portage_before_post_title' ); ?>
  19. <h1 class="post-title">
  20. <span class="dashicons dashicons-admin-page"></span>
  21. <?php the_title(); ?>
  22. </h1>
  23. <!-- Start the loop -->
  24. <?php if ( have_posts() ) : ?>
  25. <?php while ( have_posts() ) : the_post(); ?>
  26. <?php get_template_part( 'inc/page', 'main' ); ?>
  27. <!-- End the loop -->
  28. <?php endwhile; ?>
  29. <?php endif; ?>
  30. </div><!-- end Post -->
  31. </div><!-- end Content -->
  32. <?php get_sidebar(); ?>
  33. <div class="clear"></div>
  34. <?php get_footer(); ?>