Adding a public-facing page with a shortcode
This commit is contained in:
11
templates/front/custom-page.blade.php
Normal file
11
templates/front/custom-page.blade.php
Normal file
@ -0,0 +1,11 @@
|
||||
@extends('layouts.front')
|
||||
|
||||
@section('content')
|
||||
<p>Here is the content of the blade file, it will show in place of your shortcode.</p>
|
||||
<p>Here are the attributes you passed in:</p>
|
||||
<ul>
|
||||
@foreach($shortcode['attributes'] as $key => $val)
|
||||
<li>{{ $key }}: {{ $val }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endsection
|
Reference in New Issue
Block a user