hana+nils hana+nils

snippetWhen Helper

snippetWhen is a helper function to conditionally embed snippets.

Manual

Download

… and extract the folder to site/plugins/snippetwhen-helper

Composer

Git Submodule

snippetWhen('article', $category->isNotEmpty())
Version
1.0.1
License
MIT
Stars
7
Implements
Latest releases
Kirby support
  • Kirby 5
  • Kirby 4
  • Kirby 3
More