Fixing double echo's, template cleanup

This commit is contained in:
Kalen Johnson
2016-12-06 15:24:15 -08:00
parent b7742fd86f
commit 3dadb86ec2
14 changed files with 43 additions and 49 deletions

View File

@@ -1,28 +1,28 @@
<!doctype html>
<html {!! language_attributes() !!}>
<html @php language_attributes() @endphp>
@include('partials.head')
<body {!! body_class() !!}>
<body @php body_class() @endphp>
<!--[if IE]>
<div class="alert alert-warning">
{!! _e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.', 'sage') !!}
{!! __('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.', 'sage') !!}
</div>
<![endif]-->
{!! do_action('get_header') !!}
@php do_action('get_header') @endphp
@include('partials.header')
<div class="wrap container" role="document">
<div class="content row">
<main class="main">
@yield('content')
</main>
@if(App\display_sidebar())
@if (App\display_sidebar())
<aside class="sidebar">
@include('partials.sidebar')
</aside>
@endif
</div>
</div>
{!! do_action('get_footer') !!}
@php do_action('get_footer') @endphp
@include('partials.footer')
{!! wp_footer() !!}
@php wp_footer() @endphp
</body>
</html>