• If you are bit more hands on like me, then you’ll most likely benefit from being able to see hidden files and folders, on your Mac. There isn’t a small setting for this so the easiest way is to run a simple command in terminal. Don’t worry, it’s not hard or complicated. First up let’s […]

  • connect to woocommerce update nag

    Let’s remove “Connect your store to WooCommerce.com to receive extensions updates and support.” In the lates WC 3.3.1 update, WooCommerce keeps nagging you to connect your store to woocommerce.com If for some reason you don’t want to and it’s annoying you, then you can turn it off by putting the following filter snippet into your […]

  • .DS_Store files are really annoying on Mac. If you’ve uploaded a heap of them onto a webserver like me, then worry not! There’s an easy way to remove them all from your VPS server. This should work on most linux machines, Mac OS.

  • I was exicted to use the site importing feature in Local by Flywheel (localhost development software for WordPress. It should be as creating a zip of the site and make sure the .sql file in the root directory, of that zip. Just drag and drop the zip into Local’s window and watch it work! Local […]

  • Centering veritally with CSS can be a challenge at times, but not with easy snippet. Make sure the parent class has a relative postion. You can then create the child content to be centered within the parent. This CSS trick centers vertically and horizontally while being 100% responsive. CSS Centering Snippet [cc lang=”css”].parent { position: […]

  • This snippet allows you to get the WordPress feature image and use it as a background. Style it using the css class feature-bg. Remember to put the code around your content in your WordPress Template files. The code will dynamically take the feature image thumbnail if the current post has one.

  • My Atom installation wasn’t allowing me to beautify PHP in the editor. So if you are having the same issue then don’t worry! It’s simple to install PHP-CS-Fixer on Mac High Sierra. First we will need to run a couple of commands to download and install PHP-CS-Fixer. You can find the lastest info in the […]

  • Disable Spotlight on Mac

    Spotlight on MacOS can be heavy on the CPU usage. If you want to switch it off you then you will have to run a command in the terminal. Spotlight does provide some very nice functioniality, I don’t use spotlight itself. I use Alfred 3 which uses the same index data. If you disable Spotlight […]

  • Sometimes we want to display dynamic content based on where the visitor has come from. The place where the vistor link your website link from is called a “Referer”, so when someone clicks your link on Google, then Google is the referer. Using PHP we can target users coming from Google, we can then show […]

  • The sticky payment section in the Storefront Theme can be a little buggy. Sometimes it’s best to remove it. Here is how to make WooCommerce payment section non sticky. Just drop the code into your child themes functions.php