I haven’t used Swiper in a while, and while setting it up this time, I noticed the slider was not playing automatically. After some investigation it appeared to need some modules, loaded from swiper/modules. I’m using @wordpress/scripts with the watch command, like below: The slider works beautifully with the following snippet:
Offloading your WordPress Media Library to Cloudflare R2
I’ve setup Cloudflare R2 for a project a while back and noticed that there’s not much information on how to offload media to R2. R2 is compatible with Amazon S3 storage, so we can use existing plugins to tackle this for us! Let’s start with downloading S3-Uploads, from here: https://github.com/humanmade/S3-Uploads If you’re not familiar with […]
Exporting Spherical 360 images from Sketchup to the web
We’re working on something exciting! Recently, me and a few industry colleagues have been looking into exporting 360/equirectangular images directly from Sketchup to the web. I took a deep dive into the mechanics of Sketchup and figured out a way to export Sketchup scenes to the web in one click. A few years back I […]
Delete a pending user from WordPress
It’s definitely not the first time that I ran into this situation; A user was added to the website without checking the “Skip confirmation email” checkbox. Now, we’d like to force this user into the website and just send a login and password over, but now we get the message: That email address has already […]
Disable the ‘Password Changed’ Email notification in WordPress with a filter
Since I didn’t find a solution for this within a second after performing a web search and was recommend other ‘solutions’, here’s the solution to actually fix this; fast. You can add this line to your functions.php or in a separate plugin, whatever works best for you 🙂
A-Frame: Change an objects color on hover
A-Frame is quite fun to work with, but it takes a while to get into.. As I’m doing a project in A-Frame at the moment, you’ll probably see some more insights on this library on my blog in the next couple of weeks. Special thanks to Diarmid Mackenzie for helping me out in the A-Frame […]
Connecting to a Cloudways application with VSCode
If you’ve read my blogs before than you probably know that I like to keep it short. So here you go; In this case {HOSTNAME} refers to the SSH hostname, if you connect with ssh [email protected] than the hostname is domain.com. {SERVER_ID} and {APPLICATION_ID} can be found by connecting to SSH and then running the […]
Force refresh PHP-FPM or Litespeed cache
The other day I ran into an issue while deploying new code to the Dutch Hosting Platform Antagonist. It seemed like Symlinks were not refreshed when a new release was pushed, resulting into unexpected issues like broken links to assets and PHP code not updating. These issues were immediately resolved by changing the PHP version. […]
Only return zip/postal codes from Google Places AutoComplete Javascript API
It’s been a while, and it took me a while to get Google Maps Places to return only zip codes, so I’ll share a little code snippet so that you can fix it within a quick search!
- 1
- 2
- 3
- …
- 12
- Next Page »