Use @php() instead of @php [...] @endphp
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
@php
|
||||
/**
|
||||
* Template Name: Custom Template
|
||||
*/
|
||||
@endphp
|
||||
{{--
|
||||
Template Name: Custom Template
|
||||
--}}
|
||||
|
||||
@extends('layouts.base')
|
||||
|
||||
@section('content')
|
||||
@while(have_posts()) @php the_post() @endphp
|
||||
@while(have_posts()) @php(the_post())
|
||||
@include('partials.page-header')
|
||||
@include('partials.content-page')
|
||||
@endwhile
|
||||
|
||||
Reference in New Issue
Block a user