Reset Permissions to WordPress Site for Files and Directories

Wordpress File Folder Permissions

If your permissions are incorrect for files and folders in a webroot domain of a WordPress site more than likely you’ll get a server 500 error. Here is how to fix them by resetting the permissions via the command line,…

Add a required checkbox field in WooCommerce checkout page

Add Woocommerce Checkbox

Here is how you can add a required checkbox field in the WooCommerce checkout page that forces a user to checkbox the request before they can proceed to payment, similar to the terms and condition checkbox. WooCommerce Form Field Add…

Set up Swift Performance Cache with Optimus Prime in Local Mode

Swift Performance Optimus Prime

Optimus Prime is a cache warmer to load web pages faster on initial load by querying all pages on a websites sitemap via the sitemap URL, it works in harmony with a cache plugin preloading tool. Optimus Prime also has…

Set up WP Fastest Cache with Optimus Prime in Local Mode

Wp Fastest Cache Optimus Prime Local Mode

Optimus Prime is a cache warmer to load web pages faster on initial load by querying all pages on a websites sitemap via the sitemap URL, it works in harmony with a cache plugin preloading tool. Optimus Prime also has…

Make an Alias in Bash or Zsh Shell in macOS with Terminal

Macos Alias Commandline

To make aliases of macOS Unix commands in your bash or zsh shell on macOS and earlier versions, it is done via your .bash_profile or .zshrc file which lives in your home account directory, if the file does not already…

Remove WooCommerce CSS Styles and Scripts From Pages That Don’t Need It

woocommerce-css-styles

WooCommerce loads three core CSS style sheets on every page and post when installed on a WordPress site. You can save a bit of page load time here by removing the styles and scripts from pages and content that do…

Image Carousel Thumbnail Slider with SwiperJS and ACF in WordPress

Here is a guide on how to make an image carousel thumbnail slider with SwiperJS and ACF in WordPress. (I have done a similar tutorial with LightersliderJS but that library is no longer updated). Using SwiperJS, I just want to…

Add a CSS class to WooCommerce Shop Page

Woocommerce Add Css Shop Page

Using the filter body_class with the is_shop conditional you can target the main WooCommerce shop page by adding a CSS class. add_filter( ‘body_class’, ‘woo_shop_class’ ); // Add WooCommerce Shop Page CSS Class function woo_shop_class( $classes ) { if ( is_shop()…

Removing the Product Meta ‘Categories’ on a Product Page – WooCommerce

woocommerce-remove-product-meta-categories

WooCommerce product categories are displayed at the bottom of a product page just under the add to cart button. You can remove these from the layout by removing the woocommerce_template_single_meta action from the product summary, in your themes functions.php add in…

Upgrade/Downgrade website versions of WordPress with wp-cli

Downgrade Different Wordpress Version

You can use wp-cli to upgrade or downgrade to particular versions or releases of WordPress. See the installed version of current WordPress wp core version or with more info: wp core version –extra Update to latest version of WordPress wp…