Engineering
How our senior WordPress engineers work: modern practices, the WordPress community and how we train. Meet our partners and the 40Q Academy.
Building a User-Friendly Menu in WordPress Without Relying on NavWalker
How many times have we hit our heads against the wall trying to edit a WordPress NavWalker? This class, based on the abstract Walker class, is impractical, and editing menus exactly the way you want is usually a complicated task. To avoid this, we are going to use a Composer package that allows much greater […]
Building a React App Using WordPress as a Headless CMS
We are increasingly used to seeing complex, dynamic, and reactive interfaces. CMS platforms like WordPress make building these types of interfaces a bit harder with the tools they provide by default. This led to the emergence of the Headless CMS concept. In other words, using only the CMS content management tools and consuming an API […]
How to Deploy a Roots Project to DigitalOcean
In the first post of the series, we already saw how to create a local Roots project from scratch. Another major strength of Roots, and Trellis in particular, is that it allows us to install an optimized WordPress server using just a few commands. If you want more control over the server, DigitalOcean offers droplets […]
Dockerizing Laravel. How to Create a Laravel Development Environment Using Docker
Now that you understand how Docker works and some of the tools it provides, it’s time to put everything into practice. To do that, we’re going to create a Laravel project and run it using Docker. Project analysis Whenever we start a project, we need to think about which tools we’ll initially need in order […]
How to Install Composer 1 and Composer 2 Side by Side on macOS
While most projects will likely use Composer 2, there are times when you need Composer 1 to make changes to an older project that was originally built using Composer 1. The most common way to handle this is by switching versions using an update. To switch to Composer 1: composer self-update --1. To switch to […]
Introduction to Docker
It works locally. It works in staging. Which version are you using? Did you install service X? These are some of the questions and comments we usually hear within the team when everyone sets up their environment independently, and as a result, we all end up with different environments. I’m sure that if you have […]