Change WooCommerce Price to be by Weight

woocommerce-by-weight

You can change the WooCommerce price to be by weight by appending some text after the actual price such as ‘per kg’, this can be done by manipulating 3 filters that display the price in the shop/product page, cart and checkout pages; woocommerce_get_price_html woocommerce_cart_item_price woocommerce_checkout_cart_item_quantity If all items were to be classified as ‘per kg‘…

Read More

WordPress Custom Fields Missing When ACF is Active

acf-missing-wordpress-custom-fields

When the plugin ACF or ACF Pro 5.6.0 is active the native WordPress Custom Fields on post, pages or CPTs is not visible and gone missing. If you disable the ACF plugin the custom fields are visible again. The functionality to hide the WordPress custom fields was introduced in ACF version 5.5.13 but then made…

Read More

Replacing the default ServerPilot Firewall with your own using UFW

serverpilot-custom-firewall

ServerPilot comes with a default firewall enabled when you connect to a droplet instance such as from Vultr or Digital Ocean, the only option you have from the ServerPilot control panel is to toggle if on or off. The actual firewall used is called UFW (uncomplicated firewall) which is a simplistic wrapper over the underlying IP…

Read More

Add System Font Stack to Customiser Preset in Beaver Builder Theme & Plugin

system-font-stack-beaver-theme

A system font stack is a series of fonts that are native to Apple, Windows and Linux desktop and mobile operating systems, they are inbuilt so are fast to load and provide a relatively comfortable and consistent display across different mediums. Beaver Theme 1.6.2 has added some additional filters that allow extra fonts to be…

Read More