Marinus Klasen

Marinus Klasen

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

VS Code showing errors for functions in WordPress core?

November 8, 2021

I literally got used to Visual Studio code highlighting function names from WordPress core when working in environments that don’t include the WordPress Core files. Quite disturbing actually – especially when you have code sniffers setup and follow WordPress Coding Standards. Well, today I noticed it again and did some research. Apparently, there’s an easy […]

Continue Reading

Importing a database from the command line

November 5, 2021

Error: Failed to get current SQL modes. Reason: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (13) In the example above, I couldn’t get wp db import (WP CLI) to import a database since a different mysql.sock was used. The solution We can use the mysql command to import the database […]

Continue Reading

Setting PHP versions in Deployer deployments

November 1, 2021

Sometimes your terminal environment (where you SSH into) uses a different PHP version then that you need. Most hosting companies do have several PHP versions available. But how do you use them, and more importantly, how do you set the right one when deploying new versions with Deployer? The errors you can run into In […]

Continue Reading

Bulk deleting options in WordPress database

October 28, 2021

Since I wanted to test how my plugin would function without data, I needed to clear some ACF created options from the database. ACF creates a whole bunch of options using a very similar name, in my case; options_mc_creator_mailchimp_api_key _options_mc_creator_mailchimp_api_key options_mc_creator_mailchimp_server And lots more.. I like using WP CLI for this but WP CLI doesn’t […]

Continue Reading

Control Spotify from the command line in Ubuntu

October 21, 2021

I like automation, I really do. Especially when it comes down to the atmosphere. I moved to an office recently and when I walk in I want things to be in motion; In this specific case I want music to be playing already when I come in. I would love it if the lights and […]

Continue Reading

Generate a plugin install link in WordPress

October 8, 2021

Below you’ll find a function that generates a plugin install link for WordPress. You can use this in the dashboard. This link acts the same way as the “Install plugin” buttons when searching for plugins within WordPress. $url = wp_nonce_url( self_admin_url( ‘update.php?action=install-plugin&plugin={plugin_slug}’ ), ‘install-plugin_{plugin_slug}’ ); Replace {plugin_slug} with the actual plugin slug, like ‘sympose’, ‘akismet’, […]

Continue Reading

Hiding unwanted javascript console warnings and notices like JQMIGRATE and migrateWarn

September 17, 2021

Honestly – sometimes I just want to see clean console output, but with frameworks and platforms like WordPress you can’t always control all libraries used and how they use the Web developer console. Most of the times, these console warnings are not essential for the work that i’m doing but I do want to see […]

Continue Reading

Get expert advice, talk to a consultant.

September 15, 2021

I’ve had many occasions in which I tried to figure something out myself. This is fine as long as you have time, but if you’re limited on time your best best is usually to talk to someone that has the expert knowledge that you’re looking for. I did this before when I was figuring out […]

Continue Reading

Adobe Premiere: Re-linking converted media with a new extension

September 15, 2021

You might’ve read my blog post about converting MOV files to MP4 with FFMPEG. Now, before converting these files I was already working on a project in Premiere. The MOV files were impossible to work with so I ended up converting them. But, the clips were already cut down as they should and I definitely […]

Continue Reading
  • « Previous Page
  • 1
  • …
  • 6
  • 7
  • 8
  • 9
  • 10
  • …
  • 12
  • 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?

  • Elementor Widget UsageMarch 27, 2025
  • Programmatically showing popups with ElementorMarch 25, 2025
  • The Elementor sanitize_settings errorSeptember 12, 2024
  • Announcing.. Wooping Shop Health!June 13, 2024
  • Swiper setup when using wp-scriptsMarch 14, 2024

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