add basic layout

This commit is contained in:
Christian Seyfferth 2020-09-17 09:55:22 +02:00
parent d410e53c4c
commit f75fe68362
7 changed files with 12 additions and 11 deletions

View File

@ -10,6 +10,7 @@
get_header(); get_header();
?> ?>
<div class="container">
<main id="primary" class="site-main"> <main id="primary" class="site-main">
<?php if ( have_posts() ) : ?> <?php if ( have_posts() ) : ?>
@ -45,7 +46,7 @@ get_header();
?> ?>
</main><!-- #main --> </main><!-- #main -->
</div>
<?php <?php
get_sidebar(); get_sidebar();
get_footer(); get_footer();

View File

@ -11,7 +11,7 @@
?> ?>
<footer id="colophon" class="site-footer"> <footer id="colophon" class="site-footer circle-grey">
<div class="site-info"> <div class="site-info">
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'gruener-salon' ) ); ?>"> <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'gruener-salon' ) ); ?>">
<?php <?php

View File

@ -25,7 +25,7 @@
<div id="page" class="site"> <div id="page" class="site">
<a class="skip-link screen-reader-text" href="#primary"><?php esc_html_e( 'Skip to content', 'gruener-salon' ); ?></a> <a class="skip-link screen-reader-text" href="#primary"><?php esc_html_e( 'Skip to content', 'gruener-salon' ); ?></a>
<header id="masthead" class="site-header"> <header id="masthead" class="site-header container-fluid">
<div class="site-branding"> <div class="site-branding">
<?php <?php
the_custom_logo(); the_custom_logo();

View File

@ -14,7 +14,7 @@
get_header(); get_header();
?> ?>
<div class="container">
<main id="primary" class="site-main"> <main id="primary" class="site-main">
<?php <?php
@ -51,7 +51,7 @@ get_header();
?> ?>
</main><!-- #main --> </main><!-- #main -->
</div>
<?php <?php
get_sidebar(); get_sidebar();
get_footer(); get_footer();

View File

@ -14,7 +14,7 @@
get_header(); get_header();
?> ?>
<div class="container">
<main id="primary" class="site-main"> <main id="primary" class="site-main">
<?php <?php
@ -32,7 +32,7 @@ get_header();
?> ?>
</main><!-- #main --> </main><!-- #main -->
</div>
<?php <?php
get_sidebar(); get_sidebar();
get_footer(); get_footer();

View File

@ -9,7 +9,7 @@
get_header(); get_header();
?> ?>
<div class="container">
<main id="primary" class="site-main"> <main id="primary" class="site-main">
<?php if ( have_posts() ) : ?> <?php if ( have_posts() ) : ?>
@ -47,7 +47,7 @@ get_header();
?> ?>
</main><!-- #main --> </main><!-- #main -->
</div>
<?php <?php
get_sidebar(); get_sidebar();
get_footer(); get_footer();

View File

@ -9,7 +9,7 @@
get_header(); get_header();
?> ?>
<div class="container">
<main id="primary" class="site-main"> <main id="primary" class="site-main">
<?php <?php
@ -34,7 +34,7 @@ get_header();
?> ?>
</main><!-- #main --> </main><!-- #main -->
</div>
<?php <?php
get_sidebar(); get_sidebar();
get_footer(); get_footer();