How to…

Hiding a Shipping option for certain products or categories

Posted on: February 13th, 2023 by Stuart

Sometimes you might need to hide one or more shipping option(s) for a particular product or category. This code will do this, all you need to do is add it to your themes Functions.php file. In this example, I am hiding the shipping option called “Free Shipping“. You can get this from the database table […]

How to Find & Fix your Hacked Website

Posted on: January 9th, 2023 by Stuart

If you think or know your website or Web App has been hacked here are some useful commands to find out more.For this document, I will assume you have a dedicated server or VPS with an SSH connection available. Connect to your server using SSH and in turn, enter the following commands. If any result […]

Debug WordPress Scripts

Posted on: October 29th, 2022 by Stuart

Let’s say you have been looking at the many JavaScript scripts that WP loads and you would like to stop some from loading to help speed up your site. Now, this obviously could cause your site to not perform how it should, so it would be handy to see any errors when you stop a […]

Load JavaScript on Desktops only

Posted on: October 24th, 2022 by Stuart

The code below will only load these JS files if the screen is larger than 480px.

How to get and update WooCommerce Regular and Sale prices with or without a post ID

Posted on: June 22nd, 2022 by Stuart

If you simply just want to get to the commands, that’s cool here are the links to take you right there. If you prefer to read what the commands do, keep reading… Display Regular and Sale prices on the Product page Display Regular and Sale prices within the Functions.php file or plugin Updating WooCommerce Price […]