Should you combine or enqueue Javascript project files?

In a previous post we covered what the best way was to include jQuery in WordPress. In this post, I’m going to talk a little more about the best ways to include Javascipt files. When your doing a lot with Javascript, you can end up with a few scripts/libraries supporting your custom script. You might…

Read More

Why I switched to Gumroad from WordPress to sell my themes

When I wanted to sell my themes on my own site, I started out with Easy Digital Downloads combined with various EDD extensions. As time went on, I got more interested in creating maintainable websites. Building websites with a group of plugins is a great way of bootstrapping a website quickly. Which is good for…

Read More

Install and manage MySQL on Mac using Homebrew

My favourite way to run MySQL on mac is via Homebrew. It’s quick to get the latest stable version and it’s easy to run it. It also means that the commands are generic and not dependant on what version of the Mac OS you’re using.

Read More

Hosting, Why we recommend a manage VPS server.

Hosting request is one of the requests that come up with every new estimate that involves a website build, migration or if a site is slow. There is many hosts and many hosting packages to choose from. If you don’t have the technical experience this can become overwhelming quite fast.   What is the best…

Read More

WordPress Child Theme. Why you need it.

Having a WordPress child theme setup is one of the most important setups on your website, especially if it has WooCommerce installed. It prevents the loss of any custom changes done on your site with the next theme update. How does a child theme work? A child theme is a copy of your parent theme,…

Read More

How to add extra features or content into Page Builders.

Add extra features or extra content to a page builder if that page builder “module” does not have that functionality you are looking for by the means of code via the WordPress’s shortcode API. Page builders are not my preferred tool and I would rather code templates than use a page builder. For the novice…

Read More

Best practices for adding jQuery or Javascript to WordPress

How to make sure your jQuery code is compatible with WordPress, theme’s and other plugins. WordPress installations these days are loaded with many plugins. To make sure that your custom plugin, that contains jQuery/Javascript, does not break other plugins it is important to wrap your code in their own private containers. Page functionality can break…

Read More

Run WordPress locally using the inbuilt PHP server

Something I really like about developing with other languages / frameworks is that many of them have servers built in. This is very convenient, so it was frustrating not having this with WordPress. Over the years I have run WordPress in many different ways, MAMP, MAMP Pro, LAMP, XAMPP, Flywheel, Vagrant, Docker etc. But all…

Read More

Running WordPress locally on Linux or mac with WP CLI

There are a multitude of ways to run WordPress locally. One of my favorite and simplest ways is to use WP CLI. The WP CLI provides command line tools for WordPress. In a previous article, I covered how to run WordPress using just PHP and MySQL, no Apache or Nginx. In this article I’m going…

Read More

Markdown for WordPress

I love markdown, I much prefer to stay in the editor rather than having to click the GUI for formatting, or learning key combos, which still involves selecting text. So what can you do if you’re also a Markdown lover and you hate not being able to use it in WordPress? Well good news, there…

Read More

Can you develop on a Chromebook?

I switched my main Macbook pro out for a Chromebook for a week. This is how I got on. I picked up a Asus Chromebook flip for £147 on Ebay. This was a little over a 10th of what I paid for my Macbook Pro that was a year old at the time, £1300. Why…

Read More

Part 1 – Why do websites need maintaining?

What is maintenance? Cars require maintenance, if you don’t maintain a car, like fixing things when they are unsafe or broken, adding coolant, adding oil, then you can break down or be involved in an accident. If you don’t maintain a house then, you could incur greater costs from the damage that causes to your…

Read More

Show Random WooCommerce Products from a Category

A custom WooCommerce extension script, called via a shortcode, to show a list of random products from a category. This script was actually created for a client who uses the Avada theme. The Avada theme overrides most of the WooCommerce product display shortcodes with their own library so it makes certain parameters unavailable. This script…

Read More