WordPress Real Estate Website

Many clients on the web these days that are into real estate. They want to offer their customers a user friendly and good looking website showing them all the real estate they have on offer. The choices out there and also in the WordPress community are huge. So what to choose and who to work […]

Convert Visual Composer Based WordPress Theme for speed

Each week we answer one or multiple Upwork job vacancy questions here on WP Villain. Here is Post I on a WordPress theme built with Visual Composer that has become slow and needs to be converted into a faster site with a better theme setup. We are currently running a WordPress theme that was heavily […]

Display Content w/o Title in WordPress

Sometimes you need to display the WordPress post content, but you do not want to display the title. This as you do not need it or simply because because you display it elsewhere on your page and do not want to repeat yourself. You can then of course hide the title with CSS but it […]

Sage 9 Error: Failed because of a stylelint error.

If you get an error like $ webpack –progress –config resources/assets/build/webpack.config.js Error: Failed because of a stylelint error. at linter.then (/Users/jasper/code/alarsite/wp-content/themes/alar/node_modules/stylelint-webpack-plugin/lib/run-compilation.js:39:14) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. And you wonder what the issue is just run the following command yarn run lint:styles That will tell you […]

Trellis DO SSL Upgrade

To do a Trellis DO SSL Upgrade to have your Digital Ocean Droplet run Trellis with all secure https SSL urls several steps will need to be taken. Let me take you through them. Backup Digital Ocean Droplet Snapshot of server as a backup via Digital Ocean Control Panel. This will take 10-20 minutes on […]

Show all Database Users in Trellis

Sometimes you want to show all users in Trellis. Just to be sure a certain database user is there. I for example keep on forgetting the database username generated based on the group_vars/group/vault.yml. And I need it to access the database properly with Sequel Pro . So how do we do this? SSH into Box To […]

WordPress Multisite Database Migration

Recently we did a WordPress Multisite Database Migration on Trellis. All is pretty straightforward files wise though we did have to do some extra media work using a volume. The database on the other hand was a bit more problematic. WP CLI Database Import & URL Replacement Using wp-cli and aliases for the import and replacement: […]

Update Trellis like a Pro

professional

Here a quick blog post how to update Trellis like a pro. Requirements Here are some requirements or basically tips before you get started Trellis should be in its own repo not together with Bedrock/Site Always make sure you’re working in a Git repo Make sure all your work is committed Use a great IDE […]

MariaDB on Trellis Failed to Start – /usr/bin/mysqld_safe: No such file or directory

Post Digital Ocean restart to deal with security patches for vulnerabilities (Spectre and Meltdown Mitigation )MariaDB on Trellis failed to start. So the site failed to connect to the database and went down. MariaDB Down MariaDB was down and restarting it failed suggesting us to check journalctl -xe for more information. In the journalctl -xe […]

WooCommerce Checkout Sendgrid Issue

We had a WooCommerce Checkout Sendgrid Issue on one of our Trellis servers. Payments did work, but no feedback was sent to client or very late. No confirmation of successful sale was given. This is very inconvenient obviously so we checked out what was the issue and solution. We soon found out WooCommerce and Sendgrid […]