In a previous post I outlined a method for hot reloading Statamic's live preview using Alpine's Morph plugin. It works, but there's an issue: Alpine components on the page don't re-initialise when…
Blog
Guides, tips, notes, and general ramblings.
Sometimes it's necessary to refactor your blueprints, for example if you decide that a field should be renamed or a set should have a different structure. While it's easy to edit the field…
The recently released field actions feature in Statamic allows you to add custom actions to built-in fieldtypes. By default actions apply to every instance of a particular fieldtype, and you can…
My Bard Texstyle addon for Statamic was recently updated with a new feature called Pins. These make it really easy to add custom elements within a line of text, like icons, footnotes, and dynamic…
Statamic 3.4.8 includes a fantastic PR by Tom Diggelmann that adds the option to send the live preview a post message on update, rather than fully refreshing the page. This allows you to update the…
Statamic’s Bard fieldtype stores values as ProseMirror documents, so if you’re importing existing HTML with a PHP script it makes sense to convert it to the nodes and marks Bard expects. This guide…
I’m excited to announce the release of Bard Texstyle 2.1 and the brand new Pro edition. Although 2.0 only just came out that was mainly a compatibility release for Statamic 3.4. This is a big release…
A quick reference for the different ways to get a value out of a Statamic entry, and what each one actually gives you back.
A couple of copy and paste snippets for importing entries and taxonomy terms into Statamic in bulk. Just swap in your own data and handles.