Apply Filter to Specific User

What if you need to apply a certain filter for a certain user? What could you do to achieve this? Well, there is too things we would have to look at. The user we want to work with and the filter to use. User Capabilities Add User Role User Capabilities Check if user has a […]

Thrive Architect Page Export Requested

Been working for an Australian customer more recently and for several of her website she use the Thrive Architect Page Builder. Not a bad page builder though I prefer Elementor. Though both are not bad and have similar downsides I bumped into one main pain in the b*tt using Thrive Architect. Export Trap I had […]

Add SSH Keys to Trellis Post Launch

Sometimes you want to work with other developers post launch on a Roots Trellis project. In those cases you need to only add these new users. And that means you need to add ssh keys to Trellis you did not add yet. Ansible Tags Fortunately you do not need to provision the whole server again. […]

Trellis Setup with Laravel Valet

We often prefer working with Laravel Valet over working with Trellis. This as Trellis runs Vagrant which runs VirtualBox. Very heavy all that while you could use Laravel Valet which uses the resources your Mac has and only needs some extras using Homebrew. Trellis Valet Driver Now, there is a package you can use to […]

Trellis NET::ERR_CERT_REVOKED

Since my new MacOS Catalina setup I bumped into multiple Trellis issues. Issues with loading the proper interpretor as well as loading the proper Ansible version for the setup. Final issue I had now was dealing with failed SSL certificates and to be more specific NET::ERR_CERT_REVOKED . NET::ERR_CERT_REVOKED So how to deal with this NET::ERR_CERT_REVOKED […]

Trellis ‘PlaybookCLI’ object has no attribute ‘options’

With latest Ansible we had an issue starting up / provisioning vagrant properly. It would not provision properly stating there was an attribute called options missing. Attribute Options Errors Got the following error doing a ansible reload –provision ERROR! Unexpected Exception, this is probably a bug: ‘PlaybookCLI’ object has no attribute ‘options’ Suggestion at Roots […]

Trellis Ansible Bad Interpreter Error

Recently upgraded to MacOS Catalina and zsh shell. Since the upgrade it seems we have Python 3 and no longer 2.x so to work with older Trellis setups using Python 2.7 you need a fix Bad Interpreter Error Error we got using Ansible was a bad interpreter error. Python 2.7 is not to be found: […]

Redirect Certain Categories to new site

Sometimes you want to redirect posts in certain categories to a new location / domain name. You do not want to redirect the entire website to a new website, but only part of it. This because you perhaps split up your website into multiple websites. Well you are in luck. With WordPress this is possible […]

Sage 9 Load Google Fonts

To load Google web fonts asynchronously in Roots Sage you can use the Typekit Web Font Loader and Google fonts of your choice. It allows you to load fonts with ease and async. Web Font Loader The script below will load two fonts of my choice. It needs to be added to main.js and then […]

Clean up hacked WordPress website

You never expect it to happen to your website. You think they will not be interested in such a small player like you. Why would they want to hack your website? Well, they do. Any website really and WordPress is the number one target. Just like Windows is the main operating system hack favorite, it […]