Git WordPress workflow for Local Development to Staging Site

This guide shows a Git WordPress workflow and demonstrates version control using Git from a local development environment on macOS to a staging site web server. For the Database control and pushing to staging, we will use WP Migrate Pro. A second remote repo for a production server would also need to be added in a real-world scenario. This…

Read More

Script a WordPress Valet Install on macOS – bash/wp-cli/wp-cli-valet

valet-cli-wp

By creating a bash script with wp-cli and wp-cli-valet commands on macOS you can create a streamlined and tailored WordPress install using Valet on your local development, this reduces repetitious tasks after a site installation – similar to a blueprint in other WP local developments. The type of tasks may include: Adding and activating a theme…

Read More

Background Images Disappearing in Beaver Builder on Site Deployment

background-images-beaver-builder

Having a WordPress website built with Beaver Builder may lose its CSS background images when deploying from one location to another, this may be from local/staging to production or swapping between webhost environments. This can be typically resolved by nuking the Beaver Builder cache either via the Dashboard > Settings > Page Builder > Cache Or…

Read More

Install and set up wp-cli WordPress on shared and local hosting

WordPress has a command line tool called wp-cli which operates similar to what Drush does for Drupal, it runs on OSX/Linux operating systems with a minimum of PHP 5.3.2 or later and WordPress 3.5.2. This guide will go through getting and installing wp-cli and basic usage it covers for either a local or production server environment. Install wp-cli curl…

Read More