Welcome to WP Beaches

WordPress Websites design specialists, based in the Northern Beaches, Sydney
Design, Develop, Host

RECENT POSTS

Disable Lazy Loading in WordPress with a filter

Disable Lazy Load WordPress

Since WordPress 5.5, lazy loading for images was implemented, this improves the perception of page load as the image is only loaded once in the viewport window. You may not light it as it can have a jarring effect as the sudden load as you scroll or find that you have a clash with another…

Add a ‘Continue Shopping’ Button to Woo Commerce Checkout and Cart Page

By default WooCommerce Cart page does not have a ‘Continue Shopping’ or ‘Return to Store’ button. However if you go to the cart page when the cart is empty, there is a  ‘Return to Store’ button. We just need to add this button code to the cart page when the cart has items. This can be…

Apple Minimum System Requirements for macOS BIg Sur 11 – Is yours good enough?

Macos Big Sur 11 Minimum System Requirements

Find out if your Apple computer meets the minimum system requirements of the latest macOS Big Sur 11. Apple have released their latest operating system in June 2020 and named it macOS Big Sur, which will be version macOS 11. The name Big Sur continues on with their California landmarks with the name after a…

Add WooCommerce add to cart button and quantity field to Shop archive page

Add Products To Cart Archive

Here is how you can add WooCommerce add to cart button and quantity field/form to Shop archive page. You may have just a bunch of linked products on the shop page but want to add a quicker way for a customer to add products to cart.   Depending on your WordPress theme the add to…

Stop WooCommerce taking over lost password URL

Wordpress Lost Password

When you have WooCommerce installed, it hijacks the lost password URL with /my-account/lost-password/ you can revert to the original WordPress lost password URL by removing a filter to your themes functions.php file /** * Remove WooCommerce /my-account/lost-password so default WordPress one can be used */ remove_filter( ‘lostpassword_url’, ‘wc_lostpassword_url’, 10 ); Now the default lost password…

Add an Alpha RGBa Color Picker to a WordPress Plugin Input Field

WordPress uses the Iris Color Picker as a tool which you can select a color for an input field in a plugin or theme or customizer, out of the box you can only add a hex color and not an Alpha RGBa color type that supports transparency. There are a couple of ways around this…

Change @WordPress from email address and from name sent out from website

Change Default From Email Address

WordPress sends a few emails out from a website including password reset emails that have a from email address [email protected] they also have a from name of WordPress. Two WordPress filters can change these values wp_mail_from and wp_mail_from_name – add the below code in your child themes functions.php and change the appropriate values. add_filter(‘wp_mail_from’, ‘prefix_email_from’);…

Making A Boot USB Disk of macOS 10.9 – 10.15 via Terminal and GUI

Osx 109 Mavericks System Requirements

This guide deals with 3 ways of making a boot disk from macOS, the first one is the fastest and is done via the Terminal from a command in macOS called createinstallmedia, the other 2 are older ways are done with a mixture of finder using Disk Utility and command line. The first way can support…

Block wp-login.php and xmlrpc.php via fail2ban on RunCloud

Fail2ban WordPress Runcloud

How to ban IP addresses that are brute forcing your wp-login.php and xmlrpc.php with fail2ban on a RunCloud server.   Add a WordPress fail2ban filter Create a wordpress.conf file in /etc/fail2ban/filter.d/ [Definition] failregex = ^<HOST> .* “POST .*wp-login.php ^<HOST> .* “POST .*xmlrpc.php ignoreregex = If you just want to ban only one of them just…