With Kirby Modules you can make the content of your Kirby site modular. It allows users to create custom editorial pages that are composed of multiple content modules such as body text, galleries, pull quotes or maps.
What is a module?
A module in the context of this plugin is:
- A blueprint and a PHP snippet together with other optional files and assets that define the module’s code.
- A subpage in the content directory that uses the module’s blueprint.
One content page can have multiple module subpages of different types and module subpages can contain images or other files depending on the module type. These module subpages can be reordered in the Panel like other pages. The order in the Panel defines the order on the page. They can also be set to “invisible”, which hides them on the page as well, so they can be used as drafts within a page.
You can find a demo of how such a module looks like on the
Download and further information:
You can of course install the plugin with the Kirby CLI:
kirby plugin:install modules-plugin
Thank you to @sashtown for the inspiration.
We are looking forward to your feedback!