Welcome to WP Beaches
WordPress Websites design specialists, based in the Northern Beaches, Sydney Design, Develop, Host
Our WorkRecent Posts
How to compress and uncompress files and folders in the Terminal in macOS Monterey

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

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

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

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 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…
Restrict WooCommerce Shipping Calculator to Specific Countries and States

Here is how you can restrict specific Countries and States in WooCommerce Shipping Calculator, so a user can only select from what is available.CountriesThe Countries field is handled inside WooCommerce General Settings. Change the ‘Selling Location’ to ‘Sell to specific…
How to make both City and Postcode fields required in WooCommerce Shipping Calculator

Both the City and Postcode/ZIP fields in the WooCommerce Shipping Calculator are not compulsory for the user to fill in, you may need them mandatory for a better user experience to calculate certain shipping conditions.Both the Suburb and Postcode fields…
Change the Additional Information Placeholder Text field in WooCommerce

You can change the WooCommerce Additional Information placeholder text field in the checkout page with the woocommerce_checkout_fields filter.Use it in your themes functions.php file like so…add_filter( ‘woocommerce_checkout_fields’ , ‘wpb_custom_additional_info’ ); // Change placeholder text in Additional Notes function wpb_custom_additional_info( $fields…
Minimum System Requirements for macOS Monterey 12, can your Mac run it?

Find out if your Apple computer meets the minimum system requirements of the latest operating system, macOS Monterey 12, can your Mac run it.Apple have announced their latest operating system in June 2021 and named it macOS Monterey, which will…