Enable the root user in macOS Monterey and earlier macOS versions

Enable Macos Root User

Here is how you enable the root user in macOS Monterey and earlier macOS versions, the macOS root user is disabled by default when the OS is installed.As an admin user launch System Preferences from the Apple Menu and go to the User and Groups pane, you…

Using wp-cli commands to create and import WordPress databases

Commands Wpcli Wordpress Tables

You can use wp-cli to do a number of tasks around the WordPress database including creation and importing, below are a few commands and what they do.Remove all existing WordPress tableswp db resetThis will remove all existing WordPress tables and…

Reset Forgotten Admin Password on macOS Monterey and macOS Big Sur

Macos Forgot Password

The passwords for all accounts on macOS Monterey 12, Big Sur 11.2, Catalina, Mojave, macOS High Sierra and Sierra, OSX 10.11 El Capitan, OSX 10.10 Yosemite, OSX 10.9 Mavericks and OSX 10.8 Mountain Lion including admin and standard user accounts…

Add full screen window canvas to back to icons when searching in Beaver Builder

Beaver Builder Full Icon Canvas

In a recent Beaver Builder update the canvas size for an icon search was humbly shrunk as some users didn’t like the vast open lands of icon city.With a bit of CSS code injected into the backend, the icon canvas…

Completely hide WooCommerce products from shop, product search and WordPress search

Hidden Woo Products Showing in search

You can hide a WooCommerce product from the shop page and product search by choosing ‘Hidden’ in the ‘Catalog visibility’ options from the Publish metabox on a product page in the backend. This is good and it hides the product…

How to compress and uncompress files and folders in the Terminal in macOS Monterey

Compress Files Osx Terminal

Since macOS is based on Unix there are a number of ways to compress files and folders within the filing system using Unix based application code, below are a few options using the Terminal or command line interface (cli). The…

Set noindex nofollow on posts from specific category using Yoast WordPress SEO

Wordpress Seo Noindex Certain Posts

Using the Yoast WordPress SEO filter wpseo_robots filter you can set posts from a specific category to have the meta tag set with noindex/nofollow.add_filter( ‘wpseo_robots’, ‘yoast_seo_robots_remove_single’ ); /** * Set certain posts to noindex nofollow */ function yoast_seo_robots_remove_single( $robots )…

Remove add to cart button on WooCommerce products that belong to a certain category

Remove Add To Cart Specific Products

Here is some code to allow you to hide the Add to Cart button on WooCommerce products that belong to a certain category, so if the product page is viewed by a customer they will be unable to add the…

Disable WooCommerce Payments credit card/debit card gateway on Checkout

Multiple Stripe Gateway Woocommerce

To use Apple Pay as a payment gateway on WooCommerce, you’ll either need the older Stripe or newer WooCommerce Payments plugin the latter being more heavily promoted by Woo and WordPress.When using the WooCommerce Payments plugin which is powered by…

Send Full Product Details over WooCommerce Webhook Action Hook

Woocommerce Webhook Action

WooCommerce has a webhook feature that allows you to send product data to a webhook url when a certain product status is made. The configuration of the webhooks is at WooCommerce>Settings>Advanced>WebhooksThe product states to choose from to fire the webhook…