portage/index.php

38 lines
828 B
PHP
Raw Permalink Normal View History

2021-08-01 17:32:46 +00:00
<?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
*
2021-08-01 17:56:34 +00:00
* @package Portage
2021-08-01 17:32:46 +00:00
*/
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; ?>
2021-08-01 17:56:34 +00:00
<?php portage_display_nav(); ?>
2021-08-01 17:32:46 +00:00
</div> <!-- end Content -->
2021-08-01 17:56:34 +00:00
<?php portage_post_top_link(); ?>
2021-08-01 17:32:46 +00:00
<?php get_sidebar(); ?>
<?php get_footer(); ?>