diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index 36841a55..fd4f8200 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -10,7 +10,7 @@ {!! get_search_form(false) !!} @endif - @while (have_posts()) @php(the_post()) + @while (have_posts()) @php the_post() @endphp @include('partials.content-'.get_post_type()) @endwhile diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 12ab2533..50bfc50e 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -1,8 +1,8 @@ - + @include('partials.head') - - @php(do_action('get_header')) + + @php do_action('get_header') @endphp @include('partials.header')
@@ -16,8 +16,8 @@ @endif
- @php(do_action('get_footer')) + @php do_action('get_footer') @endphp @include('partials.footer') - @php(wp_footer()) + @php wp_footer() @endphp diff --git a/resources/views/page.blade.php b/resources/views/page.blade.php index edae9855..cf50c8b6 100644 --- a/resources/views/page.blade.php +++ b/resources/views/page.blade.php @@ -1,7 +1,7 @@ @extends('layouts.app') @section('content') - @while(have_posts()) @php(the_post()) + @while(have_posts()) @php the_post() @endphp @include('partials.page-header') @include('partials.content-page') @endwhile diff --git a/resources/views/partials/comments.blade.php b/resources/views/partials/comments.blade.php index b4ad4b3a..3614d012 100644 --- a/resources/views/partials/comments.blade.php +++ b/resources/views/partials/comments.blade.php @@ -34,5 +34,5 @@ if (post_password_required()) { @endif - @php(comment_form()) + @php comment_form() @endphp diff --git a/resources/views/partials/content-page.blade.php b/resources/views/partials/content-page.blade.php index 41e050a4..347ec378 100644 --- a/resources/views/partials/content-page.blade.php +++ b/resources/views/partials/content-page.blade.php @@ -1,2 +1,2 @@ -@php(the_content()) +@php the_content() @endphp {!! wp_link_pages(['echo' => 0, 'before' => '']) !!} diff --git a/resources/views/partials/content-search.blade.php b/resources/views/partials/content-search.blade.php index c0510585..d1a0dd33 100644 --- a/resources/views/partials/content-search.blade.php +++ b/resources/views/partials/content-search.blade.php @@ -1,4 +1,4 @@ -
+

{{ get_the_title() }}

@if (get_post_type() === 'post') @@ -6,6 +6,6 @@ @endif
- @php(the_excerpt()) + @php the_excerpt() @endphp
diff --git a/resources/views/partials/content-single.blade.php b/resources/views/partials/content-single.blade.php index ff5aea1e..43597cfd 100644 --- a/resources/views/partials/content-single.blade.php +++ b/resources/views/partials/content-single.blade.php @@ -1,13 +1,13 @@ -
+

{{ get_the_title() }}

@include('partials/entry-meta')
- @php(the_content()) + @php the_content() @endphp
{!! wp_link_pages(['echo' => 0, 'before' => '']) !!}
- @php(comments_template('/partials/comments.blade.php')) + @php comments_template('/partials/comments.blade.php') @endphp
diff --git a/resources/views/partials/content.blade.php b/resources/views/partials/content.blade.php index 0afcffdb..5035e816 100644 --- a/resources/views/partials/content.blade.php +++ b/resources/views/partials/content.blade.php @@ -1,9 +1,9 @@ -
+

{{ get_the_title() }}

@include('partials/entry-meta')
- @php(the_excerpt()) + @php the_excerpt() @endphp
diff --git a/resources/views/partials/footer.blade.php b/resources/views/partials/footer.blade.php index 3c1fac14..da9feba0 100644 --- a/resources/views/partials/footer.blade.php +++ b/resources/views/partials/footer.blade.php @@ -1,5 +1,5 @@
- @php(dynamic_sidebar('sidebar-footer')) + @php dynamic_sidebar('sidebar-footer') @endphp
diff --git a/resources/views/partials/head.blade.php b/resources/views/partials/head.blade.php index b6adcc56..4f0e833e 100644 --- a/resources/views/partials/head.blade.php +++ b/resources/views/partials/head.blade.php @@ -2,5 +2,5 @@ - @php(wp_head()) + @php wp_head() @endphp diff --git a/resources/views/search.blade.php b/resources/views/search.blade.php index f0a021e3..2bfb4c6f 100644 --- a/resources/views/search.blade.php +++ b/resources/views/search.blade.php @@ -10,7 +10,7 @@ {!! get_search_form(false) !!} @endif - @while(have_posts()) @php(the_post()) + @while(have_posts()) @php the_post() @endphp @include('partials.content-search') @endwhile diff --git a/resources/views/single.blade.php b/resources/views/single.blade.php index cf60c3ef..8ca3db85 100644 --- a/resources/views/single.blade.php +++ b/resources/views/single.blade.php @@ -1,7 +1,7 @@ @extends('layouts.app') @section('content') - @while(have_posts()) @php(the_post()) + @while(have_posts()) @php the_post() @endphp @include('partials.content-single-'.get_post_type()) @endwhile @endsection diff --git a/resources/views/template-custom.blade.php b/resources/views/template-custom.blade.php index 762a54a3..716b14a2 100644 --- a/resources/views/template-custom.blade.php +++ b/resources/views/template-custom.blade.php @@ -5,7 +5,7 @@ @extends('layouts.app') @section('content') - @while(have_posts()) @php(the_post()) + @while(have_posts()) @php the_post() @endphp @include('partials.page-header') @include('partials.content-page') @endwhile