Home Menu
  • My WordPress Plugins

Kau-Boys

Webdevelopment and more

  • Twitter
  • GitHub
  • WordPress
  • RSS Feed
  • RSS Comments

  • German
  • English

Posts Tagged ‘PHP’

  • May 25, 2025
  • 0 comments

Implementing a custom block style variation using only JSON files

For a small project, I’ve implemented my first Block Theme (that I finished) using the Create Block Theme plugin. In the PDF with the design, there was a “round button”, which made me wonder on how I would implement it. … Read more →

  • Posted in: Web development
  • July 9, 2023
  • 0 comments

Different methods to debug PHP code

This week, I was asked for help setting up Xdebug with PhpStorm on a Linux laptop in combination with Docker. I might write about that in an upcoming blog post, but today, I want to focus on different methods to … Read more →

  • Posted in: Web development
  • May 14, 2023
  • 0 comments

Nested functions in PHP and why you should avoid them!

This week, I reviewed the code of a website. The website was using some code snippets. In one of those snippets, I’ve found a PHP nested function. The code didn’t work as expected. Not because of the nested function, but … Read more →

  • Posted in: Web development
  • April 7, 2023
  • 1 comment

Handling timezones – how not to do it!

Last week, I had quite an interesting issue to deal with. The site had a custom post type for webinars. When you are registered, you were supposed to see a “Join” button some minutes before the webinar starts. There was … Read more →

  • Posted in: Web development
  • December 28, 2022
  • 0 comments

Adding markers to a satellite image

In the previous blog posts, I have shown you how to add a marker for a GPS coordinate to an SVG image. In this case, we calculated the x/y pixel position and have drawn an SVG circle or marker path. … Read more →

  • Posted in: Web development
  • December 22, 2022
  • 0 comments

Geo coordinates to pixel positions – build a map with your own images

This blog post will be a start of a little post series. For a project, I recently had to add markers of cities to a map of Germany. I did that manually in the past, but as the maps has … Read more →

  • Posted in: Web development
  • December 17, 2022
  • 0 comments

Fatal errors on WordPress with PHP 8+ and an incorrect translation

Last week, I got a report about a broken site, that caught me a bit by surprise. I’ll recreate the issue with a dummy plugin here, so show what went wrong. When navigating to the page with the error, this … Read more →

  • Posted in: WordPress
  • September 24, 2022
  • 1 comment

Update all composer dependencies to their latest versions

If you code in PHP, changes are very high that you are using composer to manage your dependencies. At one point, you will add a dependency. The version you’ve first installed can be updated with a single command, but it … Read more →

  • Posted in: Web development
  • May 27, 2022
  • 2 comments

Make changes to PHP ini values without losing them on an update

If you have ever set up a server yourself, you probably realized, that the default values for PHP don’t really work for modern websites. The upload_max_filesize is set to only 2 MB, which means that you cannot upload anything into … Read more →

  • Posted in: Web server
  • December 5, 2021
  • 1 comment

Debugging PHP functions in WordPress

When developing a plugin or theme, you sometimes want to debug one specific function. This function might be used in a larger context, which makes debugging quite difficult and/or slow. Let’s take the example of a function used in a … Read more →

  • Posted in: Web development
← Older entries

Portrait Bernhard Kau

 

My name is Bernhard Kau. I am a PHP developer, living in Berlin and a passionate WordPress user. I code plugins as a hobby and organize WordPress events, like the Meetup in Berlin.

Work with me!

In 2022, I have joined Syde. Being a remote company since 2006, Syde truly believes in remote work. So while you cannot hire me as a freelancer, you can join Inpsyde, the only WordPress VIP Gold Agency Partner in Germany, to work with me and some 130+ amazing people from around the world.

 

You can read more about me and my way to Syde on our team blog. If you love WordPress as much as I do, want to grow your expertise and make an impact on the most significant projects in the WordPress ecosystem while working 100% remotely from anywhere in the world, then check out the current opening for Sales Manager at Syde! 😎 👇

job listing for a Sales Manager at Syde

Recent Posts

  • Implementing a custom block style variation using only JSON files
  • Adding a custom panel to Query Monitor
  • Prevent hotlinking of premium fonts
  • Redirect attachment pages to media files
  • How to make a navigation menu more accessible by adding a label

Recent Comments

  • 14 plugins for the block editor, Gutenberg 20.8, Studio 1.15.1, Woo 9.9 and more - Weekend Edition 330 - Gutenberg Times on Adding a custom panel to Query Monitor
  • varun on Debug submission errors in Contact Form 7
  • Compiling SASS in PhpStorm automatically with a file watcher - Kau-Boys on Getting started with SASS
  • Robin Mcconnell on Debug submission errors in Contact Form 7
  • Redirect attachment pages to media files - Kau-Boys on How to get rid of the “-2” suffix on a page
I'm a CD Table Lead - WordCamp Europe Basel 2025

Categories

  • Advent calendar
  • Database
  • Hardware
  • Misc
  • Shortcut
  • Software
  • Uncategorized
  • Web development
  • Web server
  • WordCamp
  • WordPress

Tags

A11y Administration Advent Calendar AJAX Apache Blocks CSS Debugging Docker Font Forms FSE Git Gravity Forms Gutenberg HTML HTML5 JavaScript JSON Linux Maps Misc Multisite nginx Operating systen PHP PhpStorm Plesk Plugin Privacy Prototype SASS Security Server Shortcut Software Subversion SVG Theme Translation Tutorial Windows 7 WordCamp WordPress WP-CLI
  • © 2025 Kau-Boys
  • Proudly powered by WordPress
  • Theme: Waipoua by Elmastudio
  • Home
  • Imprint
Top ↑