-
How to connect to multiple GitHub accounts on the same computer?
Let’s Find the Problem First I have two GitHub accounts—one for personal use and another for work. I want to use both accounts on the same computer without repeatedly entering…
-
Saving the ACF JSON file locally to your Theme or Plugin
Storing ACF JSON files locally allows you to maintain version control over your custom fields, making it easier to track changes and collaborate. Creating an acf-json Directory Create a Directory:…
-
DropShadow and Box Shadow
When you work with transparent images you can use the drop-shadow filter function to create a shadow on the image’s content, instead of box-shadow property which creates a rectangular shadow…
-
Sleep is a Best Debugger: Why Rest Helps You Solve Coding Problems Faster
I couldn’t count the number of times I’ve been stuck on a frustrating coding problem for hours—debugging, tweaking, and testing with no solution in sight. Only to come back with…
-
Automate your WordPress Cron
We all know WordPress Cron(wp-cron) can be unreliable if left on the default WordPress setting. The WordPress default behaviour on maybe I will run maybe not for wp-cron in a case of sites with less traffic. There…
-
TAKE CONTROL OF CSS
CSS is stands for Cascading Style Sheets, and it controls what the content of the site looks like. The key to understand how CSS works is to imagine that there…
-
How to remove WordPress default block patterns?
WordPress provides developers with the ability to manage block patterns efficiently. Here’s how you can remove default block patterns or unregister specific ones. Removing All Default Block Patterns To remove…
-
How to create custom MU plugin?
WordPress offers a powerful way to extend functionality using plugins. While standard plugins require activation, Must-Use (MU) plugins are automatically enabled once placed in the designated folder. MU plugins are…
-
How to hide trailing zeros from product prices
To hide trailing zeros, just use the filter woo-commerce filter
-
Get post type in block editor
If you want to get post type in a block editor script, you can use the following code to get the post type: