Marinus Klasen

Marinus Klasen

  • WordStress
  • Development
  • Consultancy
  • Developer Resources
  • Blog
  • Contact

Swiper setup when using wp-scripts

March 14, 2024

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:

Continue Reading

Offloading your WordPress Media Library to Cloudflare R2

March 11, 2024

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 […]

Continue Reading

Exporting Spherical 360 images from Sketchup to the web

February 1, 2024

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 […]

Continue Reading

Delete a pending user from WordPress

October 31, 2023

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 […]

Continue Reading

Disable the ‘Password Changed’ Email notification in WordPress with a filter

August 30, 2023

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 ๐Ÿ™‚

Continue Reading

A-Frame: Change an objects color on hover

August 24, 2023

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 […]

Continue Reading

Connecting to a Cloudways application with VSCode

August 15, 2023

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 user@domain.com than the hostname is domain.com. {SERVER_ID} and {APPLICATION_ID} can be found by connecting to SSH and then running the […]

Continue Reading

Force refresh PHP-FPM or Litespeed cache

August 4, 2023

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. […]

Continue Reading

Only return zip/postal codes from Google Places AutoComplete Javascript API

July 19, 2023

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!

Continue Reading
  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • …
  • 13
  • Next Page »

Get in touch

Contact me using the details below

Marinus Klasen

Wilhelmina van Pruisenweg 35, 2595 AN Den Haag

marinus@mklasen.com
twitter.com/marinusklasen
linkedin.com/in/marinusklasen

  • GitHub
  • LinkedIn
  • Twitter

Have you read?

  • AirPod low volume in one ear? Try blowing into it before replacing itAugust 8, 2026
  • What I’ve been building.. CTX7August 6, 2026
  • Backup a full server to Hetzner Storage BoxesJanuary 2, 2026
  • Music I loveDecember 29, 2025
  • Running Github Actions and Workflows LocallyAugust 25, 2025

Copyright © 2026 ยท Marinus Klasen | Webdesign by Team Rood