Initial commit: peptide-starter theme v1.3.1
This commit is contained in:
27
index.php
Normal file
27
index.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* The main template file
|
||||
*
|
||||
* @package peptide-starter
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<main id="main" class="site-main">
|
||||
<div class="ps-container">
|
||||
<?php
|
||||
if ( have_posts() ) {
|
||||
while ( have_posts() ) {
|
||||
the_post();
|
||||
get_template_part( 'template-parts/content', get_post_type() );
|
||||
}
|
||||
peptide_starter_pagination();
|
||||
} else {
|
||||
get_template_part( 'template-parts/content', 'none' );
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
Reference in New Issue
Block a user