templates/ -> resources/views/
This commit is contained in:
13
resources/views/partials/content-single.blade.php
Normal file
13
resources/views/partials/content-single.blade.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<article @php(post_class())>
|
||||
<header>
|
||||
<h1 class="entry-title">{{ get_the_title() }}</h1>
|
||||
@include('partials/entry-meta')
|
||||
</header>
|
||||
<div class="entry-content">
|
||||
@php(the_content())
|
||||
</div>
|
||||
<footer>
|
||||
{!! wp_link_pages(['echo' => 0, 'before' => '<nav class="page-nav"><p>' . __('Pages:', 'sage'), 'after' => '</p></nav>']) !!}
|
||||
</footer>
|
||||
@php(comments_template('/resources/views/partials/comments.blade.php'))
|
||||
</article>
|
||||
Reference in New Issue
Block a user