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

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

How to add shortcodes dynamically to a WordPress Post or Page

Here is a code example of how to add shortcodes dynamically to a WordPress Post or Page. Why do you want to do this? It happened that I had a request from a client to only show an introduction part of the description section and hide the rest with a “read more” feature. I found…
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

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

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

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. &nbsp; <h2>What is the best…
Read More

Speed up WP_Query requests to only return what is needed from the database

Here is a nice tip when you would like to speed up your database query for a given page. When you make a query for certain specific data in WordPress, WordPress by default will return ALL the data in an object. 95% of the time it is not required to return all the data from…
Read More

Bazaarvoice WordPress and WooCommerce Integration Setup

I have quite a bit of experience performing Bazaarvoice integration into a WordPress(custom posts articles, product catalog) & WooCommerce setup. I have done this setup for a couple of clients over the last two years. My code is dynamically loaded, following WordPress best practices, onto each page. Bazaarvoice will supply you with 2x Workbenches.: Staging…
Read More

Why WordPress custom development take up to 10 times longer.

On the odd occasion, we get customers who supply us with a budget and deadline for a project upfront. “This can’t take more than 1 or 2 hours and it should not cost so much”. If only some problems would take 1 to 2 hours… WordPress is developed and design to provide a great User…
Read More

Consultations – Why is this so important?

Why a consultation is so important. I do understand why some clients do not see the value in a consultation session. It is because they don’t understand what value it could bring to the table. All they see is a risky unnecessary expense where in fact this is the single most important stage to the…
Read More
wpengine logo

Why I recommend WPEngine WordPress Hosting to customers

WPEngine is a service I became fond off that truly delivers and just works out of the box. I have used numerous hosting environments and companies over the years. Hosted some website myself for clients. WPEngine has crafted a hosting platform geared towards WordPress websites that delivers good results in the hosting space. It’s WordPress…
Read More

Add a custom variable in a Email or PDF template.

Ever wondered how those {{custom variables}} in email or pdf templates get replaced by a dynamic variable value? Just a quick run-down what a custom variable is. A custom variable is a placeholder where you want to add a username or email address dynamically to a template file or document. You might have noticed these predefined custom…
Read More

WooCommerce Coupons Customer Info

In this tutorial I will show you how to include customers details (name or email address) next to WooCommerce Coupons under the admin interface in WooCommerce so that you can see who used coupons with a purchase.
Read More

Google Calendar API – add more fields

The other day I was busy integrating the Google Calendar API for a events website and after working with the API you begin to realise how limited your are with the fields the Google Calendar API makes available to you. It only returns limited fields that is available for a event. In the article I am going…
Read More

WordPress hooks 101

In this article I am going to explain WordPress hooks 101. WordPress hooks are areas inside code made available to you to add functionality or change values without physically changing the original software’s code. Code that is connected by hooks can also be disabled and replace by other code. With the use of hooks your code…
Read More

Best practices updating WordPress, WooCommerce & Plugins.

In this guide I will explain to you how to use best practises in updating WordPress, WooCommerce & Plugins so that you don’t have a dilemma on your hands if you have a website that operates live and crashed because of a update.
Read More

WordPress or WooCommerce crashed

So your are currently staring at a blank screen / page of death and can’t understand what is going on with WordPress or WooCommerce? Well for starters you did not lose information or any settings. What happened is that WordPress is upset about something, something is causing WordPress to crash.
Read More

WooCommerce Stock availability text

In this tutorial I will show you how to change the WooCommerce Stock availability text and explain how it works. You will be able to change the text of “In Stock”, “Only ‘some quantity’ left” & “Out of stock” by following this simple how to guide.
Read More