Documenting my ideas and insights on tech.
How to resolve openssl and curl errors when installing a package in Composer.
How to pass multiple parameters, along with the event object, from an event listener to an event handler.
How to find out what each field in Cloudflare rules means and what kind of value it returns.
Refreshing WordPress permalinks is very simple to do and can solve various problems with custom post types like 404 errors.
Learn how to fix the issue where you can’t add more than one item to a list block after updating to WordPress 6.1.
How to restrict the execution of a PHP script to CLI (Command Line Interface) only (so it doesn’t run through the browser).
Learn how to execute a PHP file remotely (using SSH) via a Bash script.
Different ways to automatically scroll to a particular HTML element on a page.
Learn how to automatically scroll to an element on a page only if it’s outside the viewport or hidden behind a sticky header.
Learn how to create smooth auto-scroll using one simple CSS property.
Learn how to execute (one or more) commands remotely (using SSH) via a Bash script.
Create a PHP function that retrieves the estimated reading time in minutes for a provided text. Learn how to implement this on a WordPress site.
Become a more efficient programmer by using the user snippets option in Visual Studio Code that lets you quickly insert your most frequently used code snippets.
In this post, we will focus on defining the CSS breakpoints that will be used to create a responsive design.
Why WordPress developers should follow this best practice of using a prefix in their code.
Use WordPress built-in Transients tool to quickly improve site performance.