Update HTML indents to soft tabs (2 spaces)
This commit is contained in:
parent
a9e60bc26f
commit
fa9f307dfe
4
404.php
4
404.php
|
@ -4,7 +4,8 @@
|
|||
* @package understrap
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
get_header();
|
||||
?>
|
||||
<div class="wrapper" id="404-wrapper">
|
||||
|
||||
<div id="content" class="container">
|
||||
|
@ -20,6 +21,7 @@ get_header(); ?>
|
|||
<header class="page-header">
|
||||
|
||||
<h1 class="page-title"><?php _e( 'Oops! That page can’t be found.', 'understrap' ); ?></h1>
|
||||
|
||||
</header><!-- .page-header -->
|
||||
|
||||
<div class="page-content">
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
* @package understrap
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div class="wrapper" id="archive-wrapper">
|
||||
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
*
|
||||
* @package understrap
|
||||
*/
|
||||
get_header(); ?>
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div class="wrapper" id="author-wrapper">
|
||||
|
||||
|
@ -47,15 +48,15 @@ get_header(); ?>
|
|||
</header><!-- .page-header -->
|
||||
|
||||
<ul>
|
||||
<!-- The Loop -->
|
||||
|
||||
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
||||
<!-- The Loop -->
|
||||
<?php if ( have_posts() ) : ?>
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<li>
|
||||
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>">
|
||||
<?php the_title(); ?></a>,
|
||||
<?php the_time('d M Y'); ?> in <?php the_category('&');?>
|
||||
</li>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php the_posts_navigation(); ?>
|
||||
|
|
|
@ -35,8 +35,7 @@ if ( post_password_required() ) {
|
|||
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'understrap' ); ?></h1>
|
||||
<?php if ( get_previous_comments_link() ) { ?>
|
||||
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'understrap' ) ); ?></div>
|
||||
<?php }
|
||||
if ( get_next_comments_link() ) { ?>
|
||||
<?php } if ( get_next_comments_link() ) { ?>
|
||||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'understrap' ) ); ?></div>
|
||||
<?php } ?>
|
||||
</nav><!-- #comment-nav-above -->
|
||||
|
@ -56,8 +55,7 @@ if ( post_password_required() ) {
|
|||
<h1 class="screen-reader-text"><?php _e( 'Comment navigation', 'understrap' ); ?></h1>
|
||||
<?php if ( get_previous_comments_link() ) { ?>
|
||||
<div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'understrap' ) );?></div>
|
||||
<?php }
|
||||
if ( get_next_comments_link() ) { ?>
|
||||
<?php } if ( get_next_comments_link() ) { ?>
|
||||
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'understrap' ) ); ?></div>
|
||||
<?php } ?>
|
||||
</nav><!-- #comment-nav-below -->
|
||||
|
@ -69,7 +67,9 @@ if ( post_password_required() ) {
|
|||
// If comments are closed and there are comments, let's leave a little note, shall we?
|
||||
if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
|
||||
?>
|
||||
|
||||
<p class="no-comments"><?php _e( 'Comments are closed.', 'understrap' ); ?></p>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
*
|
||||
* @package understrap
|
||||
*/
|
||||
|
||||
$the_theme = wp_get_theme();
|
||||
?>
|
||||
|
||||
|
|
|
@ -62,7 +62,6 @@ require get_template_directory() . '/inc/bootstrap-wp-navwalker.php';
|
|||
*/
|
||||
require get_template_directory() . '/inc/bootstrap-wp-gallery.php';
|
||||
|
||||
|
||||
/**
|
||||
* Load WooCommerce functions.
|
||||
*/
|
||||
|
|
16
header.php
16
header.php
|
@ -6,7 +6,8 @@
|
|||
*
|
||||
* @package understrap
|
||||
*/
|
||||
?><!DOCTYPE html>
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||||
|
@ -31,17 +32,12 @@
|
|||
|
||||
<nav class="navbar navbar-dark bg-inverse site-navigation" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement">
|
||||
|
||||
|
||||
<div class="container">
|
||||
|
||||
|
||||
<div class="navbar-header">
|
||||
|
||||
<!-- .navbar-toggle is used as the toggle for collapsed navbar content -->
|
||||
|
||||
<button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target=".exCollapsingNavbar" aria-controls="exCollapsingNavbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||
☰
|
||||
</button>
|
||||
<button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target=".exCollapsingNavbar" aria-controls="exCollapsingNavbar" aria-expanded="false" aria-label="Toggle navigation">☰</button>
|
||||
|
||||
<!-- Your site title as branding in the menu -->
|
||||
<?php if (!has_custom_logo()) { ?>
|
||||
|
@ -69,9 +65,3 @@
|
|||
</nav><!-- .site-navigation -->
|
||||
|
||||
</div><!-- .wrapper-navbar end -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -11,15 +11,12 @@
|
|||
* @package understrap
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
get_header();
|
||||
|
||||
<?php
|
||||
if ( is_front_page() && is_home() ) {
|
||||
|
||||
get_sidebar('hero');
|
||||
|
||||
get_sidebar('statichero');
|
||||
|
||||
} else {
|
||||
// Do nothing...or?
|
||||
}
|
||||
|
|
|
@ -7,4 +7,3 @@
|
|||
?>
|
||||
|
||||
<?php the_content(); ?>
|
||||
|
||||
|
|
|
@ -7,4 +7,3 @@
|
|||
?>
|
||||
|
||||
<?php the_content(); ?>
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
* @package understrap
|
||||
*/
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html <?php language_attributes(); ?>>
|
||||
<head>
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
* @package understrap
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
* @package understrap
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div class="wrapper" id="full-width-page-wrapper">
|
||||
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
* @package understrap
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
|
@ -23,7 +24,6 @@ $args = array(
|
|||
);
|
||||
|
||||
$qry = new WP_Query( $args );
|
||||
|
||||
?>
|
||||
|
||||
<div class="wrapper" id="full-width-page-wrapper">
|
||||
|
|
3
page.php
3
page.php
|
@ -10,7 +10,8 @@
|
|||
* @package understrap
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div class="wrapper" id="page-wrapper">
|
||||
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
* @package understrap
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
get_header();
|
||||
?>
|
||||
<div class="wrapper search-wrapper">
|
||||
|
||||
<div class="container">
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
* @package understrap
|
||||
*/
|
||||
?>
|
||||
|
||||
<form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search">
|
||||
<label for="s" class="assistive-text"><?php _e( 'Search', 'understrap' ); ?></label>
|
||||
<div class="input-group">
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
* @package understrap
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
get_header();
|
||||
?>
|
||||
<div class="wrapper" id="single-wrapper">
|
||||
|
||||
<div id="content" class="container">
|
||||
|
|
|
@ -10,7 +10,8 @@
|
|||
* @package understrap
|
||||
*/
|
||||
|
||||
get_header(); ?>
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div class="wrapper" id="woocommerce-wrapper">
|
||||
|
||||
|
|
Reference in New Issue