Adding manual picked changes from @Thomas-A-Reinert

This commit is contained in:
koenemann 2016-03-03 11:39:40 +01:00
parent 32e468a130
commit 7431d7cb6a
8 changed files with 11 additions and 7 deletions

View File

@ -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">

View File

@ -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() ) : ?>

View File

@ -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(); ?>

View File

@ -8,7 +8,7 @@
<?php dynamic_sidebar( 'hero' ); ?> <?php dynamic_sidebar( 'hero' ); ?>
</div><!-- ,owk-carousel --> </div><!-- .owl-carousel -->
</div><!-- #wrapper-hero --> </div><!-- #wrapper-hero -->

View File

@ -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">',

View File

@ -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() ) : ?>

View File

@ -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">

View File

@ -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(); ?>