Use @php() instead of @php [...] @endphp
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<article @php post_class() @endphp>
|
||||
<article @php(post_class())>
|
||||
<header>
|
||||
<h2 class="entry-title"><a href="{{ get_permalink() }}">{{ get_the_title() }}</a></h2>
|
||||
@include('partials/entry-meta')
|
||||
</header>
|
||||
<div class="entry-summary">
|
||||
@php the_excerpt() @endphp
|
||||
@php(the_excerpt())
|
||||
</div>
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user