♻️ Check wp_link_pages before rendering in content-single.blade.php (#3157)
Co-authored-by: Brandon <brandon@tendency.me>
This commit is contained in:
@@ -11,9 +11,13 @@
|
||||
@php(the_content())
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
{!! wp_link_pages(['echo' => 0, 'before' => '<nav class="page-nav"><p>' . __('Pages:', 'sage'), 'after' => '</p></nav>']) !!}
|
||||
</footer>
|
||||
@if ($pagination)
|
||||
<footer>
|
||||
<nav class="page-nav">
|
||||
{!! $pagination !!}
|
||||
</nav>
|
||||
</footer>
|
||||
@endif
|
||||
|
||||
@php(comments_template())
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user