You can skip the required PHP version with ignore-playform-reqs This can be helpful if you’re running composer outside of your virtual machine (and your virtual machine has the correct PHP version but your host machine does not) composer install –ignore-platform-reqs
Recently I was working on a site using Advanced Custom Fields (ACF) but the field input boxes had stopped working. In the browser console, I saw the error ACF Uncaught TypeError: Cannot read property ‘id’ of undefined Advanced Custom Fields and Select2 Advanced Custom Fields uses the Select2 library (version 4), however another plugin was […]
In PHP 5.5 the DateTimeImmutable class was introduced. Immutable objects are nice in that they can not be modified, which helps reduce the likelihood I make certain types of errors. This is how to ensure the DateTime you’re working with is immutable.
The editorconfig project allows you to standardize general coding standards on a project.
I was working on a project where I needed to follow the PHP PSR-2 standard. This is the .editorconfig file I used.
When trying to add my the dkim DNS TXT record for my domain (to authenticate outgoing emails) in Amazon’s Route 53, I received the error message: “CharacterStringTooLong (Value is too long)”. This is how I fixed it.
When working with Git on the command line, I spend a lot of time switching back and forth between two branches. Even with Git tab completion, it is a lot of typing. However Git has a shortcut for the previous branch, a single dash (-).
I was working on one Git branch and I wanted a file from another branch. Using git checkout, we can do this.
How to get your Genesis Child Theme to load style.css with a cache busting ver URL parameter based on the version defined in the header of style.css.
When posting a tweet with multiple links, I found Twitter used the last link for the Twitter Card despite what the documentation says.