Microhooks Are Here
Mythos now supports microhooks, a customization system that lets you add content to specific spots throughout your theme without worrying about losing changes when updates come out.
The idea is simple: create a template file in your custom theme with a specific name, and Mythos will automatically include it in the right place. Want a newsletter signup after every post? Create microhook-after-post-content.html
. Need a site-wide announcement? Use microhook-after-header.html
.
It’s the same system I built for my Tiny and Sumo themes, and it’s proven to be really useful for people who want to customize without getting into the weeds of theme development.
The microhooks are completely optional and non-destructive. If something doesn’t work the way you want, just delete the file and you’re back to normal.
I’ve added 10 different microhook points throughout Mythos, covering everything from individual posts to home page customization to replacing the entire CSS if you’re feeling ambitious.
You can read more about it in the microhook documentation.