Merge pull request #1864 from IanDelMar/html-comments
Fix HTML comments
This commit is contained in:
commit
3bf54e0ed5
2
404.php
2
404.php
|
|
@ -76,7 +76,7 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</section><!-- .error-404 -->
|
</section><!-- .error-404 -->
|
||||||
|
|
||||||
</main><!-- #main -->
|
</main>
|
||||||
|
|
||||||
</div><!-- #primary -->
|
</div><!-- #primary -->
|
||||||
|
|
||||||
|
|
|
||||||
11
archive.php
11
archive.php
|
|
@ -21,8 +21,10 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<!-- Do the left sidebar check -->
|
<?php
|
||||||
<?php get_template_part( 'global-templates/left-sidebar-check' ); ?>
|
// Do the left sidebar check and open div#primary.
|
||||||
|
get_template_part( 'global-templates/left-sidebar-check' );
|
||||||
|
?>
|
||||||
|
|
||||||
<main class="site-main" id="main">
|
<main class="site-main" id="main">
|
||||||
|
|
||||||
|
|
@ -52,12 +54,13 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</main><!-- #main -->
|
</main>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// Display the pagination component.
|
// Display the pagination component.
|
||||||
understrap_pagination();
|
understrap_pagination();
|
||||||
// Do the right sidebar check.
|
|
||||||
|
// Do the right sidebar check and close div#primary.
|
||||||
get_template_part( 'global-templates/right-sidebar-check' );
|
get_template_part( 'global-templates/right-sidebar-check' );
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
|
||||||
22
author.php
22
author.php
|
|
@ -20,8 +20,10 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<!-- Do the left sidebar check -->
|
<?php
|
||||||
<?php get_template_part( 'global-templates/left-sidebar-check' ); ?>
|
// Do the left sidebar check and open div#primary.
|
||||||
|
get_template_part( 'global-templates/left-sidebar-check' );
|
||||||
|
?>
|
||||||
|
|
||||||
<main class="site-main" id="main">
|
<main class="site-main" id="main">
|
||||||
|
|
||||||
|
|
@ -82,8 +84,8 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</header><!-- .page-header -->
|
</header><!-- .page-header -->
|
||||||
|
|
||||||
<!-- The Loop -->
|
|
||||||
<?php
|
<?php
|
||||||
|
// Start the loop.
|
||||||
if ( have_posts() ) {
|
if ( have_posts() ) {
|
||||||
while ( have_posts() ) {
|
while ( have_posts() ) {
|
||||||
the_post();
|
the_post();
|
||||||
|
|
@ -93,15 +95,17 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
get_template_part( 'loop-templates/content', 'none' );
|
get_template_part( 'loop-templates/content', 'none' );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<!-- End Loop -->
|
|
||||||
|
|
||||||
</main><!-- #main -->
|
</main>
|
||||||
|
|
||||||
<!-- The pagination component -->
|
|
||||||
<?php understrap_pagination(); ?>
|
|
||||||
|
|
||||||
<!-- Do the right sidebar check -->
|
<?php
|
||||||
<?php get_template_part( 'global-templates/right-sidebar-check' ); ?>
|
// Display the pagination component.
|
||||||
|
understrap_pagination();
|
||||||
|
|
||||||
|
// Do the right sidebar check and close div#primary.
|
||||||
|
get_template_part( 'global-templates/right-sidebar-check' );
|
||||||
|
?>
|
||||||
|
|
||||||
</div> <!-- .row -->
|
</div> <!-- .row -->
|
||||||
|
|
||||||
|
|
|
||||||
11
footer.php
11
footer.php
|
|
@ -33,15 +33,16 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</footer><!-- #colophon -->
|
</footer><!-- #colophon -->
|
||||||
|
|
||||||
</div><!--col end -->
|
</div><!-- col -->
|
||||||
|
|
||||||
</div><!-- row end -->
|
</div><!-- .row -->
|
||||||
|
|
||||||
</div><!-- container end -->
|
</div><!-- .container(-fluid) -->
|
||||||
|
|
||||||
</div><!-- wrapper end -->
|
</div><!-- #wrapper-footer -->
|
||||||
|
|
||||||
</div><!-- #page we need this extra closing tag here -->
|
<?php // Closing div#page from header.php. ?>
|
||||||
|
</div><!-- #page -->
|
||||||
|
|
||||||
<?php wp_footer(); ?>
|
<?php wp_footer(); ?>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -48,4 +48,4 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
</div><!-- .container -->
|
</div><!-- .container -->
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
</nav><!-- .site-navigation -->
|
</nav><!-- #main-nav -->
|
||||||
|
|
|
||||||
|
|
@ -45,4 +45,4 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</div><!-- .container(-fluid) -->
|
</div><!-- .container(-fluid) -->
|
||||||
|
|
||||||
</nav><!-- .site-navigation -->
|
</nav><!-- #main-nav -->
|
||||||
|
|
|
||||||
|
|
@ -52,4 +52,4 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
</div><!-- .container(-fluid) -->
|
</div><!-- .container(-fluid) -->
|
||||||
|
|
||||||
</nav><!-- .site-navigation -->
|
</nav><!-- #main-nav -->
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,10 @@
|
||||||
|
|
||||||
// Exit if accessed directly.
|
// Exit if accessed directly.
|
||||||
defined( 'ABSPATH' ) || exit;
|
defined( 'ABSPATH' ) || exit;
|
||||||
?>
|
|
||||||
|
|
||||||
</div><!-- #closing the primary container from /global-templates/left-sidebar-check.php -->
|
// Closing the primary container from /global-templates/left-sidebar-check.php.
|
||||||
|
?>
|
||||||
|
</div><!-- #primary -->
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
||||||
|
|
|
||||||
|
|
@ -33,4 +33,4 @@ $navbar_type = get_theme_mod( 'understrap_navbar_type', 'collapse' );
|
||||||
|
|
||||||
<?php get_template_part( 'global-templates/navbar', $navbar_type . '-' . $bootstrap_version ); ?>
|
<?php get_template_part( 'global-templates/navbar', $navbar_type . '-' . $bootstrap_version ); ?>
|
||||||
|
|
||||||
</header><!-- #wrapper-navbar end -->
|
</header><!-- #wrapper-navbar -->
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,7 @@ if ( ! function_exists( 'understrap_pagination' ) ) {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<!-- The pagination component -->
|
||||||
<nav aria-labelledby="posts-nav-label">
|
<nav aria-labelledby="posts-nav-label">
|
||||||
|
|
||||||
<h2 id="posts-nav-label" class="screen-reader-text">
|
<h2 id="posts-nav-label" class="screen-reader-text">
|
||||||
|
|
|
||||||
|
|
@ -297,7 +297,7 @@ if ( ! function_exists( 'understrap_post_nav' ) ) {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div><!-- .nav-links -->
|
</div><!-- .nav-links -->
|
||||||
</nav><!-- .navigation -->
|
</nav><!-- .post-navigation -->
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -58,11 +58,11 @@ if ( ! function_exists( 'understrap_woocommerce_wrapper_end' ) ) {
|
||||||
* Display the theme specific end of the page wrapper.
|
* Display the theme specific end of the page wrapper.
|
||||||
*/
|
*/
|
||||||
function understrap_woocommerce_wrapper_end() {
|
function understrap_woocommerce_wrapper_end() {
|
||||||
echo '</main><!-- #main -->';
|
echo '</main>';
|
||||||
get_template_part( 'global-templates/right-sidebar-check' );
|
get_template_part( 'global-templates/right-sidebar-check' );
|
||||||
echo '</div><!-- .row -->';
|
echo '</div><!-- .row -->';
|
||||||
echo '</div><!-- Container end -->';
|
echo '</div><!-- .container(-fluid) -->';
|
||||||
echo '</div><!-- Wrapper end -->';
|
echo '</div><!-- #woocommerce-wrapper -->';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
18
index.php
18
index.php
|
|
@ -29,8 +29,10 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<!-- Do the left sidebar check and opens the primary div -->
|
<?php
|
||||||
<?php get_template_part( 'global-templates/left-sidebar-check' ); ?>
|
// Do the left sidebar check and open div#primary.
|
||||||
|
get_template_part( 'global-templates/left-sidebar-check' );
|
||||||
|
?>
|
||||||
|
|
||||||
<main class="site-main" id="main">
|
<main class="site-main" id="main">
|
||||||
|
|
||||||
|
|
@ -52,13 +54,15 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</main><!-- #main -->
|
</main>
|
||||||
|
|
||||||
<!-- The pagination component -->
|
<?php
|
||||||
<?php understrap_pagination(); ?>
|
// Display the pagination component.
|
||||||
|
understrap_pagination();
|
||||||
|
|
||||||
<!-- Do the right sidebar check -->
|
// Do the right sidebar check and close div#primary.
|
||||||
<?php get_template_part( 'global-templates/right-sidebar-check' ); ?>
|
get_template_part( 'global-templates/right-sidebar-check' );
|
||||||
|
?>
|
||||||
|
|
||||||
</div><!-- .row -->
|
</div><!-- .row -->
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,4 +44,4 @@ defined( 'ABSPATH' ) || exit;
|
||||||
|
|
||||||
</footer><!-- .entry-footer -->
|
</footer><!-- .entry-footer -->
|
||||||
|
|
||||||
</article><!-- #post-## -->
|
</article><!-- #post-<?php the_ID(); ?> -->
|
||||||
|
|
|
||||||
|
|
@ -37,4 +37,4 @@ defined( 'ABSPATH' ) || exit;
|
||||||
|
|
||||||
</footer><!-- .entry-footer -->
|
</footer><!-- .entry-footer -->
|
||||||
|
|
||||||
</article><!-- #post-## -->
|
</article><!-- #post-<?php the_ID(); ?> -->
|
||||||
|
|
|
||||||
|
|
@ -44,4 +44,4 @@ defined( 'ABSPATH' ) || exit;
|
||||||
|
|
||||||
</footer><!-- .entry-footer -->
|
</footer><!-- .entry-footer -->
|
||||||
|
|
||||||
</article><!-- #post-## -->
|
</article><!-- #post-<?php the_ID(); ?> -->
|
||||||
|
|
|
||||||
|
|
@ -40,4 +40,4 @@ defined( 'ABSPATH' ) || exit;
|
||||||
|
|
||||||
</footer><!-- .entry-footer -->
|
</footer><!-- .entry-footer -->
|
||||||
|
|
||||||
</article><!-- #post-## -->
|
</article><!-- #post-<?php the_ID(); ?> -->
|
||||||
|
|
|
||||||
|
|
@ -47,4 +47,4 @@ defined( 'ABSPATH' ) || exit;
|
||||||
|
|
||||||
</footer><!-- .entry-footer -->
|
</footer><!-- .entry-footer -->
|
||||||
|
|
||||||
</article><!-- #post-## -->
|
</article><!-- #post-<?php the_ID(); ?> -->
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</main><!-- #main -->
|
</main>
|
||||||
|
|
||||||
</div><!-- #primary -->
|
</div><!-- #primary -->
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,11 +45,11 @@ if ( is_page_template( 'page-templates/no-title.php' ) ) {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</main><!-- #main -->
|
</main>
|
||||||
|
|
||||||
</div><!-- #primary -->
|
</div><!-- #primary -->
|
||||||
|
|
||||||
</div><!-- .row end -->
|
</div><!-- .row -->
|
||||||
|
|
||||||
</div><!-- #content -->
|
</div><!-- #content -->
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</main><!-- #main -->
|
</main>
|
||||||
|
|
||||||
</div><!-- #primary -->
|
</div><!-- #primary -->
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</main><!-- #main -->
|
</main>
|
||||||
|
|
||||||
</div><!-- #primary -->
|
</div><!-- #primary -->
|
||||||
|
|
||||||
|
|
|
||||||
14
page.php
14
page.php
|
|
@ -25,8 +25,10 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<!-- Do the left sidebar check -->
|
<?php
|
||||||
<?php get_template_part( 'global-templates/left-sidebar-check' ); ?>
|
// Do the left sidebar check and open div#primary.
|
||||||
|
get_template_part( 'global-templates/left-sidebar-check' );
|
||||||
|
?>
|
||||||
|
|
||||||
<main class="site-main" id="main">
|
<main class="site-main" id="main">
|
||||||
|
|
||||||
|
|
@ -42,10 +44,12 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</main><!-- #main -->
|
</main>
|
||||||
|
|
||||||
<!-- Do the right sidebar check -->
|
<?php
|
||||||
<?php get_template_part( 'global-templates/right-sidebar-check' ); ?>
|
// Do the right sidebar check and close div#primary.
|
||||||
|
get_template_part( 'global-templates/right-sidebar-check' );
|
||||||
|
?>
|
||||||
|
|
||||||
</div><!-- .row -->
|
</div><!-- .row -->
|
||||||
|
|
||||||
|
|
|
||||||
18
search.php
18
search.php
|
|
@ -20,8 +20,10 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<!-- Do the left sidebar check and opens the primary div -->
|
<?php
|
||||||
<?php get_template_part( 'global-templates/left-sidebar-check' ); ?>
|
// Do the left sidebar check and open div#primary.
|
||||||
|
get_template_part( 'global-templates/left-sidebar-check' );
|
||||||
|
?>
|
||||||
|
|
||||||
<main class="site-main" id="main">
|
<main class="site-main" id="main">
|
||||||
|
|
||||||
|
|
@ -61,13 +63,15 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
</main><!-- #main -->
|
</main>
|
||||||
|
|
||||||
<!-- The pagination component -->
|
<?php
|
||||||
<?php understrap_pagination(); ?>
|
// Display the pagination component.
|
||||||
|
understrap_pagination();
|
||||||
|
|
||||||
<!-- Do the right sidebar check -->
|
// Do the right sidebar check and close div#primary.
|
||||||
<?php get_template_part( 'global-templates/right-sidebar-check' ); ?>
|
get_template_part( 'global-templates/right-sidebar-check' );
|
||||||
|
?>
|
||||||
|
|
||||||
</div><!-- .row -->
|
</div><!-- .row -->
|
||||||
|
|
||||||
|
|
|
||||||
14
single.php
14
single.php
|
|
@ -18,8 +18,10 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<!-- Do the left sidebar check -->
|
<?php
|
||||||
<?php get_template_part( 'global-templates/left-sidebar-check' ); ?>
|
// Do the left sidebar check and open div#primary.
|
||||||
|
get_template_part( 'global-templates/left-sidebar-check' );
|
||||||
|
?>
|
||||||
|
|
||||||
<main class="site-main" id="main">
|
<main class="site-main" id="main">
|
||||||
|
|
||||||
|
|
@ -36,10 +38,12 @@ $container = get_theme_mod( 'understrap_container_type' );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</main><!-- #main -->
|
</main>
|
||||||
|
|
||||||
<!-- Do the right sidebar check -->
|
<?php
|
||||||
<?php get_template_part( 'global-templates/right-sidebar-check' ); ?>
|
// Do the right sidebar check and close div#primary.
|
||||||
|
get_template_part( 'global-templates/right-sidebar-check' );
|
||||||
|
?>
|
||||||
|
|
||||||
</div><!-- .row -->
|
</div><!-- .row -->
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue