How do I add a class when fetching this default snippet?
<?php snippet('coverimage', $article) ?>
Also, what just having the $article
does as opposed to having array('article' => something)
?
How do I add a class when fetching this default snippet?
<?php snippet('coverimage', $article) ?>
Also, what just having the $article
does as opposed to having array('article' => something)
?
2 posts were merged into an existing topic: Passing variable to snippet not working