fbpx

Tips, tricks, and other valuable WordPress knowledge to save you time and make you money!

Blog

PHP Try Catch not Catching All Exceptions

This is something that I’ve run into a lot while programming. I’ll create a try catch statement when attempting to access a resource from a third party API and there are 10 different exceptions that need to be caught in order to prevent a 500 error from being thrown. In some cases I want to…

Setup Laravel Locally

Step 1: Create a Database In order for your Laravel site to work locally, you will likely need to connect to a MySQL database in order to run migrations, access and store data, etc. You can either connect to a remote database or create a database locally. To connect to a remote database, skip to…

Slow Page Load After Visual Composer Migration

If you have just migrated a WordPress site that is using Visual Composer and running into some very slow page loading speeds, there are three methods that we have found to increase your WordPress site’s page loading speeds and overall performance. Method 1: Initiate Reset of Visual Composer In order to reset Visual Composer, hover…

Add WP-CLI to CPanel

WP-CLI has some incredible commands, and you should be able to use them on your CPanel hosted website. The following steps will allow you to add WP-CLI to CPanel with or without Sudo Access. Step 1: Login to CPanel and Open Terminal Typically, to login to a CPanel hosted website, you would go to yourwebsite.com:2083…

Fixing Visual Composer Issues after Migration

We recently migrated a client’s WordPress site to a new server. We had to change domain names for the WordPress site as a result of the migration. For this site, we built a custom WordPress plugin that used the Visual Composer Website Builder Elements API. However, we ran into issues with Visual Composer after Migration….

How to Scrape a Website using JavaScript

Did you know you can use javascript in the Chrome browser console to scrape data from just about any website on the internet? If you didn’t know, now you know! And we’ve got a cool example here that you can try yourself. We hate do things manually so sometimes when data is not quite in…

Non-Static Method Should not be Called Statically

I just ran into the non-static method should not be called statically error when building out some functionality for a client. In short, I needed to instantiate the class that I was using before running one of those class’ methods. See the initial code that threw the error and the code that fixed it below:…

Install WordPress Plugins

There are 4 main ways to install WordPress Plugins. However, we’re going to focus on showing you how to install and activate WordPress plugins from your WordPress dashboard. There are 3 steps involved in installing and activating WordPress plugins for your WordPress website. WordPress Dashboard: You can manually install WordPress Plugins via the WordPress dashboard…

Install WordPress Plugins via SSH

We show you the 4 simple steps to installing and activating WordPress plugins via SSH below. For the other ways to install WordPress plugins, see our Install WordPress Plugins post. Step 1: Connect via SSH In order to connect to your WordPress site’s server via SSH, a hosting provider may give you an SSH key…

Want to use our API?