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 […]
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.
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.
On a project I needed to redirect a URL based on the presence or absence of a URL parameter. This is the htaccess rule I added.
The Allow / Block popup in Google Chrome is an all too familiar sight when browsing the web, however this can be prevented. We can change the setting to automatically Block all location requests (they will not be able to see your location) without seeing the popup.
One of my posts was shared and it did not have an image for the Twitter Card. After I added an image for the Twitter Card, I had to clear the cached version on Twitter so the image would appear in tweets. This is how I cleared the cache and updated the image in the URL for Twitter.