Use hyphen in view paths as delimiter for fallback views
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
@section('content')
|
||||
@while(have_posts()) @php the_post() @endphp
|
||||
@include('partials/content-single')
|
||||
@include('partials/content-single-'.get_post_type())
|
||||
@endwhile
|
||||
@endsection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user