Hello,
Firstly I would like to apologise for such a simple question however I am new to Kirby and have only been using it for 1 month. I am making a test website to try out the possibilities and and functions. All in all its going well and I’ve been using the cookbook to create the custom block of the podcast.
All in all its going really well and I’ve used this to start creating my own custom block.
However…
I can’t seem to add the snippet from the plugin into a template to see the result in the frontend.
Here is a section from my “index.php” in the plugin folder.
‘snippets’ => [
‘blocks/audio’ => DIR . ‘/snippets/blocks/audio.php’,
when i try to include the snippet in the template to see the result it doesn’t show up in my browser.
<?php snippet('/snippets/blocks/audio.php') ?>Where am I going wrong? any help would be greatly appreciated