How To Setup Amazon S3 Permissions For WordPress Backups

Many people use Amazon S3 to store the backups from their WordPress websites. Most of the good backup plugins integrate with Amazon S3. All you have to do is input your Amazon Access Key ID and Secret Access Key. The way their accounts are setup leave many people’s Amazon accounts wide open if someone were

When The Elementor Editor Is Blank, How Can You Fix It?

A site I build some time ago had problems after one of the recent Elementor updates. We don’t know which update caused the problem, because Elementor is only used on the home page, which isn’t changed very often. The fix was simple, but not intuitive. When you get the “Elementor White Screen of Death”, there

How To Fix WordPress

WordPress generally runs smoothly, but as with any system, things can go wrong. There are some common fixes that will solve most of the problems you’ll encounter. How to fix WordPress: Turn on debugging Check for a .htaccess problem Check the PHP version Check the WordPress memory limit Increase the Maximum Execution Time Save the Permalinks Clone the

How To Update The PHP Version on cPanel

With PHP 5.6 reaching the end of support recently, now is a good time to write a refresher on how to update to a more current version. How to update the PHP version on cPanel: Take a backup of all the sites on the server Log in to cPanel Look under Software for “PHP Selector” or “PHP Manager” Choose the domain to

Find The Nearest Location From An Array of Coordinates In PHP

As I discussed in previous tutorials, we have the visitor’s latitude and longitude, and an array of locations. Now we can combine the two to figure out which location in that array is closest to our starting coordinates. What is the fastest way to find the nearest location out of an array of coordinates? Import the array of coordinates Based on the array of coordinates, create another array

How To Hide A Column On Mobile Or Tablet In Elementor

There are times when you need to hide a column on Elementor for mobile or tablet devices. This is not something that Elementor shines at, and implementing it is a little counter-intuitive. How do you hide a column on mobile or tablet in Elementor? Right click on the column, Click Edit Column, Select the Advanced Tab, Add

How To Create A Countdown Timer In WordPress Without A Plugin

Countdown timers are very useful on things like sales pages or event listings. Most of the decent page builders have great looking countdown timers, but sometimes you just want something that looks a specific way and does exactly what you need. Fortunately it’s pretty easy to create a countdown timer in WordPress without a plugin:

Get The Current Archive Category Type In WordPress

The template I was using ran several, different, custom categories through the archive.php template. I needed to hook in some code to just one type of category, but not the others. I needed some way to test the current archive category type, but all the hooks were too generic. After much messing about, I figured

How To Find A Visitor's Latitude And Longitude Using jQuery

I needed to fetch a visitor’s coordinates, then pass them into a form, which then displayed local businesses in their area. The first part was just getting their latitude and longitude. How do you find a visitor’s latitude and longitude using jQuery? Get the visitor’s permission to access their location Use the JavaScript Geolocation API to get the GPS position from the visitor’s device, or

How To Convert A CSV File Into An Array In PHP

I had a CSV (comma separated value) file that listed all the suburbs in Australia, along with their postcode, latitude and longitude. I needed it saved in a file as an array for a project I’m doing, but didn’t want to have to run multiple regex queries, especially if I needed to use it on