updated file structures and HTML, added archive, single, page for better view control. updated labeling.

This commit is contained in:
Jacob Haddon
2024-02-18 15:05:34 -05:00
parent ae204a9d35
commit e6c111ace9
10 changed files with 257 additions and 47 deletions

View File

@ -1,16 +1,30 @@
<?php
// MFWPT - index.php
// This is the index page, which presents the river,
// and is the default for any of the other views that
// do not have specific php views
?>
<?php get_header(); ?>
<main>
<?php
if ( have_posts() ) : while ( have_posts() ) : the_post();
<?php
if ( have_posts() ) : while ( have_posts() ) : the_post();
// get the content.php
get_template_part( 'content', get_post_format() );
endwhile;
else :
_e( 'Sorry, no posts matched your criteria.', 'textdomain' );
endif;
//get_sidebar();
?>
else :
_e( 'Sorry, no posts matched your criteria.', 'textdomain' );
endif;
// pagenation for the pages
the_posts_pagination( array(
'mid_size' => 2,
'prev_text' => "<-- ",
'next_text' => " -->"
) );
//get_sidebar();
?>
</main>