Many existing apps nowadays are offering the ability to display nearest records, these records can be user profiles, actual places or anything that can be linked to a location. This is certainly a useful feature and there is a high chance you’d need to make such an implementation, either for a client, or for your… Continue reading How to find closest locations using coordinates with SQL
How to highlight active links for one-page navigation with JavaScript
One of my clients wanted to highlight the currently active menu items from the navbar as the user scrolls through their one page website sections. I implemented the requested feature and I thought I would share how it was achieved. Here is a simple demonstration of the mentioned effect. Notes Let’s get started. First of… Continue reading How to highlight active links for one-page navigation with JavaScript
Rename WooCommerce in admin dashboard menu
When setting up a WooCommerce store, you might find yourself looking for a way to rename the WooCommerce label in WordPress admin dashboard to something else. There are different cases in which you’d need to make such a change, for me it was because I needed to hide WooCommerce reference from a custom user role… Continue reading Rename WooCommerce in admin dashboard menu
Automate cron job creation using a Bash script
There is a pretty straight forward way to implement cron jobs using Bash shell. However, it’s a manual process and it looks like this: Run `crontab -e` to open the current user crontab file using the default editor ( you need to select a default editor “nano, vim..” if it’s the first time ) Add… Continue reading Automate cron job creation using a Bash script
WordPress Git deployments for Kinsta via SSH
I’ve interacted with a number of different WordPress hosts over the last few years, but Kinsta has been the best by far in terms of support, performance, and security. Since I’ve been recommending Kinsta for every new client, I’ve decided I needed an easy & fast process to develop new features on my local server… Continue reading WordPress Git deployments for Kinsta via SSH