Use @php() instead of @php [...] @endphp

This commit is contained in:
QWp6t
2016-12-09 23:48:31 -08:00
parent b3ebd1f698
commit 945e3b76d7
14 changed files with 27 additions and 29 deletions

View File

@@ -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