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

How To Schedule Follow Up Emails In WordPress

On a recent project, I needed to have a series of emails following up new users, prompting them to setup their profile. I couldn’t use Aweber, like I normally would, because the follow up emails had to stop when they completed their profile. That could happen at any time So how did I schedule follow

Responsive Column Ordering In Elementor

A popular web design technique swaps images and pictures as you go down rows on the page. It looks great on desktop, but often leads to a strange look on mobile. There needs to be a way to reverse the order of some columns. As I was building in Elementor, that’s what I’ll discuss here.