FEATURE Refactor structure of footer, header, front-page, and page templates to move the main tag into templates files
This commit is contained in:
parent
3d140c0475
commit
0966e97b6c
|
|
@ -1,5 +1,3 @@
|
||||||
</main>
|
|
||||||
|
|
||||||
<?php do_action('tailpress_content_end'); ?>
|
<?php do_action('tailpress_content_end'); ?>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?php get_header(); ?>
|
<?php get_header(); ?>
|
||||||
|
<main id="content" class="site-content flex-grow">
|
||||||
|
|
||||||
<?php if (have_posts()) : ?>
|
<?php if (have_posts()) : ?>
|
||||||
<?php
|
<?php
|
||||||
|
|
@ -13,5 +13,5 @@
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php
|
<?php get_footer(); ?>
|
||||||
get_footer();
|
</main>
|
||||||
|
|
@ -39,4 +39,3 @@
|
||||||
<?php do_action('tailpress_content_start'); ?>
|
<?php do_action('tailpress_content_start'); ?>
|
||||||
|
|
||||||
<?php get_template_part('template-parts/utils/scroll-top'); ?>
|
<?php get_template_part('template-parts/utils/scroll-top'); ?>
|
||||||
<main id="content" class="site-content flex-grow">
|
|
||||||
6
page.php
6
page.php
|
|
@ -1,6 +1,6 @@
|
||||||
<?php get_header(); ?>
|
<?php get_header(); ?>
|
||||||
|
|
||||||
|
<main id="content" class="site-content flex-grow">
|
||||||
<?php if (have_posts()) : ?>
|
<?php if (have_posts()) : ?>
|
||||||
<?php
|
<?php
|
||||||
while (have_posts()) :
|
while (have_posts()) :
|
||||||
|
|
@ -12,5 +12,7 @@
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php get_footer();
|
<?php get_footer(); ?>
|
||||||
|
</main>
|
||||||
Loading…
Reference in New Issue
Block a user