portage/index.php
2021-08-01 13:32:46 -04:00

38 lines
846 B
PHP
Executable File

<?php
/**
* 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: http://codex.wordpress.org/Template_Hierarchy
*
* @package Atticus Finch
*/
get_header();
?>
<div id="content">
<!-- Start the loop -->
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'formats/excerpt', get_post_format() ); ?>
<!-- End the loop -->
<?php endwhile; ?>
<?php endif; ?>
<?php atticus_finch_display_nav(); ?>
</div> <!-- end Content -->
<?php atticus_finch_post_top_link(); ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>