Bump to 1.4.0, made some fixes for 8.2+
This commit is contained in:
36
page.php
36
page.php
@ -15,23 +15,27 @@
|
||||
get_header();
|
||||
?>
|
||||
<div class="mt-page-content-wrapper">
|
||||
<div itemscope id="primary" class="content-area">
|
||||
<main id="main" class="site-main">
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
<div id="primary" class="content-area" itemscope itemtype="https://schema.org/WebPage">
|
||||
<main id="main" class="site-main" role="main" aria-label="<?php esc_attr_e( 'Page Content', 'sophia-after-dark' ); ?>">
|
||||
|
||||
get_template_part( 'template-parts/content', 'page' );
|
||||
<?php
|
||||
while ( have_posts() ) :
|
||||
the_post();
|
||||
|
||||
get_template_part( 'template-parts/content', 'page' );
|
||||
|
||||
// Load comments if open or at least one exists.
|
||||
if ( comments_open() || get_comments_number() ) :
|
||||
comments_template();
|
||||
endif;
|
||||
endwhile;
|
||||
?>
|
||||
|
||||
</main><!-- #main -->
|
||||
</div><!-- #primary -->
|
||||
|
||||
// If comments are open or we have at least one comment, load up the comment template.
|
||||
if ( comments_open() || get_comments_number() ) :
|
||||
comments_template();
|
||||
endif;
|
||||
endwhile; // End of the loop.
|
||||
?>
|
||||
</main>
|
||||
</div>
|
||||
<?php get_sidebar(); ?>
|
||||
</div>
|
||||
</div><!-- .mt-page-content-wrapper -->
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
get_footer();
|
||||
|
Reference in New Issue
Block a user