Remove post format reference in template call
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
@endif
|
||||
|
||||
@while (have_posts()) @php(the_post())
|
||||
@include ('partials.content-'.(get_post_type() !== 'post' ? get_post_type() : get_post_format()))
|
||||
@include ('partials.content-'.(get_post_type() !== 'post' ?: get_post_type()))
|
||||
@endwhile
|
||||
|
||||
{!! get_the_posts_navigation() !!}
|
||||
|
||||
Reference in New Issue
Block a user