De Belser Arne Profielfoto

Arne De Belser

Building-a-WordPress-caching-plugin-from-scratch
PHP

Building a WordPress Caching Plugin from Scratch – Full Advanced Tutorial

In this tutorial, we will build a caching plugin for WordPress from scratch. We will start by creating a settings page in the WordPress admin, where we can enable or disable the caching functionality. Next, we will add hooks to cache the page and save the cached output to disk. We will also add a method to clear the cache and display a link in the admin top bar menu. Finally, we will modify the caching functionality to only run when users are not logged in, to prevent cached content from being displayed to logged-in users. By the end of this tutorial, you will have a caching plugin that can improve the performance of your WordPress site.

Read More »
Building a WordPress Caching Preloader from Scratch - Full Advanced Tutorial
PHP

Building a WordPress Caching Preloader from Scratch – Full Advanced Tutorial

In this tutorial, we’ll walk you through the creation of a basic cache preloader plugin in WordPress using PHP. While this plugin can help improve the performance of your site by preloading and caching pages, it is important to note that this example is not ready to be used in production. Instead, it is intended for learning purposes only, to demonstrate the advanced concept of a cache preloader and help you understand how to implement it in your own plugins.

Read More »
How to make any theme/plugin compatible with Polylang
Elementor

How to make any theme/plugin compatible with Polylang

This is a relative quick (1 hour) tutorial in which I try to explain in clear language how you can write your own custom Elementor widgets. I’m tackling a somewhat complex example in which we use both PHP for the back-end and Javascript for the front-end.

Read More »