Use @php() instead of @php [...] @endphp
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<!doctype html>
|
||||
<html @php language_attributes() @endphp>
|
||||
<html @php(language_attributes())>
|
||||
@include('partials.head')
|
||||
<body @php body_class() @endphp>
|
||||
<body @php(body_class())>
|
||||
<!--[if IE]>
|
||||
<div class="alert alert-warning">
|
||||
{!! __('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]-->
|
||||
@php do_action('get_header') @endphp
|
||||
@php(do_action('get_header'))
|
||||
@include('partials.header')
|
||||
<div class="wrap container" role="document">
|
||||
<div class="content row">
|
||||
@@ -21,8 +21,8 @@
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@php do_action('get_footer') @endphp
|
||||
@php(do_action('get_footer'))
|
||||
@include('partials.footer')
|
||||
@php wp_footer() @endphp
|
||||
@php(wp_footer())
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user