Adding manual picked changes from @Thomas-A-Reinert
This commit is contained in:
parent
32e468a130
commit
7431d7cb6a
2
404.php
2
404.php
|
@ -10,7 +10,7 @@ get_header(); ?>
|
||||||
<div id="content" class="container">
|
<div id="content" class="container">
|
||||||
|
|
||||||
<div id="primary" class="content-area">
|
<div id="primary" class="content-area">
|
||||||
<main id="main" class="site-main" role="main">
|
<main id="main" class="site-main" role="main" tabindex="-1">
|
||||||
|
|
||||||
<section class="error-404 not-found">
|
<section class="error-404 not-found">
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ get_header(); ?>
|
||||||
|
|
||||||
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main id="main" class="site-main" role="main" tabindex="-1">
|
||||||
|
|
||||||
<?php if ( have_posts() ) : ?>
|
<?php if ( have_posts() ) : ?>
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,11 @@
|
||||||
<html <?php language_attributes(); ?>>
|
<html <?php language_attributes(); ?>>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
|
<meta name="apple-mobile-web-app-title" content="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>">
|
||||||
<link rel="profile" href="http://gmpg.org/xfn/11">
|
<link rel="profile" href="http://gmpg.org/xfn/11">
|
||||||
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
|
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
|
||||||
<?php wp_head(); ?>
|
<?php wp_head(); ?>
|
||||||
|
|
2
hero.php
2
hero.php
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
<?php dynamic_sidebar( 'hero' ); ?>
|
<?php dynamic_sidebar( 'hero' ); ?>
|
||||||
|
|
||||||
</div><!-- ,owk-carousel -->
|
</div><!-- .owl-carousel -->
|
||||||
|
|
||||||
</div><!-- #wrapper-hero -->
|
</div><!-- #wrapper-hero -->
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ function understrap_widgets_init() {
|
||||||
) );
|
) );
|
||||||
|
|
||||||
register_sidebar( array(
|
register_sidebar( array(
|
||||||
'name' => __( 'Hero', 'understrap' ),
|
'name' => __( 'Sliding Hero', 'understrap' ),
|
||||||
'id' => 'hero',
|
'id' => 'hero',
|
||||||
'description' => '',
|
'description' => '',
|
||||||
'before_widget' => '<div class="item">',
|
'before_widget' => '<div class="item">',
|
||||||
|
|
|
@ -23,7 +23,7 @@ get_header(); ?>
|
||||||
|
|
||||||
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main id="main" class="site-main" role="main" tabindex="-1">
|
||||||
|
|
||||||
<?php if ( have_posts() ) : ?>
|
<?php if ( have_posts() ) : ?>
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<article id="post-<?php the_ID(); ?>" <?php post_class($classes); ?>>
|
<article id="post-<?php the_ID(); ?>" <?php post_class('content-no-results-page not-found'); ?>>
|
||||||
|
|
||||||
<header class="page-header">
|
<header class="page-header">
|
||||||
|
|
||||||
|
|
2
page.php
2
page.php
|
@ -18,7 +18,7 @@ get_header(); ?>
|
||||||
|
|
||||||
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
<div id="primary" class="<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area">
|
||||||
|
|
||||||
<main id="main" class="site-main" role="main">
|
<main id="main" class="site-main" role="main" tabindex="-1">
|
||||||
|
|
||||||
<?php while ( have_posts() ) : the_post(); ?>
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
|
|
||||||
|
|
Reference in New Issue