I’m working with snippets for a website.
I have a template for my navigation menu, each time I call it with :
<?php snippet('nav') ?>
But i have another page with a different styling, so i’d like the change my
nav class in order to style it with css differently (or at least add another id).
I’ve tried :
<?php snippet('nav', ['class' => 'somethingelse']) ?>
but I must be doing something wrong, right?