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,4 +1,4 @@
<article @php post_class() @endphp>
<article @php(post_class())>
<header>
<h2 class="entry-title"><a href="{{ get_permalink() }}">{{ get_the_title() }}</a></h2>
@if (get_post_type() === 'post')
@@ -6,6 +6,6 @@
@endif
</header>
<div class="entry-summary">
@php the_excerpt() @endphp
@php(the_excerpt())
</div>
</article>