Use @php() instead of @php [...] @endphp
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
@extends('layouts.base')
|
||||
|
||||
@section('content')
|
||||
@while(have_posts()) @php the_post() @endphp
|
||||
@while(have_posts()) @php(the_post())
|
||||
@include('partials/content-single-'.get_post_type())
|
||||
@endwhile
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user