Are you looking to find out about how others are using Statamic in their projects? You've come to the right place...we're aggregating all the best Statamic content in one place.
Rob de Kort Posted on July 15, 2022
When working with collections like a portfolio or a blog you often want to list one or more posts on the homepage. My friend Philip Thygesen tipped me to use an entries field for this where the you can select an entry. If you don't select one it should fall back to the most recent entry in the collection. In this post I'll explain a quick and easy Antlers technique I started using a while back for incorporating this in my sites.
Alexander Stoffel Posted on July 03, 2022
A quick tutorial on how to create Hetzner volumes and use them as massive filesystems in Laravel and Statamic projects.
Rob de Kort Posted on June 14, 2022
For recent journal entries about SVG clipping masks and animating clipping masks I wanted to render actual code examples in the article to show the reader what the end result of the tutorial would look like. Since I use the Tailwind CSS JIT compiler my website ships with a CSS file that contains only the classes that are actually being used in my template files. That seems very restricting as I would probably always use some unavailable class in my examples. So I came up with a solution that utilizes the Tailwind Play CDN to live parse the code snippet and return the CSS needed
Rob de Kort Posted on May 30, 2022
For the Nieuw Allardsoog website Meinte Strikwerda drew a beautiful illustration of the estate. The goal of this post is to make the below illustration interactive, zoomable, and filled with interactive points of interest.
Rob de Kort Posted on May 25, 2022
In Statamic it's pretty easy to handle responsive images using Glide and Antlers. I initially wrote this post over two years ago for Statamic v2 and it's proven to be the most visited page of my website. For my new website I decided to give it an update. Here we go.
Rob de Kort Posted on May 22, 2022
Alt texts are very important for accessibility (a11y) and search engine optimization (SEO). Visually impaired users often make use of screen readers. It's software that interprets and reads out the contents of a website. Images of course can't be read out. So it's important to add so called alt texts to them. They also help search engines crawl and interpret the contents of your website.
Alexander Stoffel Posted on May 06, 2022
Static caching gives your site a speed boost, but it can also lead to inconsistent content. Here's how you automatically clear exactly the right pages from your static cache.
John Koster Posted on May 04, 2022
There are rare situations where being able to reference a variable dynamically would make your life much easier (such as dynamic alt text). Antlers Runtime supports dynamic variables, and this article covers their usage.
Alexander Stoffel Posted on April 30, 2022
WordPress has themes, Statamic has starter kits - both let you set up a new site quickly, but the approaches are quite different. Here are the main distinctions you should keep in mind when moving from WordPress to Statamic.
John Koster Posted on April 22, 2022
Managing prefixed imported fieldsets can sometimes be challenging when attempting to create reusable partials. However, the Antlers Runtime version provides ways to make this easier using the
Alexander Stoffel Posted on April 11, 2022
Static Caching gives your site a speed boost, but sadly it also breaks any forms you may have. Here's how you can have the best of both worlds.
Alexander Stoffel Posted on April 07, 2022
A quick look at how we can use the standard Statamic forms but add our own submission handling to create a custom newsletter signup form.
Jay George Posted on April 05, 2022
Installing a local environment for Statamic with a script file (dotfiles), with all the gnarly bits left in where I stumble and try to course correct.
Alexander Stoffel Posted on April 02, 2022
Deploy tools are a godsend when you create websites for a living. Here's how Ploi.io can save you a ton of time when working with Statamic.
Maciek Palmowski Posted on April 01, 2022
In this guide, I will introduce you to the basics of Statamic and explain how to build and deploy the changes and how to convert it to a static website.
Andy Griffiths Posted on March 30, 2022
Join Andy as he dives into building with Statamic, moving from another content management system, Concrete5
Duncan McClean Posted on March 29, 2022
At Steadfast Collective, we recently released our first Statamic addon. The addon allows users to export content as CSV files.
Alexander Stoffel Posted on March 19, 2022
Hardly any website would be usable today without some sort of caching - let's take a look at all the ways Laravel and Statamic cache information to help your website's performance.
Rias Posted on March 10, 2022
Statamic 3.3 has added some additional improvements to their Blade templates support, which makes using Statamic together with Laravel's native Blade templates truly a joy to work with.
Arlind Musliu Posted on March 09, 2022
How to utilise Laravel and Statamic Events for different use-cases in your projects. In this example we cover how to dump all your posts in a json file on every entry save.
Alexander Stoffel Posted on March 08, 2022
Static caching is a great way to increase your website performance, but it does present some obstacles. Since the entire site is served as HTML, it's not possible to show random content to the user with Antlers. Let's look at some workarounds.
Alexander Stoffel Posted on March 04, 2022
By default, any asset you upload to your Statamic control panel can be accessed by anyone on the internet. Here's an easy way to make sure only authorized users can download them instead.
Alexander Stoffel Posted on February 26, 2022
Using Tailwind CSS when creating your Statamic site gets stuff done in no time. You can work even faster - and save a bunch of conditionals - by simply telling Tailwind to also check your fieldsets for classes used.
Alexander Stoffel Posted on February 19, 2022
Sometimes you might want to not include certain parts (like tracking scripts) in your site when viewing the live preview. Here's how this can be achieved using a custom Antlers tag.
John Koster Posted on December 12, 2021
Implements a system that allows site visitors to leave "reactions" on entries utilizing Antlers and a small amount of custom PHP code.
Duncan McClean Posted on June 22, 2021
When pairing Statamic & Laravel Vapor together, there's a couple of things you'll need to watch out for - covered in this post.
John Koster Posted on February 20, 2021
A comprehensive guide on integrating Laravel Spark with Statamic. Covers installing Spark, and protecting content behind a pay-wall.
Rias Posted on February 05, 2021
Art direction is nothing new, though there hasn't been an easy way to do it with most CMSs yet. Statamic, with the help of the spatie/statamic-responsive-images addon now offers an author- and developer-friendly way doing Art Direction with images.
Duncan McClean Posted on April 14, 2020
This post walks you through the process of building a Statamic Likes addon, from bootstrapping to writing the code and setting up tests.
Steven Grant Posted on January 27, 2020
Steven walks us through what it looks like to deploy a Statamic 3 instance to a live web server.
Steven Grant Posted on January 22, 2020
Steven walks us through setting up a local Mac development environment for Statamic 3.