On occasion I need to host a PHP static website. This is typically while the customer is working on a new WordPress site and simply needs to keep their legacy site live until the new one replaces it. A good option for handling these sites would be to host with a cheap MediaTemple GRID account.
Previously I’ve wrote about using a ruby script to automate fetching data from WP Engine’s portal. Recently that script broke due to WP Engine changing how their login process works. While it might be possible to fix, let’s look at bypassing the login process completely. This involves using a real browser to login first then
When it comes to local WordPress development, I’ve been split between 2 different tools Laravel Valet and Local by Flywheel. Valet is really fast however Local just works. Well meet Local Lightning. It’s a completely remade version of Local by Flywheel which runs super fast and just works. Goodbye virtualization, hello native software Local by
I recently switched my primary computer from a Macbook Pro to a Surface Laptop. My WordPress development environment is now primarily contained within WSL which is the Linux portion of Windows. WSL’s filesystem isn’t exposed to Windows which means my development environment is not automatically picked up by Backblaze, my personal backup solution. Here is
This week I did the unthinkable. After 10 years using iMacs and Macbook Pros for WordPress development, I purchased Microsoft’s newest Surface Laptop 3. Part of the move was to downsize from a 15″ laptop to a smaller 13″. However that’s not really what this purchase was about. It’s a big deal to switch OS
I recently had a customer who needed to fetch and import files from a remote SFTP server on a scheduled basis. The import process was handled nicely by WP All Import, so no need to do any custom code there. The only part missing the was actual SFTP fetching. Here is how I accomplish using
I previously wrote about taking website screenshots with gowitness. That works great for basic website screenshots. However my most recent project required full page screenshots which, unfortunately, gowitness does not yet supported. It’s also unlikely to be added anytime soon. Under the hood, gowitness simply uses headless Chrome which itself doesn’t support full page screenshots.
Migrating a WordPress site is generally a straightforward process. Make a backup of the current site, upload files, and import database onto the new web host. Moving a large website requires extra handling. Have you ever attempted to move a site with 100GB of storage? Tell me, how did that go? Of course migrations do
A good way to begin using object oriented PHP classes is by writing everything in a single .php file. That’s completely fine for small WordPress projects. For large projects a single file quickly becomes a disorganized mess. I know from experience building CaptainCore. 🧐 Take a peak at this one gigantic PHP file before I
This post is part of a series called “Learning Vue.js as a WordPress Developer” Part 1 – Getting Started Part 2 – Structured PHP, Rest API and Axios Part 3 – Markdown and WordPress Embeds Part 4 – Authenticated Rest API With Vue.js you fetch new data in by making web requests to WordPress. Here