Welcome to WP Beaches

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

RECENT POSTS

Difference between a Symbolic Link and a Finder Alias in macOS

Symbolic Link Alias Macos

A Symbolic or Soft Link is a traditional Unix link to an original file or directory which  can reside anywhere on the filing system, the linked file when opened as a file or directory has the same contents as the original and if you edit the linked file or add content to the linked directory…

Filter & Change WooCommerce ‘Place Order’ Text Button on Checkout Page

Change Woocommerce Place Order Button

You can filter and change WooCommerce’s ‘Place Order’ Text Button on the Checkout Page using the filter woocommerce_order_button_html   The default mark up of the Place Order checkout button is: <button type=”submit” class=”button alt” name=”woocommerce_checkout_place_order” id=”place_order” value=”Place order” data-value=”Place order”>Place order</button> You can use the filter like so: add_filter( ‘woocommerce_order_button_html’, ‘custom_order_button_html’); function custom_order_button_html( $button )…

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, especially using the correct defaults for a cPanel domain or other web server for files…

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 the code in your functions.php – the example uses the a new checkbox field named…

A look at various types of CSS selectors and differences between them.

Css Cascade

CSS styling can get very specific and you can target less classes and IDs in the HTML markup, and instead target cascading HTML elements – here we take a look at the various CSS Selectors, and give some simple examples of how the selector is written and what it targets. Descendant Selector The descendant selector…

Install Git on macOS Big Sur and earlier with Homebrew or Packaged File

Install Git Macos

You can install Git on macOS Big Sur, Catalina, Mojave, Sierra, or an older Mac OSX version by a couple of options, one is to use Homebrew to install Git by installing Homebrew first and then issuing: brew install git You can also download install a easy to install package file getting the latest git…

Remotely connect to Amazon S3 Bucket from the macOS command line

Amazons3 Macos

Connecting your macOS to AmazonS3 storage buckets. This process requires a couple of Unix tools installed, s3cmd and gpg (optional), s3cmd is the command line tool used to connect to Amazon S3 and gpg is an optional secure tool allowing data transfer to be encrypted over HTTPS between you and Amazon. This guide uses Homebrew…

Set up Virtual Hosts on macOS Big Sur 11 in Apache

Macos Apache Vhosts

Setting up Virtual Hosts in Apache on on macOS Big Sur is straight forward after you have your local Web Development environment up and running – get your web development up and running first including Apache, PHP and MySQL on macOS following this macOS Big Sur Apache/PHP/MySQL guide here if required. This guide will also…

Create an FAQ Page with Show and Hide Questions and Answers using jQuery

Faq Page Using Jquery

This guide shows how to create a basic expandanle/contractable FAQ page using jQuery, html and CSS. Just click the steps below to see the code or refer to the whole code snippet at the end. The CSS supplied is very basic to get the page started. What jQuery do I need? Include the latest jQuery…