Welcome to WP Beaches

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

RECENT POSTS

Installing Homebrew on macOS Ventura or Monterey, Package Manager for Linux Apps

Homebrew Macos Bigsur

The easiest way to install a number of Unix style applications and open source software onto macOS Ventura, Monterey, Big Sur, Catalina, Mojave and earlier Sierra OS versions is via a package manager, unfortunately, macOS Ventura doesn’t come with one, but fortunately, some good folks care, they come in the form of Homebrew. The install…

Restart Start Stop MySQL Server from Command Line, macOS, Linux

Mysql Mariadb Restart Start Stop

To restart, start or stop MySQL or mariadb database servers from the command line, type the following at the shell prompt… On Linux start/stop/restart from the command line: /etc/init.d/mysqld start /etc/init.d/mysqld stop /etc/init.d/mysqld restart Some Linux flavors offer the service command too service mysqld start service mysqld stop service mysqld restart or service mysql start…

Redirecting a Web Folder Directory to another Directory in htaccess

Redirecting Domain Htaccess

Redirecting within the same domain Using htaccess in your root level of your web server, how you redirect one page to another is: RewriteRule ^url-string-to-redirect$ http://www.yourdomain.com/your-new-url-string [R=301,L]

Make an Alias in Bash or Zsh Shell in macOS with Terminal

Macos Alias Commandline

To make aliases of macOS Unix commands in your bash or zsh shell on macOS and earlier versions, it is done via your .bash_profile or .zshrc file which lives in your home account directory, if the file does not already exist, just create one. As of macOS 10.6 Catalina and its successor Big Sur, Apple…

How to Add to the Shell Path in macOS Big Sur and Catalina using Terminal

Osx Modify Shell Path

The shell path for a user in macOS is a set of paths in the filing system whereby the user has permissions to use certain applications, commands and programs without the need to specify the full path to that command or program in the Terminal. So instead of running something like this, with a path to…

Set up Cache Warming on RunCloud with Optimus Prime

Optimus Prime Cache Runcloud

Here is a tutorial on adding a cache warming tool: Optimus Prime on a RunCloud instance, your site will need to have an xml sitemap similar to the one provided by Yoast WordPress SEO. RunCloud also has preloading as an option in their Runcache plugin, the Optimus Prime cache warmer can help when that is…

Keep Github Original Repository and Forked Repo in Sync via the command line

syncing-git-hub-fork

This tutorial looks at keeping a GitHub fork in sync and updated with the original repository, it involves forking a repo from someone else’s account to your GitHub account, making a local copy of your fork via the command line,  and then fetching any changes of the original repo and then pushing those changes back…

Remove WooCommerce CSS Styles and Scripts From Pages That Don’t Need It

woocommerce-css-styles

WooCommerce loads three core CSS style sheets on every page and post when installed on a WordPress site. You can save a bit of page load time here by removing the styles and scripts from pages and content that do not need it . It also loads a bunch of other javascripts and CSS styles…

Image Carousel Thumbnail Slider with SwiperJS and ACF in WordPress

Here is a guide on how to make an image carousel thumbnail slider with SwiperJS and ACF in WordPress. (I have done a similar tutorial with LightersliderJS but that library is no longer updated). Using SwiperJS, I just want to display simple thumbnails below the main image which on click/touch show the image in the…